datastore.context.Singletons

9 views
Skip to first unread message

Koray Gülcü

unread,
Jul 13, 2013, 10:38:07 AM7/13/13
to crowdguru-dev
Hi all,

In Spring, default bean scope is singleton meaning same shared instance is injected into collaborating objects. What is the motivation of having a Singleton factory for retrieving JPA repositories? Why is it creating its own ApplicationContext? Is it related with having different modules/mvc apps?

Koray Gülcü
koray...@gmail.com
Reply all
Reply to author
Forward
0 new messages