Chapter 9 Creating Enterprise JavaBean Clients


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 interface proxies.

See "Instantiating remote interface proxies".

4

Add code to call remote interface methods.

See "Calling remote interface methods".

5

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

See:

 


Copyright © 2000 Sybase, Inc. All rights reserved.