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

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.
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章