This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Spring and the fly likes A definition doubt Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "A definition doubt" Watch "A definition doubt" New topic

A definition doubt

Victor Dolirio
Ranch Hand

Joined: Aug 21, 2008
Posts: 57
Hi all,

I´m not sure about a definition in the spring mission statement present in the spring´s page. They aim that "Your application code should not depend on Spring APIs". Although in my arrive in Spring, I meet some great tools like DAOSupport and templates. However I thing that on the actually use of spring my code will depend on the framework. Isn´t some thing wrong in this definition? Is possible to use spring without depend on it?

Thanks in advance.

If happen something bad in you life, don't ask God why it happened. Ask for what.
SCJP 5 (80%) - SCWCD 5 (91%) - SCBCD & SCJD coming soon...
Eduardo Bueno
Ranch Hand

Joined: Jun 04, 2009
Posts: 155
By not depending on it I understand "if I remove IoC, the application can still run with manual code". This way is easy to know if you depend or not on it.

On the other hand, in my opinion, there are things in which is impossible to remove dependance once implemented. Spring LDAP for example.

wood burning stoves
subject: A definition doubt
Similar Threads
How does this works
Hibernate & J2EE
How design the service classes?
Direction/Help needed on installing new Spring version 3.0.5.Release
question for authors on spring scalability and clustering