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

What are maps interfaces in the java collections? : java collections

579


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

625


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

591


Which interface does java.util.hashtable implement?

679


What are the interfaces in java collections? : java collections

626






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


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

568


Hi we have an urgent requirement for Java/J2ee technical lead position & also looking for "Java Guidewire claimcentre" experienced professional for Bangalore location if interested can reach srisanh@gmail.com

2545


What are the considerations to be made in case of loops in java ?

581


What do you understand by synchronization? Why is it important?

582


What are the different types of classes implemented in the set interfaces? : java collections

619


Should we create system software ( e.g operating system ) in java ?

588


What are the types of java collections? : java collections

551


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

548


can u draw class/object diagram for ATM

5541