Difference between Spring framework and Struts framework?

Answer Posted / srinivas

Struts is developed with a Front Controller and dispatcher
pattern. Where in all the requests go to the ActionServlet
thereby routed to the module specific Request Processor
which then loads the associated Form Beans, perform
validations and then handovers the control to the
appropriate Action class with the help of the action mapping
specified in Struts-config.xml file. On the other hand,
spring does not route the request in a specific way like
this, rather it allows to you to design in your own way
however in allowing to exploit the power of framework, it
allows you to use the Aspect Oriented Programming and
Inversion of Control in a great way with great deal of
declarative programming with the XML. Commons framework can
be integrated to leverage the validation in spring framework
too. Morethan this, it provides all features like JDBC
connectivity, OR Mapping etc., just to develop & run your
applications on the top of this.

Is This Answer Correct ?    40 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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

621


can u draw class/object diagram for ATM

5541


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

625


What is the use of hashcode in java ?

583


What are the uses of the set interfaces in the java collections? : java collections

543






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

568


Hi Friends, i have searched in google but not clear. can you give bank example with synchronized keyword

1618


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.?.

1826


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

572


What are the interfaces in java collections? : java collections

626


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

622


What are the queues in the java collection framework? : java collections

557


Which interface does java.util.hashtable implement?

679


What are the types of interface used in the java collections? : java collections

591


How do I find jre path in windows?

535