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

Sample Component Development

To illustrate and reinforce the concepts that have been discussed in this chapter, let's walk through an exercise to create a very basic component hierarchy that shows off error logging, EAServer API access, data access (including transaction management), and exception handling. All we'll do is create a base object, a base data access object, a custom DataStore object, and a custom exception object. You'll be able to use this as a starting point for any EAServer development effort and easily build on it for yourself.

The Base Object

The base object is just that: It's very basic. This is a standard EAServer component created with the New, Target, EAServer Component Wizard, as discussed in this chapter. Notice when ...

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