Top Stories by Millard F. Brown
Exception Handling Using PowerBuilder, EAServer, and JavaServer Pages Basic
Techniques and Pitfalls
PowerBuilder's Try-Catch-Finally exception handling mechanism brings a great
deal of power and versatility to application and component development. It's
important to be able to manage and handle exceptions thrown by service
components, particularly when you are deploying to a Web environment. When
you develop with PowerBuilder 9's JSP targets, you need to know how to throw
exceptions from PowerBuilder components and how to catch and handle the
exceptions within your JSP target. This article examines the techniques you
can use and the challenges you will face in adding robust exception handling
to your JSP Web application.
Try-Catch-Finally in PowerBuilder
WHY WE USE TRY-CATCH-FINALLY
The Try-Catch-Finally method of exception handling was introduced in
PowerBuilder 8. ... (more)
Those who use PowerBuilder appreciate its productivity, its rich user
interface, and its capable implementation of object orientation. But database
connectivity is the cornerstone of PowerBuilder's power. PowerBuilder
incorporates native drivers for several popular DBMSs, including Informix,
Sybase Adaptive Server Enterprise, and Oracle. If the only things that were
delivered with PowerBuilder were these native interfaces, PowerBuilder's
ability to connect to many useful and popular databases would be somewhat
limited. Fortunately, in addition to the native drivers, PowerBuilder ... (more)
Have a good one." We hear this expression often these days. I find myself
wondering what exactly it means. Have a good...what? But think about it. What
it really means is that the speaker is unwilling to make a commitment.
Someone might be offended or annoyed if you said something that actually
contained any meaning. Remember "Have a nice day"? That expression actually
carries some small amount of content. But pretty soon anyone using it was
ridiculed and berated for being trivial. Commitment, even on a modest level,
can sometimes be dangerous.
Commitment takes courage. With EAS... (more)
PowerBuilder includes a powerful set of foundation classes to speed
development. These classes are collectively known as the PowerBuilder
Foundation Classes, or PFC. Part 1 of this article provides an introduction
to PFC and shows how to use it. For the experienced PFC developer, I'll
outline the more recent changes and additions to PFC in Part 2.
This article is not intended as a complete professional reference for PFC -
that could be (and is) the subject of an entire book on its own. Nor is it
intended as a tutorial, although there are code samples to show you how to
use some ... (more)
Exception Handling Using PowerBuilder, EAServer, and JavaServer Pages Basic
Techniques and Pitfalls
PowerBuilder's Try-Catch-Finally exception handling mechanism brings a great
deal of power and versatility to application and component development. It's
important to be able to manage and handle exceptions thrown by service
components, particularly when you are deploying to a Web environment. When
you develop with PowerBuilder 9's JSP targets, you need to know how to throw
exceptions from PowerBuilder components and how to catch and handle the
exceptions within your JSP target. Th... (more)