Results 1 to 2 of 2

Thread: container

  1. #1
    Join Date
    Dec 2010
    Posts
    1

    Angry container

    In Spring , how many containers will be created ?
    For each module , does create one container ?

  2. #2
    Join Date
    Jul 2010
    Location
    Venice, Italy
    Posts
    709

    Default

    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
  •