Follow the steps in the table below to create an EJB client:
Step |
Action |
For more information |
---|---|---|
1 |
Generate EJB stubs. |
|
2 |
Add code to create the initial naming context and instantiate the home interface proxies. |
|
3 |
Add code to instantiate 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. |
Copyright © 2005. Sybase Inc. All rights reserved. |