Deployment is only necessary for application clients that communicate with EJB components.
Assemble the necessary client files.
Assemble the EJB components to be accessed by the client.
Package the client and EJB components together in an application.
Deploy the application as described in Tools for Deployment.
Retrieve the client JAR file.
The client JAR file contains the ties and necessary classes for the ACC client.
You can also use the asadmin get-client-stubs command to retrieve the stubs and ties whether or not you requested their generation during deployment. For details, see the Sun Java System Application Server Platform Edition 8.1 2005Q2 Update 2 Reference Manual.
Copy the client JAR file to the client machine, and set the APPCPATH environment variable on the client to point to this JAR.
appclient -client converterClient.jar
The -xml parameter specifies the location of the sun-acc.xml file.
For more detailed information about the appclient script, see Chapter 8, Developing Java Clients.
Copy the ACC package JAR file to the client machine and unjar it.
This file is located in the appclient/appserv/lib/appclient directory by default if you used the package-appclient script.
This file is located in appclient/appserv/bin by default if you used the package-appclient script.
Copy the client JAR file to the client machine.
You are now ready to execute the client.
For more detailed information about the package-appclient script, see Chapter 8, Developing Java Clients.