Developing an EJB client

Follow the steps in the table below to create an EJB client:

Step

Action

For more information

1

Generate EJB stubs.

See “Generating EJB stubs”.

2

Add code to create the initial naming context and instantiate the home interface proxies.

See “Instantiating home interface proxies”.

3

Add code to instantiate remote or local interface proxies.

See “Instantiating remote or local interface proxies”.

4

Add code to call remote or local interface methods.

See “Calling remote interface methods” or “Calling local interface methods”.

5

Optionally add code to control transactions and serialize and deserialize instances.

See:

6

Deploy the client application or applet.

See “Runtime requirements”.