<!--Arbortext, Inc., 1988-2007, v.4002-->
<!DOCTYPE REFENTRY PUBLIC "-//Sun Microsystems//DTD SolBook 3.5//EN" [
<!ENTITY options-common SYSTEM "options-common.sgm">
<!ENTITY synopsis-common SYSTEM "synopsis-common.sgm">
<!ENTITY % commonents SYSTEM "common.ent">
%commonents;
]>
<refentry id="get-client-stubs-1">
<!-- @(#)get-client-stubs.1 1.9 07/04/25 SMI; -->
<refmeta><refentrytitle>get-client-stubs</refentrytitle><manvolnum>1</manvolnum>
<refmiscinfo class="date">30 Jan 2007</refmiscinfo>
<refmiscinfo class="sectdesc">&man1;</refmiscinfo>
<refmiscinfo class="software">&software;</refmiscinfo>
<refmiscinfo class="arch">generic</refmiscinfo>
<refmiscinfo class="copyright">Copyright (c) 2007, Sun Microsystems, Inc.
All Rights Reserved</refmiscinfo>

</refmeta>
<refnamediv><indexterm><primary>get-client-stubs</primary></indexterm><indexterm><primary>
retrieves the client stub JAR</primary></indexterm>
<refname>get-client-stubs</refname><refpurpose>retreives the client stub JAR.
</refpurpose></refnamediv>
<refsynopsisdiv><title></title>
<synopsis><command>get-client-stubs</command>  <option role="double-dash">appname</option> <replaceable>application_name</replaceable>&synopsis-common;
 [<option role="double-dash">target</option> <replaceable>target_name</replaceable>] <replaceable>local_directory_path</replaceable></synopsis></refsynopsisdiv>
<refsect1 role="description"><title></title>
<para>The <command>get-client-stubs</command> command gets the client stubs
JAR file for an <filename>AppClient</filename> standalone module or an application
containing the <filename>AppClient</filename> module, from the server machine
to the local directory. Before executing the <command>get-client-stubs</command>
command, the application or module should be deployed. The client stubs JAR
is useful for running application via the <filename>appclient</filename> utility.
This command is supported in remote mode only.</para>
</refsect1>
<refsect1 role="options"><title></title>
<variablelist termlength="medium">
<varlistentry><term><option role="double-dash">appname</option></term><listitem>
<para>name of the application.</para>
</listitem></varlistentry>&options-common;
</variablelist></refsect1>
<refsect1 role="operands"><title></title>
<variablelist termlength="medium">
<varlistentry><term><replaceable>local_directory_path</replaceable></term>
<listitem><para>path to the local directory where the client stub should be
stored.</para>
</listitem></varlistentry>
</variablelist></refsect1>
<refsect1 role="examples"><title></title>
<example>
<title>Using get-client-stubs</title>
<screen>asadmin> <userinput>get-client-stubs --user admin --passwordfile password.txt 
--host fuyako --port 7070 --appname myapplication /sample/exmple</userinput>
Command get-client-stubs executed successfully</screen>
</example>
</refsect1>
<refsect1 role="exit-status"><title></title>
<variablelist termlength="narrow">
<varlistentry><term>0</term><listitem><para>command executed successfully
</para>
</listitem></varlistentry>
<varlistentry><term>1</term><listitem><para>error in executing the command
</para>
</listitem></varlistentry>
</variablelist></refsect1>
<refsect1 role="see-also"><title></title>
<para><olink targetdoc="ASREFMAN" targetptr="undeploy-1">undeploy(1)</olink></para>
</refsect1>
</refentry>
<?Pub *0000003353>
