Difference between Spring framework and Struts framework?

Answer Posted / anand

Struts is a web framework which can be used to develop web
applications using MVC pattern. We have to hard code to use
applications like hibernate, jdbc, etc.

Spring is an application framework in which spring MVC is
one of the modules of spring framework. Spring uses the
concept of IOC/DI where the objects are not hard coded in
java but they are injected using construtor/setter
injection. We can use hibernate, jdbc, etc,...with spring
without hard coding in application as spring supports
classes hibernate, jdbc, and many more. This is very little
to say about spring. There are many features to be known.

Is This Answer Correct ?    57 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

can u draw class/object diagram for ATM

5529


What are the interfaces in java collections? : java collections

611


my interviewer asked me what technical specification you used how to answer that question

1933


What are the different types of ways where you can iterate over a list? : java collections

572


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

535






What is java collection? : java collections

579


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

613


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

539


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 ?

1679


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

613


Which interface does java.util.hashtable implement?

671


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

563


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

574


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

540


Hi frnds how to lock an user when he enter wrong credentials more than 3 time using java or j2ee tech take username and password in a bean no need to connect DB and validate give me some sample application code or links its urgent for me thanks in advance

1872