What Is Spring Framework, Spring Introduction
|
Spring »
On Aug 3, 2011 | { 26 Comments }
|
Tweet
|
Let us see what is Spring Framework, and why we need to work with this Spring…
Spring is a light weight and open source framework created by Rod Johnson in 2003. Spring is a complete and a modular framework, i mean spring framework can be used for all layer implementations for a real time application or spring can be used for the development of particular layer of a real time application unlike struts [ only for front end related ] and hibernate [ only for database related ], but with spring we can develop all layers- Spring framework is said to be a non-invasive means it doesn’t force a programmer to extend or implement their class from any predefined class or interface given by Spring API, in struts we used to extend Action Class right that’s why struts is said to be invasive
- In case of struts framework, it will forces the programmer that, the programmer class must extend from the base class provided by struts API
- Spring is light weight framework because of its POJO model
- Spring Framework made J2EE application development little easier, by introducing POJO model
Spring having this much of demand because of the following 3 reasons….
- Simplicity
- Testability
- Loose Coupling
Simplicity
Spring framework is simple because as it is non-invasive, POJO and POJI model
Testability
Actually for writing the spring application, server [Container] is not mandatory, but for struts applications we need a server, and for EJB too. If we want to test the application it may need lot of changes in the source and each time we must restart the server to view the changes, which is little tedious and time taking but we can over come this in Spring, for testing spring application server is not mandatory spring has it own container to run the applications.
Spring can be used to develop any kind of java application, means we can develop starting from console application to enterprise level application
Loose Coupling
In spring objects are loosely coupled, this is the core concept of spring framework we will see in depth about this loose coupling and how its differ from tight coupling
|



Hi,
This is very helpfull for java people but can you add spring MVC and spring AOP these concepts are more helpfull for all.
@Anwar
Sure we are working, we will update the remaining topics very soon.
Hi,
this is excellent website to learn spring,hibernate.please add spring MVC and spring AOP and Spring Context.we are waiting….
thanks
Bikash
@Bikash
Thank you bikash, we are working on these modules and will post as soon as possible.
Excellent…try to think about from basic java,servlets and Jsp also…all the best…good luck
@Ravi Gaddam
Thank you Ravi, yeah next articles will be on Servlets and Jsps only
this is excellent website to learn spring,hibernate.
please add AOP,SPRING MVC AND SPRING WITH JDBC
Thanks for such nice post!
@Arunkumar
You welcome…!
@Suresh
Articles related to Spring JDBC are already posted, pls check once
We are working to complete AOP ,MVC
the best site i have ever seen for spring hibernate.
thanks java4s.com
@arjun
You welcome, and thanks for your feedback.
Very good explanation,you know in hyderabad(india) so many tutorials are there for tech java they are fallowig your tutorial.
all the best.
Thanks,
Radhakrishna mulpuri.
Excellent tutorial to learn….
i read many books..but i get the clarity through this material…very help full to all…but add spring mvc and Aop also..
thanks
…………..
mouli
@Radhakrishna,@Suresh,@Nagachandra Mouli
Thanks for your lovely feedback
Yeah we are in a way to complete spring AOP, and then MVC soon.
Thanks a lot for you ,because your website helps me,i was not clear anout the Spring,now i got so much of IDEA………………
@Utkal
Got you
happy to hear that its helped you.
Hi,
this is excellent website to learn spring,hibernate.please add spring MVC and spring AOP and Spring Context.
thanks
Basker Rao
nice tutorial…learnt hibernate from this site…cool stuff
Simple and understandable terminology,this is one of the best site for java people i believe. We are looking for spring WEB MVC and remaining modules and WEBSERVICES also.
Thank you,
Dhananjay G
Hi, i am chandra sekhar
This is very helpfull for java people. but can you add spring MVC and spring AOP these concepts are more helpfull for all. pls add pls
Hi,
this is excellent website to learn spring,hibernate.
thanks
subhash khot
Hi,
Great job!!! This are all very Useful to learn. Keep it up always. Thanks. Very Excellent!.
Hi ,
Its very usefull to learn
its very good site to learn and more earn…