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?

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


Please Help Members By Posting Answers For Below Questions

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

1033


What are the different types of features of the java collections framework? : java collections

1118


Which sorting algorithm is used by collections.sort() in java ?

940


How is hashset maintained in memory by java ?

1163


who will give req's to u?. how they send req's to u? . what design documents contains?. when bugs raised on other developer code how to report to them?.(throgh mail or ........). how to retrive 100 recods from dao layer to presentation layer.using which collection?. what is sequence diagram.?.

2334


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 ?

2168


What are the main classes of the list interfaces? : java collections

1036


Explain the OOPS concept in Realtime Scenarion ? Take example as CAR. Please explain indetail ?

3057


What is iterator in the java collections framework? : java collections

981


How do I find jre path in windows?

1025


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

1160


What are the different types of collections views being provided by the map interface? : java collections

1041


What are the differences between the java collection and the java list? : java collections

1122


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

1029


Which interface does java.util.hashtable implement?

1205