From: vince kraemer <Vince.Kraemer_at_Sun.COM>
Date: Sun, 18 Jun 2006 14:07:20 -0700
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])
http://docs.sun.com/app/docs/doc/819-3659/6n5s6m57s?q=ant+task&a=view >
> 2. Is there a Java API that allows me to embed
> Glassfish into the current JVM, as opposed to launch
> a separate JVM?
Not really. You can probably figure it out how it works today, by
reading through the scripts like startserv...