It's not a secret anymore!
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
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.

I agree. Here's the link:
subject: A definition doubt
It's not a secret anymore!