Which is the better framework for web applications, struts or
spring, and why?



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

Post New Answer

More Java J2EE AllOther Interview Questions

Should we create system software ( e.g operating system ) in java ?

0 Answers  


What is an algorithm in java collection framework? : java collections

0 Answers  


What is a constructor?

4 Answers  


what is difference between business deligate and session facade ?

2 Answers   Fidelity,


what is mean by hasing and maping in java platform and advantage?

0 Answers   CTS,






what is acl(access control list)?

1 Answers   Athena, HCL,


can u draw class/object diagram for ATM

0 Answers   HCL, Zycus Infotech,


i need java 1+ experience resume on java developer kindly send me my mail id:srikanthreddy1.marla@gmail.com

1 Answers  


Which java collection class can be used to maintain the entries in the order in which they were last accessed?

0 Answers  


What are the different types of ways where you can iterate over a list? : java collections

0 Answers  


what is filter ?

2 Answers   SolutionNET,


What are the types of the main implementing classes in the map interfaces? : java collections

0 Answers  


Categories