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
what is mean by hasing and maping in java platform and advantage?
What are maps interfaces in the java collections? : java collections
What are the different types of ways where you can iterate over a list? : java collections
What are the types of interface used in the java collections? : java collections
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
What are the different types of features of the java collections framework? : java collections
Which interface does java.util.hashtable implement?
Should we create system software ( e.g operating system ) in java ?
What are the main classes of the list interfaces? : java collections
What are the queues in the java collection framework? : java collections
What are the differences between the java collection and the java list? : 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?
Which java collection class can be used to maintain the entries in the order in which they were last accessed?
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.?.