-
Dec 19th, 2010, 12:33 PM
#1
container
In Spring , how many containers will be created ?
For each module , does create one container ?
-
Dec 20th, 2010, 02:25 AM
#2
I think you are referring to contexts, not containers. The number of contexts and their parent/child relations depends on your type of application. For standalone (non-web) applications, one context is usually created by reading xml configuration in classpath. For web applications, if you are using Spring web mvc on top of Spring core, you will have an additional context tied to DispatcherServlet, which will be a child context of the core context (the one loaded through listener). If you also use Spring WS, you will have another context, also child of the core context, and so on...
If you have any doubts, properly studying the reference documentation will help to clear them.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules