This is very good example to setup Spring MVC3.0, Maven2 and Tomcat in Eclipse3.5.
you need install Maven version2, m2eclipse, tomcat and the Sysdeo Tomcat plug-in for eclipse.
http://technologicaloddity.com/2010/01/19/hello-world-web-app-using-spring-annotations-part-1/
if you do not have sysdeo, that's fine. Setup Tomcat as your dev server in eclipse. when you run the application, you can check "include Modules" in current project ->Properties->Maven.
maybe this as well
But we're not quite ready yet. You might want bundle your dependencies
for the project at deploy time. Meaning that the jar libraries you
depend on will get copied over into the WEB-INF/lib folder. Right click
your project, and select Properties again. Now go to the "J2EE Module
Dependencies" and select what you want bundled.
here is one good artical for this as well
http://www.cnblogs.com/cbf4life/archive/2010/01/29/1659502.html
so far so good to learn Spring MVC.
But it's too more complicate than WebObjects, only reason to learn it is for job in JEE.
if it's my project I still want to do web application in webobjects.
Spring MVC3.0, Maven2, Tomcat in Eclipse for Hello World Web Application
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章
Dubbo與Zookeeper、SpringMVC整合和使用(負載均衡、容錯)
mengmeng89012
2019-02-23 00:33:41
Nginx+Tomcat的Session集羣與旁掛式memcached實現
小小小平凡
2019-02-23 14:03:52
修改Tomcat歡迎界面爲自己項目界面 localhost進入你部署的項
曉竹
2019-02-23 13:35:55
在MyEclipse中配置Tomcat
絡葉
2019-02-23 12:50:42
2015.7.13 tomcat安裝
562501268
2019-02-23 00:35:40
瞭解Spring之BeanDefinition對象
流年與你作伴之人
2019-02-24 14:04:20
Spring學習之對JDBC的支持
s5650326
2019-02-23 12:59:04
JEESZ分佈式框架簡介---技術介紹文檔
qq593e3b758e013
2019-02-23 12:55:03
聲明式事務
liudajiang
2019-02-23 12:53:51
Spring Cloud雲架構 - SSO單點登錄之OAuth2.0登錄認證(1)
mingliabc123
2019-02-23 00:28:04
Spring Cloud雲架構 - SSO單點登錄之OAuth2.0登錄認證(1)
mingliabc123
2019-02-23 00:27:49
關於網銀項目完工總結
yi_sixian
2019-02-23 13:55:03
URLconf+MTV:Django眼中的MVC
huanjie6
2019-02-23 00:29:24