my dog learned polymorphism*
The moose likes Beginning Java and the fly likes Spring definition (your explanation in less than 4 lines) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Spring definition (your explanation in less than 4 lines)" Watch "Spring definition (your explanation in less than 4 lines)" New topic
Author

Spring definition (your explanation in less than 4 lines)

Amaru Shakur
Ranch Hand

Joined: Jul 17, 2008
Posts: 50
ok so i am doing a presentation in a few weeks and to my surprise i have been working with spring and i didn't even know it, or have read anything about it! i was just editing some files when working with hibernate data transfer objects and data access objects and the way they mapped them to java beans by calling the hibernate mapping file and linking it to a javabean was all that i took out of it and i didn't even realize it was spring, or an application framework?

my question is what exactly does spring do if you were to explain it to someone who really didnt know?

i read on wikipedia that it is a application framework that makes a standard stucture of an application work on a specific OS. but judging by my work with it i think im way off. anyone care to enlighten me, other than being a link between hibernate and POJOS (plain old java objects) whats spring doing anything (or whats it supposed to do)?


Even though im marked for death I will spark till i loose my breath
Jimmy Clark
Ranch Hand

Joined: Apr 16, 2008
Posts: 2187
Are you looking for a definition so that you can include it in your presentation?
Ernest Friedman-Hill
author and iconoclast
Marshal

Joined: Jul 08, 2003
Posts: 24183
    
  34

Spring is a vast pile of stuff, and it's possible to use many little bits of it without using the rest. It is indeed an app framework, comparable to EJB but without requiring use of EJBs. But individual components of the framework like the AOP facility, the persistence library, the IOC container stuff, etc, etc, are widely used outside of the framework itself.


[Jess in Action][AskingGoodQuestions]
Amaru Shakur
Ranch Hand

Joined: Jul 17, 2008
Posts: 50
Originally posted by James Clark:
Are you looking for a definition so that you can include it in your presentation?


not really, i just would like to know in general what it is for, or the insight. i mean i hate talking about anything like its "black box" even though it isnt (i mean i dont need to know how its working, but i think it wouldnt hurt if i did, especially if someone asks me the question so whats spring doing).
 
Consider Paul's rocket mass heater.
 
subject: Spring definition (your explanation in less than 4 lines)
 
Similar Threads
Transactional DB access without EJB
Spring Live
Regarding Spring DAO
Hibernate & J2EE
need Suggestion