Thank you to all for your precious suggestions.

My question is not for a real need. 
Supposing to discard the injection "strategy", I would like to know if the
cache of an object into my WebApplication class during application startup
has the same result if I make this object Singleton (and not store it in
WebApplication). Can be some problems about "thread-safety" or other issue
in one case rather than the other? 

I'm sorry if this seems to be a stupid question...

alf



-- 
View this message in context: 
http://www.nabble.com/Application-scope-vs-Singleton-tp23559402p23563036.html
Sent from the Wicket - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to