Thanks for your replies everyone. I think I can make an informed decision
now about what to do in each case.
I like the flexibility of the @SpringBean and the simplicity of the
application object, probably with seperate objects holding the DAOs and
services, so not to bloat the application object.

I think I will investigate more open the OpenSessionInView to see what
EXACTLY that thing is doing. Perhaps I will ask more about that later.



The pros and cons of both approaches are discussed in the wiki as well:
http://cwiki.apache.org/WICKET/spring.html


Yes I read this before posting.
I think it would be more clear if it's mentioned that the
InjectorHolder.getInjector().inject(this); can be used in any of your
classes, such as models, and not just components.
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to