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
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 difference between comparable and comparator in java.util pkg?
What are maps interfaces in the java collections? : java collections
Which java collection class can be used to maintain the entries in the order in which they were last accessed?
what is mean by hasing and maping in java platform and advantage?
Which server-side script takes the input from JavaScript, can access the database if it needs to, and processes the data.
What are the differences between the java collection and the java list? : java collections
What are the main classes of the list interfaces? : java collections
What are the types of the main implementing classes in the map interfaces? : java collections
What is the enumerator of the java collection framework? : java collections
What are the different types of collections views being provided by the map interface? : java collections
Which sorting algorithm is used by collections.sort() in java ?
Hi Friends, i have searched in google but not clear. can you give bank example with synchronized keyword
What is an algorithm in java collection framework? : java collections
What are the classes in the java collection framework? : java collections