struts+spring+hibernate的web应用 架构搭建
来源:互联网 发布:seo页面优化方案 编辑:程序博客网 时间:2024/05/18 03:42
导读:
插件:
tomcatPluginV31:用于tomcat项目建立和管理。
Properties Editor:struts中的资源国际化的中文编辑插件,不需要再用命令去转换文本格式了。
xmlbuddy_2.0.72:xml强大编辑器,而且是免费的。
GEF-SDK-3.2.2+tk.eclipse.plugin.htmleditor_2.0.4+tk.eclipse.plugin.struts_2.0.4:jsp页面编辑器,这个编辑器远没有myeclipse或者wtp等大型插件那么强大,但一是免费,二是占资源少的缘故,而且编辑一般的jsp页面也够用了,所以我觉得这个插件还凑合够用。
sqlexplorer_plugin_3.0.0.20060901:sql管理器,开源插件,比较好用,特别是针对mysql这种没有什么强大的sql图形编辑管理器的数据库来说。如果用sqlserver,这个插件也就可有可无了。
数据库:SQLServer 2000
首先是建库建表,
create database game
create table products(
game_id int primary key NOT NULL ,
game_name_cn varchar (100) NOT NULL ,
game_name_en varchar (100) NOT NULL ,
game_capacity int NOT NULL ,
game_version int NOT NULL ,
game_media int NOT NULL ,
game_copyright int NOT NULL ,
game_price decimal(10, 2) ,
game_content varchar (100)
)
开始搭架子了。
因为使用的是tomcatPluginV31,所以建议eclipse的工作空间选择tomcat的webapps目录。这样项目就不需要再部署了。
新建一个tomcat项目,新建->项目->java-> tomcat project,在项目名处,写”game”,点击完成。
接着新建一些包,如下图所示。
然后向WEB-INF/lib包中添加一些需要的jar,所需的jar如下图所示:
需要注意的是,这里hibernate3.jar是hibernate3.1,strust是strust1.x。
至此,项目基本搭建完毕,下一篇就开始写项目代码了。
struts+spring+hibernate的web应用<二> Dao层代码编写
千山鸟飞绝评论(11)编辑收藏Web开发
FeedBack:
# re: struts+spring+hibernate的web应用 架构搭建 祎恬凡
建议你把项目搞上Hibernate的annotation 回复 更多评论
# re: struts+spring+hibernate的web应用 架构搭建
建议早点把代码放到网上 回复 更多评论
# re: struts+spring+hibernate的web应用 架构搭建
源码 回复 更多评论
# re: struts+spring+hibernate的web应用 架构搭建
题目很好,很调人胃口,我见过这种组合的多种打建方式,可是自己就是不成
帮忙把源码贴上来吧
有时间多弄几种打建^_^
谢谢 回复 更多评论
# re: struts+spring+hibernate的web应用 架构搭建
可以尝试把struts升级 回复 更多评论
# re: struts+spring+hibernate的web应用 架构搭建[未登录]
eclipse居然用中文包 回复 更多评论
# re: struts+spring+hibernate的web应用 架构搭建 千山鸟飞绝
@eric
为什么不能用中文包呢? 回复 更多评论
# re: struts+spring+hibernate的web应用 架构搭建[未登录] 捕风
建议把spring升级到2.0,struts升级到2.0 回复 更多评论
# lib
可以把lib上传来吗?分几次???
回复 更多评论
# lib
特便是mssqlserver.jar 回复 更多评论
# re: struts+spring+hibernate的web应用 架构搭建
@千山鸟飞绝
用了中文包之后,好多功能不认识了..
建议还是用英文版的. 回复 更多评论
标题
姓名
主页
验证码 *
内容(请不要发表任何与政治相关的内容)
Remember Me?
本文转自
http://www.blogjava.net/rickhunter/articles/103481.html
插件:
tomcatPluginV31:用于tomcat项目建立和管理。
Properties Editor:struts中的资源国际化的中文编辑插件,不需要再用命令去转换文本格式了。
xmlbuddy_2.0.72:xml强大编辑器,而且是免费的。
GEF-SDK-3.2.2+tk.eclipse.plugin.htmleditor_2.0.4+tk.eclipse.plugin.struts_2.0.4:jsp页面编辑器,这个编辑器远没有myeclipse或者wtp等大型插件那么强大,但一是免费,二是占资源少的缘故,而且编辑一般的jsp页面也够用了,所以我觉得这个插件还凑合够用。
sqlexplorer_plugin_3.0.0.20060901:sql管理器,开源插件,比较好用,特别是针对mysql这种没有什么强大的sql图形编辑管理器的数据库来说。如果用sqlserver,这个插件也就可有可无了。
数据库:SQLServer 2000
首先是建库建表,
create database game
create table products(
game_id int primary key NOT NULL ,
game_name_cn varchar (100) NOT NULL ,
game_name_en varchar (100) NOT NULL ,
game_capacity int NOT NULL ,
game_version int NOT NULL ,
game_media int NOT NULL ,
game_copyright int NOT NULL ,
game_price decimal(10, 2) ,
game_content varchar (100)
)
开始搭架子了。
因为使用的是tomcatPluginV31,所以建议eclipse的工作空间选择tomcat的webapps目录。这样项目就不需要再部署了。
新建一个tomcat项目,新建->项目->java-> tomcat project,在项目名处,写”game”,点击完成。
接着新建一些包,如下图所示。
然后向WEB-INF/lib包中添加一些需要的jar,所需的jar如下图所示:
需要注意的是,这里hibernate3.jar是hibernate3.1,strust是strust1.x。
至此,项目基本搭建完毕,下一篇就开始写项目代码了。
struts+spring+hibernate的web应用<二> Dao层代码编写
千山鸟飞绝评论(11)编辑收藏Web开发
FeedBack:
# re: struts+spring+hibernate的web应用 架构搭建 祎恬凡
建议你把项目搞上Hibernate的annotation 回复 更多评论
# re: struts+spring+hibernate的web应用 架构搭建
建议早点把代码放到网上 回复 更多评论
# re: struts+spring+hibernate的web应用 架构搭建
源码 回复 更多评论
# re: struts+spring+hibernate的web应用 架构搭建
题目很好,很调人胃口,我见过这种组合的多种打建方式,可是自己就是不成
帮忙把源码贴上来吧
有时间多弄几种打建^_^
谢谢 回复 更多评论
# re: struts+spring+hibernate的web应用 架构搭建
可以尝试把struts升级 回复 更多评论
# re: struts+spring+hibernate的web应用 架构搭建[未登录]
eclipse居然用中文包 回复 更多评论
# re: struts+spring+hibernate的web应用 架构搭建 千山鸟飞绝
@eric
为什么不能用中文包呢? 回复 更多评论
# re: struts+spring+hibernate的web应用 架构搭建[未登录] 捕风
建议把spring升级到2.0,struts升级到2.0 回复 更多评论
# lib
可以把lib上传来吗?分几次???
回复 更多评论
# lib
特便是mssqlserver.jar 回复 更多评论
# re: struts+spring+hibernate的web应用 架构搭建
@千山鸟飞绝
用了中文包之后,好多功能不认识了..
建议还是用英文版的. 回复 更多评论
标题
姓名
主页
验证码 *
内容(请不要发表任何与政治相关的内容)
Remember Me?
本文转自
http://www.blogjava.net/rickhunter/articles/103481.html
- struts+spring+hibernate的web应用 架构搭建
- struts+spring+hibernate的web应用 架构搭建
- struts+spring+hibernate的web应用 架构搭建
- struts+spring+hibernate的web应用 架构搭建
- (转)struts+spring+hibernate的web应用(一)架构搭建
- struts+spring+hibernate的web应用<一> 架构搭建
- 使用struts+spring+hibernate组装你的web应用架构
- 使用struts+spring+hibernate组装你的web应用架构
- 使用struts+spring+hibernate组装你的web应用架构
- 使用struts+spring+hibernate组装你的web应用架构
- 使用open source产品组装你的web应用架构(struts+spring+hibernate)
- 使用open source产品组装你的web应用架构(struts+spring+hibernate)
- 使用open source产品组装你的web应用架构(struts+spring+hibernate)
- [转载]使用open source产品组装你的web应用架构(struts+spring+hibernate)
- 使用open source产品组装你的web应用架构(struts+spring+hibernate)
- 基于Struts+Spring+Hibernate的Web应用框架的搭建(一)
- 基于Struts+Spring+Hibernate的Web应用框架的搭建(二)
- 基于Struts+Spring+Hibernate的Web应用框架的搭建(三)
- TrueCrypt - 不可多得的虚拟加密磁盘工具
- JavaScript中的事件处理
- JavaScript中的事件处理
- javascript验证中文的正则表达式
- 39字推翻百年集论2
- struts+spring+hibernate的web应用 架构搭建
- struts+spring+hibernate的web应用 Dao层代码编写
- struts+spring+hibernate的web应用 Service层代码编写
- struts+spring+hibernate的web应用 Web层代码编写(1)
- struts+spring+hibernate的web应用 Web层代码编写(2)
- http头的技术资料
- Hypertext Transfer Protocol -- HTTP/1.1
- III-TWO-Thirteen equals one
- linux上的C/C++编译器gcc/egcs详解