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 |
How do you create UserTransaction Object? How do you rollback a transaction in a method?
Which interface does java.util.hashtable implement?
lll
when exactly should we use throws ,and wen exactly should we use the try and catch for exceptional handling
"Sun Certified Java Programmer" This is one String , we need to print SCJP, write the java code dynamically? pls reply this questions
What is markup language?
What is the use of hashcode in java ?
What are the queues in the java collection framework? : java collections
what is the difference between checked and unchecked Exceptions?
What are the different types of collections views being provided by the map interface? : java collections
whatis arguments &what is default argument
What is deque in the java collections framework? : java collections