Coding a PowerBuilder EJB Client Application

After you have validated your Java environment settings and generated proxies for the enterprise beans you want to access, you can begin coding your client application in earnest. Regardless of its complexity, any PowerBuilder application that accesses an EJB server follows the same six basic steps:

1.
Loads the Java VM
2.
Connects to the EJB server
3.
Locates an EJB
4.
Instantiates an EJB
5.
Invokes methods on an EJB
6.
Disconnects from the EJB server

For those readers who have not yet become familiar with the TRY-CATCH-FINALLY construct introduced in PowerBuilder 8, this is a good opportunity to do so. As we present various coding samples in this section, you will note that this Java style of exception ...

Get PowerBuilder® 9: Internet and Distributed Application Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.