Develop J2EE application clients

A J2EE application client program operates similarly to a standard Java program in that it runs its own Java virtual machine (JVM) code and is invoked at its main method. The J2EE application client program differs from a standard Java program because it uses the Java Naming and Directory Interface (JNDI) name space to access resources. In a standard Java program, the resource information is coded in the program. Storing the resource information separately from the client application program makes the client application program portable and more flexible. For more specific information about J2EE development, see http://developer.java.sun.com/developer/technicalArticles/J2EE/appclient/ Link outside Information Center.

Follow these steps to develop your J2EE application client:

  1. Write the J2EE application client.
    See this topic for information about developing the application client code.

  2. Assemble the application client.
    Use the Application Assembly Tool(AAT) to assemble your application client.

  3. Package and distribute the application client.
    Prepare the application client, and distribute it to the client machines.

  4. Configure the application client resources.
    Use the Application Client Resource Configuration Tool (ACRCT) to configure external resources for your application client.

  5. Run the application client.
    Use the launchClient script to start your application client.

See Troubleshooting guide for the J2EE application client for tips on resolving common problems.