dev@glassfish.java.net

Re: Programatically control glassfish?

From: Qingqing Ouyang <Qingqing.Ouyang_at_Sun.COM>
Date: Sat, 17 Jun 2006 16:39:15 -0500

The recommended way to deploy/undeploy programmatically is to use JSR88,
which is supported fully by Glassfish.

http://jcp.org/en/jsr/detail?id=88

Thanks,
Q^2

Kohsuke Kawaguchi wrote:
>
> Hi,
>
> Is there any way to programatically start/stop Glassfish,
> deploy/undeploy applications?
>
> 1. Is there a set of Ant tasks to do this?
> (Tomcat has one, see [1])
>
> 2. Is there a Java API that allows me to embed
> Glassfish into the current JVM, as opposed to launch
> a separate JVM?
>
>
> [1]
> http://tomcat.apache.org/tomcat-5.0-doc/catalina/docs/api/org/apache/catalina/ant/package-summary.html
>