Which is the better framework for web applications, struts or
spring, and why?
Answer Posted / 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 |
Post New Answer View All Answers
What are the types of interface used in the java collections? : java collections
What are the classes in the java collection framework? : java collections
What are the interfaces in java collections? : java collections
Hi Friends , am newbie to ajax. For example just consider one account registration - A form contains 8 text fields with submit button. In this form second texbox contains "username " . On right side of text box there is a label box . On clilck action i need to determine user is available or not. Is it possible on clicking label or should i click submit button.
What is an algorithm in java collection framework? : java collections
What is iterator in the java collections framework? : java collections
What are the main classes of the list interfaces? : java collections
What are the considerations to be made in case of loops in java ?
Explain the OOPS concept in Realtime Scenarion ? Take example as CAR. Please explain indetail ?
What is the use of hashcode in java ?
Which server-side script takes the input from JavaScript, can access the database if it needs to, and processes the data.
How is hashset maintained in memory by java ?
What are the differences between the java collection and the java list? : java collections
What are maps interfaces in the java collections? : java collections
In hyderabad, which s/w training center is best for java, other than corejava what r the new tools to learn in java,which tool is best & have current requirement,pls give me information about java to learn ?