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 enumerator of the java collection framework? : java collections
What are the different types of collections views being provided by the map interface? : java collections
HOW MUCH PERCENTAGE WE DEDUCT FOR OUR SUPPLIERS OR OTHER PROFESSIONALS
What are maps interfaces in the java collections? : java collections
Hi Friends, i have searched in google but not clear. can you give bank example with synchronized keyword
What do you understand by synchronization? Why is it important?
can u draw class/object diagram for ATM
What is deque in the java collections framework? : java collections
What is the use of hashcode in java ?
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.?.
What are the main classes of the list interfaces? : java collections
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
What are the queues in the java collection framework? : java collections
What is the difference between comparable and comparator in java.util pkg?