Populating and Testing the Model

One of the most important steps in modeling an application is testing it. It is very important to do this as early on in the development and design stage as possible. For our purposes, we are going to use a DisplayGroup application to test and populate the database.

Creating a DisplayGroup Application

Very briefly, a DisplayGroup is a class from the control layer of WebObjects that handles the fetching, sorting, and displaying of Enterprise Objects from the database.

A DisplayGroup Application is an Assistant generated WebObjects application that uses a display group controller to handle user interactions. We'll use one as a test application for our card object model.

1.
Open Project Builder and select File, ...

Get WebObjects® Developer's Guide 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.