On Oct 27, 2005, at 12:26 PM, Alexandru Popescu wrote:
#: Joni Suominen changed the world a bit at a time by saying on
10/27/2005 11:00 AM :#
On Wed, 2005-10-26 at 10:59 -0700, Igor Vaynberg wrote:
This is similar to how i do it. My application is a spring bean that
gets injected by spring on creation and is then used as a service
locator. I am simply questioning the automatic injection into pages,
does it really make sense if it only takes you half way there. If in
my panel i need to do a ((MyPage)getPage()).getService() then i
might
as well do ((MyApp)getApplication).getService().
I agree that it is very bad if Spring integration using IOC can
only be
done as a half baked solution. However, I see following problems when
using Spring as a service locator.
I would say that using IoC/DI as a service locator is already a
half-baked solution.
This is becoming a religious discussion that I am not very interested
in :-)
S.
-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user