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 is the difference between comparable and comparator in java.util pkg?

594


How is hashset maintained in memory by java ?

595


Which sorting algorithm is used by collections.sort() in java ?

551


please mail me the interview question based on java/j2ee

1537


What are the different types of features of the java collections framework? : java collections

576






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

562


what is mean by hasing and maping in java platform and advantage?

1833


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

541


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

617


How do I find jre path in windows?

531


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

591


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

576


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

580


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

576


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.

1590