This post originated from an RSS feed registered with Java Buzz
by Marc Logemann.
Original Post: Struts or Spring-MVC
Feed Title: Marc's Java Blog
Feed URL: http://www.logemann.org/day/index_java.xml
Feed Description: Java related topics for all major areas. So you will see J2ME, J2SE and J2EE issues here.
I am returning to my roots by doing a server side project the next months, this means that i will leave Swing/AWT for a while without too much regret because i like having not so many options in the frontend ;-)
By putting together the framework pieces for my project, i am wondering wether to use Struts or Spring-MVC with Spring. The advantage of Struts is that i know it and that it has widespread usage and some more years of development behind it. On the other hand, Spring-MVC might be a better fit for the Spring Container. I will take some time to check out Spring-MVC so that i will get the complete picture.
Right now the following core framworks/technologies are under consideration:
- Struts or Spring-MVC as controllerframework
- Spring Lightweight Container
- JDO based persistence most likely KodoJDO
- JSP/Tiles for templating/view
Its allways a horrable situation when you have to pick the core technologies for a project which will be a long time a part of your life. You really wanna be sure to make the correct decission there. Of course there is not "one" correct configuration, but most of the times you think there must be one or you think if i would have some more time, i could wait for X. Where X can be anything from "EJB3" to "Beehive final" or any other technology with some promises which is not ready to go yet.