Chapter 9: EAServer EJB Interoperability
There are two ways to call EJB components from PowerBuilder:
If using PowerBuilder, you can call EJB components hosted in EAServer by generating proxies for the home, local, and remote interfaces then calling the lookup method on the PowerBuilder Connection object to instantiate the home interface proxy. Call the appropriate home interface create method to instantiate a proxy for the remote interface, then call the business methods as you would for any other EAServer component.
If using PowerBuilder 9.0 or later, you can use the PowerBuilder EJB client interfaces. These interfaces use Java and Sybase-provided PowerBuilder extensions to invoke EJBs on any J2EE compatible application server. While this approach allows interoperability with servers from multiple vendors, the deployed client files are larger due to the need for a Java Runtime Environment and additional PowerBuilder libraries.
For more information, see the Application Techniques manual in the PowerBuilder documentation.
|Copyright © 2005. Sybase Inc. All rights reserved.|