| Author |
Is Struts the framework I'm looking for?
|
Chris Stewart
Ranch Hand
Joined: Sep 29, 2001
Posts: 124
|
|
|
With all of the options out there, I've pretty much narrowed it to Struts 2.x and Spring. My needs are somewhat simple. I want an easy to use/implement framework that doesn't turn away Ajax driven work that is focused on MVC. I don't really need anything special aside from those things. I'm planning to use Hibernate for an OR mapper. Is Struts what I'm looking for or does Spring sound better suited for these simple requests?
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56229
|
|
Without knowing what you want to get out of a framework, that's really difficult to answer. Do you need all the framework bell and whistles, or do you just need a front controller?
|
[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
|
 |
Chris Stewart
Ranch Hand
Joined: Sep 29, 2001
Posts: 124
|
|
|
I guess I don't really know what those extras really are. I certainly need the MVC model. I'm planning to use Hibernate like I mentioned. I'm also planning on using EJB for the business layer. Aside from that, I'm not sure what the frameworks can provide me with. I've read the marketing-class intros but it really hasn't hit home yet I guess.
|
 |
Merrill Higginson
Ranch Hand
Joined: Feb 15, 2005
Posts: 4864
|
|
|
It's not an either/or situation with Struts 2 and Spring. If you look at the tutorials, you'll see that Struts 2 integrates easily with Spring. Spring is used most often for it's AOP (Aspect Oriented Programming) features and dependency injection. Although it has a view framework (Spring MVC) it isn't all that popular for whatever reason. I'd suggest using Struts 2 for the front end stuff, and Spring for some of the model portions of the application.
|
Merrill
Consultant, Sima Solutions
|
 |
 |
|
|
subject: Is Struts the framework I'm looking for?
|
|
|