This topic describes common tasks you can perform with Java EE application clients. For more
detailed information, click the links in the right column.
To perform this task |
Follow these steps |
Create an application client. |
- Choose File > New Project (Ctrl-Shift-N).
- Select the right template from
the Enterprise category.
|
Build an application client. |
- Right-click the application client project and choose
Build Project.
|
Verify an application client. |
|
Run an application client. |
- Set the application client as the enterprise application's client. Right-click the
enterprise application project and choose Properties. Then click Run in the left panel of the
dialog box and select the application client in the Client Module URI drop-down.
- Deploy the enterprise application by right-clicking
its project and choosing Run
Project.
- Start the application server.
- Right-click the application client project and choose Run
Project.
|
Generate a reference to an enterprise bean. |
- Open any Java class file in the application client project.
- Right-click anywhere inside the class file and choose Enterprise Resources
> Call Enterprise Bean.
|
Add an application client module to an enterprise application. |
- Right-click the enterprise application project's node and choose Add
J2EE Module.
|
Edit an application client's deployment descriptors. |
- Expand the Configuration Files node for the application client project.
- Double-click the deployment descriptor.
|