beans of dispatcher-servlet.xml,applicationcontext.xml

beans of dispatcher-servlet.xml,applicationcontext.xml

Postby javalatte » Fri May 03, 2013 2:51 am

do the beans created from configurations in dispatcher-servlet.xml (all controllers,etc) and the beans created from configurations in applicationcontext.xml (all DAOs, etc) reside in the same webapplication context instance or different ones? Because dispatcher has access to applicationcontext.xml and viceversa not true, right? Or is implementation detail unknown to developer?
Posts: 55
Joined: Tue Jan 29, 2013 2:31 pm

Return to Spring Framework

Who is online

Users browsing this forum: No registered users and 1 guest