The Java client in a EJB Server distributed application can be an applet or an application, depending on whether you want your client to run in a Web browser.
EJB Server supports the EJB 1.1 client model using stubs that call the EJB Server CORBA ORB.
Creating a Java client for EJB Server involves these general steps:
In PowerJ, add the EJB Server component. This creates a proxy on the PowerJ component palette.
Add a proxy object and PowerJ InitialContext object to your client.
Write code that:
Calls component methods by calling the corresponding method in the stub class.
Cleans up client-side resources by setting proxy references to null. This expedites Java garbage collection.
Execute the Build command to compile your Java client and then deploy it.