Search code examples
weblogic9.x

when to create a weblogic domain


I have two web applications deployed in two different weblogic servers.

Application 1 is a struts 1.2 based application whereas Application 2 is a JSF application.

We are working towards deploying both the application on the same weblogic server.

Wanted to know if it would be better to deploy the two application ears on the same weblogic domain or create different domains for each of the ears.

Thanks


Solution

  • That depends on a lot of things, but a couple of questions might help getting you into the right direction:

    • Does the same person/group of persons administer/deploy both applications?
    • Do both of your applications have the same security model/constraints?

    Typically, if you answer no to one of the questions above, you should probably go ahead and configure a separate domain for each one.
    Other kinds of constraints might also affect your decision, like whether your applications interact/depend on each other, or if they share any underlying resources.

    I have personally run several applications which were all administered by me, shared the same security model and depended on similar underlying resources. I had them all in a single WebLogic domain. That would be my recommendation, in order to simplify administrative tasks.