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 are the uses of the set interfaces in the java collections? : java collections

0 Answers  


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

0 Answers  


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

0 Answers  


lll

1 Answers  


I have include a jsp page by using <jsp:include page="/.../xyz.jsp"/> The thing is that the xyz.jsp page has its submit button.When i click on that button the whole main page get refreshed.But i want to refresh only the xyz.jsp page.How could i achive it so that i can only refresh the xyz.jsp not the main page page?

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,


How do I find jre path in windows?

0 Answers  


what is difference between struts1.2 and struts2.0

1 Answers  


Difference between Spring framework and Struts framework?

12 Answers   IBM, L&T, VAM,


wnet use DAO design in u r project?

1 Answers   Godrej,


what is difference between web server and application server?

1 Answers   L&T,


Categories