Do keep in mind that there are other IOC containers you can use
besides Spring, especially for this particular need. I've used
PicoContainer for this as well.
Vince
On Aug 10, 2005, at 12:29 PM, Phil Kulak wrote:
It's useful for testing. Strike that, VERY usefull for testing. You
can have one application context for production and one for testing.
JUnit loads the testing context and all your beans get injected with
the mock objects and whatnot.
On 8/10/05, Joe Toth <[EMAIL PROTECTED]> wrote:
In reference to spring, at first I was like "wow IoC is neat it
should help
with injecting services into different parts of an application" -
so I
implemented it in an application. Because it was a lot more work
to keep
track of what parts of an application need which services and only
inject
them, I have one Service object which holds references to all the
services
and pass that one object around. What did I achieve? I have an
xml file
that I have to maintain now, but I have a few cool ways to
configure that
xml file :)
It sounds like it could be useful with very large groups where
each own a
module and there is a group that links everything together. The
group that
links everything together could use spring to do that.
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user