Difference between Spring framework and Struts framework?
Answer Posted / anjaneyulu
Struts framework is mainly used for WebApplications Actully Struts framework is all are classes not implements theinterface.
whenever develop applicatoion in two ways:
1.Programming through interface
2.Programming through class
Struts drawbacks:
1.better way is Programming through interfaces so that struts not support that(i.e all are predifined class.. Action,DiaspatchAction,SwitchAction)
2.This framework is tightcoupling.it is not separated layerwised
3.It is not Suuport to DependencyInjection
4.We have to hard code to use
applications like hibernate, jdbc, etc.
SPRING:
overcome the above problems Spring will be introduced
Spring Application develop through Interface
It suport DI.
It is layerwise designed.
It is loosecoupling
Spring suport MVC and Other MVC
Spring Application allways flow DesginPatterns
Spring support to POJO'S AND POJI(i.e it is not api dependent)
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 ? | 40 Yes | 5 No |
Post New Answer View All Answers
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
What is java collection? : java collections
what is mean by hasing and maping in java platform and advantage?
can u draw class/object diagram for ATM
Which java collection class can be used to maintain the entries in the order in which they were last accessed?
Explain the OOPS concept in Realtime Scenarion ? Take example as CAR. Please explain indetail ?
What is an algorithm in java collection framework? : java collections
What are the types of the main implementing classes in the map interfaces? : java collections
What is the use of hashcode in java ?
What are the main classes of the list interfaces? : java collections
Which interface does java.util.hashtable implement?
What is the enumerator of the java collection framework? : java collections
What are the considerations to be made in case of loops in java ?
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