<!DOCTYPE REFENTRY PUBLIC "-//Sun Microsystems//DTD DocBook V3.0-Based SolBook Subset V2.0//EN" [
<!--ArborText, Inc., 1988-1999, v.4002-->
<!ENTITY metainfo SYSTEM "metainfo.sgm">
<!ENTITY options-common SYSTEM "options-common.sgm">
<!ENTITY synopsis-common SYSTEM "synopsis-common.sgm">
<!ENTITY % commonents SYSTEM "smancommon.ent">
%commonents;
<!ENTITY % booktitles SYSTEM "booktitles.ent">
%booktitles;
<!ENTITY Dash "&ndash;">
]>
<?Pub UDT _bookmark _target>
<?Pub Inc>
<refentry id="get-client-stubs-1">
<refmeta><refentrytitle>get-client-stubs</refentrytitle><manvolnum>1</manvolnum>&metainfo;
</refmeta>
<refnamediv><indexterm><primary sortas="get-client-stubs">get-client-stubs &mdash;
retrieves the client stub JAR</primary></indexterm><indexterm><primary sortas="retreives the client stub JAR">
retrieves the client stub JAR &mdash; get-client-stubs</primary></indexterm>
<refname>get-client-stubs</refname><refpurpose>retreives the client stub JAR.
</refpurpose></refnamediv>
<refsynopsisdiv><title>&synp-tt;</title>
<cmdsynopsis><command>get-client-stubs</command><arg choice="plain">&Dash;&Dash;appname <replaceable>
application_name</replaceable></arg>&synopsis-common;
<arg>&Dash;&Dash;target <replaceable>target_name</replaceable></arg><arg choice="plain"><replaceable>
local_directory_path</replaceable></arg>
</cmdsynopsis></refsynopsisdiv>
<refsect1><title>&desc-tt;</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><title>OPTIONS</title>
<variablelist termlength="medium">
<varlistentry><term><option>&Dash;&Dash;appname</option></term><listitem>
<para>name of the application.</para>
</listitem></varlistentry><?Pub Caret>&options-common;
</variablelist></refsect1>
<refsect1><title>OPERANDS</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><title>&exam-tt;</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><title>EXIT STATUS</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><title>&also-tt;</title>
<para><link linkend="undeploy-1"><citerefentry><refentrytitle>undeploy</refentrytitle>
<manvolnum>1</manvolnum></citerefentry></link></para>
</refsect1>
</refentry>
<?Pub *0000003353>
