O'Reilly logo

PowerBuilder® 9: Internet and Distributed Application Development by John D. Olson, Bill Green

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required