Announcement Announcement Module
Collapse
No announcement yet.
common application context for multiple web apps Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • common application context for multiple web apps

    Hi,

    At my current job There are close to 20 different web applications as part of a single service. the applications are currently being deployed to weblogic 10.3 cluster as separate WAR files and they all include a common jar that contains common utilities and DAOs.
    I wish to use Spring as the container for the common code and have it shared between the different apps.
    Can anyone suggest the best recommended way to go about it? would a weblogic startup class that starts the common container work? how will each application access the common context? have it's own container in addition to the common one?

    Thanks,
    N

  • #2
    Sounds like your have an EAR that has multiple web apps. In this case, you can define an EAR level application context of which is root context of each webapp in EAR, i.e. the common utilities and DAOs in the EAR level application context are visible and shared from each of your web apps within the same EAR.

    Comment

    Working...
    X