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
Which java collection class can be used to maintain the entries in the order in which they were last accessed?
What is java collection? : java collections
Explain the OOPS concept in Realtime Scenarion ? Take example as CAR. Please explain indetail ?
What is the difference between comparable and comparator in java.util pkg?
Hi Friends, i have searched in google but not clear. can you give bank example with synchronized keyword
What is an algorithm in java collection framework? : java collections
What are the interfaces in java collections? : java collections
Which server-side script takes the input from JavaScript, can access the database if it needs to, and processes the data.
What is deque in the java collections framework? : java collections
What is the Spring2.5 MVC Navigation flow?
How is hashset maintained in memory by java ?
What is the use of hashcode in java ?
can u draw class/object diagram for ATM
Should we create system software ( e.g operating system ) in java ?
what is mean by hasing and maping in java platform and advantage?