
An application client is a standard Java EE component and, like other Java EE components (EJB, servlets), it can use all services provided by the application server. The main difference from the other Java EE components is that the application client is running its own Java virtual machine.

The purpose of this tutorial is to create a simple application - a calculator with a single operation - addition. The whole application is annotation-based. That is why you do not need deployment descriptors.
First you have to create an EJB project. This provides you with the service. Then you create the application client that uses this service.
To create and package the application, open the SAP NetWeaver Developer Studio.
For the development of the entire application, use the Java EE perspective of the Development Studio. To open the perspective, choose .
System, Installed Applications, and Authorizations
SAP NetWeaver Developer Studio is installed.
AS Java is installed.
JDK 5.0 is installed.
You have administrative privileges to manage the configuration of the applications on the AS Java.
Knowledge
Java programming language
Basic understanding of EJB programming concepts.
You have access to the AS Java.
Create and implement and EJB project.
More information: Creating and Implementing an EJB Project
Create and implement the application client.
More information: Creating and Implementing the Application Client
Deploy the application to the application server.
More information: Deploying the Application
Run the application client
To run the application, you have to create a new file with the name appclient_starter.xml. You can change the current example for any particular case.
More information: Running the Application Client
First Step