users@glassfish.java.net

can a web app update itself?

From: <forums_at_java.net>
Date: Wed, 21 Dec 2011 10:28:13 -0600 (CST)

Hi,

Is there a way for a deployed web app running in GF to upgrade itself to
another version? Assuming a war file is publically available, can a deployed
app run the equivalent of "asadmin deploy --force <etc>"? I suppose, if tied
to a certain OS, it could runtime#exec some script, or copy the file to the
autodeploy directory, but those options are not ideal certainly.

Thanks,

Bobby

 


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