您的位置:首页 > 运维架构 > Tomcat

Spring MVC3.0, Maven2, Tomcat in Eclipse for Hello World Web Application

2010-02-18 04:29 671 查看
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.
本文出自 “我爱我家” 博客,请务必保留此出处http://speedooo.blog.51cto.com/226772/276888
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐