Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

what about web architecture?

1 Answers   HCL,


What is the difference between comparable and comparator in java.util pkg?

0 Answers  


What is the use of the list interface in the java collection? : java collections

0 Answers  


What are the considerations to be made in case of loops in java ?

0 Answers  


What is the use of log4j and how to make use of that in a application?

2 Answers  


What is java collection? : java collections

0 Answers  


Difference between Spring framework and Struts framework?

12 Answers   IBM, L&T, VAM,


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

0 Answers  


who should use JNDI?

1 Answers  


what is the difference between through and throws?

2 Answers   HCL,


What do you understand by synchronization? Why is it important?

0 Answers  


What is the enumerator of the java collection framework? : java collections

0 Answers  


Categories