• Post Reply Bookmark Topic Watch Topic
  • New Topic

Application isolation  RSS feed

 
Bernhard Neuhauser
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi again,

Is it possible to run independend Applcations inside one appserver without some kind of isolation between them?

Or is it a better aproach to run one appserver instance for each application?

thx again
Bernhard Neuhauser
 
Jeanne Boyarsky
author & internet detective
Sheriff
Posts: 37256
519
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Bernhard,
Which app server are you using? Typically, each EAR file (enterprise app) is run in isolation.
 
Roger Chung-Wee
Ranch Hand
Posts: 1683
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Typically, several apps run in an instance. However, a big app may need a dedicated instance.
 
Bernhard Neuhauser
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Till yet i dont run an appserver. Its just one aspect on my evaluation list.

When ears are isolated it might be a usefull synergy effect to be able to host other applications on the same failsave cluster. But maybe its a bad idea to share an appserver-cluster for independend applications?

(maybe it leads to some kind of update hell?)

The isolation level will be that each ear is loaded inside their own classloader i guess. So via reflection it will be possible to harm the other ear. But this might be no real problem, because it would mean that the appdeveloper did something aggressive.

But the isolation level should be good enough to avoid unwanted side effects (i hope) or?

thx again
Bernhard
 
Roger Chung-Wee
Ranch Hand
Posts: 1683
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When ears are isolated it might be a usefull synergy effect to be able to host other applications on the same failsave cluster. But maybe its a bad idea to share an appserver-cluster for independend applications?

(maybe it leads to some kind of update hell?)

This is vendor-dependent. For instance, WebLogic Server has domains (a domain consists of one or more WebLogic Server instances and their associated resources that you manage with a single Administration Server). If two or more apps are in one domain, then you can't do things like change the service pack (to get for one app to work) without also forcing the other apps to run under the same SP.

Another thing to consider is that the parameter passing in EJBs is done by passing serialized copies of objects rather than copies of references. So, the callee cannot affect the objects of the caller.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!