users@glassfish.java.net

Re: Multiinstance Appliciation architecture and deployment in Gl

From: <forums_at_java.net>
Date: Fri, 10 Feb 2012 04:31:44 -0600 (CST)

Tom,
About dependency and sharing requirements  in my case:
In the idea I want to realize on Glassfisf server, each application needs
separate resources (JMS and JDBC). This is not a problem, I can customize it
per application even per virtual hosts enabled on one instance (I can
recognize the virtual server by getting server name from Http Request and
prepare separate resources and configuration files in instance directory to
apply configuration to this specific virtual server).
My 'independency requrements' are:
I simply need to be able to deploy multiple applications on one Glassfish
instance and be able to run them in separate Java processes but under the
same Java virtual machine.
I need to be able to start/stop each application independently from each
other.
I need to be able reload one application and the other while the othe
applications should remain active (under IIS this option is called 'recycle
application pool').
In case of a bug in one application, it should not impact on other customer
apps on the same server/instance. Other applications shoud remain working (of
course when this bug doesn't spoil entire java vm).
Is this idea possible to be realized on one Glassfish instance with hundred
applications deployed (enabled on instance/virtual host)? Maybe deploying
application under different names (like described here:
home.java.net/node/676678) might be a good solution in my case?  Does
anybody have an experience in deploying one hundred times the same
application with different configurations?
Thanks,
Olgierd


--
[Message sent by forum member 'olg']
View Post: http://forums.java.net/node/883333