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
What is java collection? : java collections
What are the considerations to be made in case of loops in java ?
Hi Friends, i have searched in google but not clear. can you give bank example with synchronized keyword
can u draw class/object diagram for ATM
Hi Friends , am newbie to ajax. For example just consider one account registration - A form contains 8 text fields with submit button. In this form second texbox contains "username " . On right side of text box there is a label box . On clilck action i need to determine user is available or not. Is it possible on clicking label or should i click submit button.
What is the Spring2.5 MVC Navigation flow?
What are the different types of ways where you can iterate over a list? : java collections
my interviewer asked me what technical specification you used how to answer that question
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.?.
What are the main classes of the list interfaces? : java collections
What is the use of the list interface in the java collection? : java collections
How do I find jre path in windows?
What do you understand by synchronization? Why is it important?
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 ?
What are the differences between the java collection and the java list? : java collections