Which is the better framework for web applications, struts or
spring, and why?
Answer / shrinath
down vote
Struts is perhaps the first Model-2 MVC framework for web
applications.
Spring has its own Model-2 MVC framework and much, much
more. It's got dependency injection, aspect-oriented
programming, and terrific libraries for making your life
easier when you deal with JDBC, ORM, JMS, LDAP, remoting,
and other Java EE technologies.
I strongly disagree with the previous statement made about
XML hell and no productivity benefit. I think it's
overstating a prejudice. Besides, Spring has added enough
annotations where it's possible create a complete
application without XML (except for perhaps one or two
global tags).
I'd recommend Spring over Struts and any other framework
| Is This Answer Correct ? | 5 Yes | 0 No |
What are the uses of the set interfaces in the java collections? : java collections
What is the enumerator of the java collection framework? : java collections
What is the difference between comparable and comparator in java.util pkg?
lll
I have include a jsp page by using <jsp:include page="/.../xyz.jsp"/> The thing is that the xyz.jsp page has its submit button.When i click on that button the whole main page get refreshed.But i want to refresh only the xyz.jsp page.How could i achive it so that i can only refresh the xyz.jsp not the main page page?
what is difference between business deligate and session facade ?
what is mean by hasing and maping in java platform and advantage?
How do I find jre path in windows?
what is difference between struts1.2 and struts2.0
Difference between Spring framework and Struts framework?
12 Answers IBM, L&T, VAM,
wnet use DAO design in u r project?
what is difference between web server and application server?