users@glassfish.java.net

Re: Call asadmin commands from a java program

From: Sanjeeb Sahoo <Sahoo_at_Sun.COM>
Date: Thu, 11 Nov 2010 10:49:12 +0530

Carlo,

Can you please provide some more information about what you want to do?

Thanks,
Sahoo
On Wednesday 10 November 2010 01:56 PM, Carlo Camerino wrote:
> 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