Can view the tutorials best in Google Chrome, Mozilla Firefox, Opera, higher version of Internet Explorer

What Is Spring Framework, Spring Introduction

Spring » On Aug 3, 2011 | { 34 Comments }

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

 

 

What you are thinkig....

34 Responses to “What Is Spring Framework, Spring Introduction”
  1. Anwar says:

    Hi,
    This is very helpfull for java people but can you add spring MVC and spring AOP these concepts are more helpfull for all.

  2. Java4s says:

    @Anwar

    Sure we are working, we will update the remaining topics very soon.

  3. Bikash says:

    Hi,
    this is excellent website to learn spring,hibernate.please add spring MVC and spring AOP and Spring Context.we are waiting….
    thanks
    Bikash

  4. Java4s says:

    @Bikash

    Thank you bikash, we are working on these modules and will post as soon as possible.

  5. Ravi Gaddam says:

    Excellent…try to think about from basic java,servlets and Jsp also…all the best…good luck

  6. Java4s says:

    @Ravi Gaddam

    Thank you Ravi, yeah next articles will be on Servlets and Jsps only :-)

  7. suresh says:

    this is excellent website to learn spring,hibernate.
    please add AOP,SPRING MVC AND SPRING WITH JDBC

  8. arunkumar says:

    Thanks for such nice post!

  9. java4s says:

    @Arunkumar

    You welcome…!

  10. java4s says:

    @Suresh

    Articles related to Spring JDBC are already posted, pls check once :-)

    We are working to complete AOP ,MVC

  11. arjun says:

    the best site i have ever seen for spring hibernate.
    thanks java4s.com

  12. Java4s says:

    @arjun

    You welcome, and thanks for your feedback.

  13. radhakrishna says:

    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.

  14. Suresh P says:

    Excellent tutorial to learn…. :)

  15. Nagachandra Mouli says:

    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

  16. Java4s says:

    @Radhakrishna,@Suresh,@Nagachandra Mouli

    Thanks for your lovely feedback :-)
    Yeah we are in a way to complete spring AOP, and then MVC soon.

  17. Utkal says:

    Thanks a lot for you ,because your website helps me,i was not clear anout the Spring,now i got so much of IDEA………………

  18. Java4s says:

    @Utkal

    Got you :-) happy to hear that its helped you.

  19. Basker Rao says:

    Hi,
    this is excellent website to learn spring,hibernate.please add spring MVC and spring AOP and Spring Context.
    thanks
    Basker Rao

  20. vijay says:

    nice tutorial…learnt hibernate from this site…cool stuff

  21. Dhanajay Rao says:

    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

  22. chandu says:

    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

  23. subhash says:

    Hi,
    this is excellent website to learn spring,hibernate.
    thanks
    subhash khot

  24. Satheesh N says:

    Hi,

    Great job!!! This are all very Useful to learn. Keep it up always. Thanks. Very Excellent!.

  25. ganesh says:

    Hi ,
    Its very usefull to learn

  26. preeti says:

    its very good site to learn and more earn…

  27. Veerraju says:

    Hi this is Veerraju, your interduction of Spring is simply Good Who people wants to learn Spring without attending class.

  28. pavan says:

    Hi sir tanq for ur nice posts i have a doubt u said in this post that spring is good support for testing applications because it doesn,t need a server(Actually for writing the spring application, server [Container] is not mandatory) but with out server how a web application can work?

  29. sudheer says:

    Excellent Work ….!!

  30. Dushyant says:

    Excellent work!!!…Keep it up

  31. very good explanation… thanks, keep post new topics.

  32. Bala says:

    Hi,
    this is excellent website to learn spring,hibernate.please add spring MVC

    thanks
    Bala

  33. santhakumar says:

    I got a job by saying this answer in my last interview. thanks for awesome help.

  34. Akbar Saleem says:

    Thank u for giving such a woderful explanation
    You are doing a great job….
    once again thanks alot

If you want a pic to show with your comment, go get a gravatar !
Please post your questions on Java4s Answers forum

Name*
Ask a Question ?
or
Mail*
Website



By posting your answer, you agree to our comments policy.
Most Recent Tutorials
Hibernate Recent Posts
Spring Recent Posts
Struts Recent Posts
Recomandded Links Current & UpComing Tutorials Java4s.com
Tutorials Online :
spring Hibernate struts Json Ajax Log4j Log4j
coreJava Servlets


UpComing :
Jsps,Web Services
Java4s is optimized for learning java technologies, all the examples in this site are constantly reviewed to avoid errors. While using this site you agree to have read and accepted our terms of use and privacy policy
Especially i have prepared this blog by keeping fresher's in mind, however it will be very useful for real time developers too.


© 2014 Java4s All rights reserved. | strPro4Tut v(2.0) Theme designed by Team Java4s.