BBj Custom Objects Tutorial

This tutorial provides information about using BBj Custom Objects, which bring the power of object-oriented programming to the BBj® language. With the release of BBj 20.20, custom objects have been updated to enhance their usability in conjunction with Java class objects, and to improve their performance and consume fewer resources (with faster execution times and less memory usage). This document explains the basics of using BBj custom objects, including a number of example programs to help you get started writing object-oriented programs.

The later sections of this tutorial will make use of some example programs. The complete source code for each program is included in an appropriately named sub-folder in a zip file you can download here.

BBj Custom Objects Tutorial Contents

BBj Custom Objects Tutorial: Introduction

BBj Custom Objects Tutorial: Interfaces

BBj Custom Objects Tutorial: Classes

BBj Custom Objects Tutorial: Fields

BBj Custom Objects Tutorial: Methods

BBj Custom Objects Tutorial: Using Custom Objects

BBj Custom Objects Tutorial: Program #1 - Writing a Check

BBj Custom Objects Tutorial: Program #2 - Protected and Private Fields

BBj Custom Objects Tutorial: Program #3: The Static Keyword

BBj Custom Objects Tutorial: Program #4 - Error Handling

BBj Custom Objects Tutorial: Program #5 - Class Inheritance

BBj Custom Objects Tutorial: Program #6 - Callback Choices

BBj Custom Objects Tutorial: Program #7 - Constructors and Field Initialization