EJB client program flow

The steps in the table below describe the program flow in a typical EJB client:

Step

Action

For more information

1

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

See “Instantiating home interface proxies”.

2

Add code to instantiate remote or local interface proxies.

See “Instantiating remote or local interface proxies”.

3

Add code to call remote or local interface methods.

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

4

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

See: