users@glassfish.java.net

Call asadmin commands from a java program

From: Carlo Camerino <carlo.camerino_at_gmail.com>
Date: Wed, 10 Nov 2010 16:26:56 +0800

Hi,,

Is theere a way by which I can use the commands in asadmin in java?

For example, asadmin start-domain or asadmin deploy "warfile"

as far as i can see from now, you can use java's api for handling processes.

but what i would like to do is to call the actual java classes that are
being used in a java program i'm making...


Is there any jar that I have to reference or is this possible? Much like how
cargo does it


thanks
carlo