Tutorial
This tutorial shows you how to create a "Java Client" WebObjects application, which is a distributed Enterprise Objects Framework application that uses a Web browser as its display medium. The application is "distributed" in the sense that business logic can be shared among enterprise objects on the Web client (which are implemented in Java) and enterprise objects on the server (which can be implemented in Java or Objective-C). The steps you take to create a Java Client WebObjects application are remarkably similar to the steps you take to create a typical stand-alone (or "fat client") Enterprise Objects Framework application. The application you'll be creating in this chapter, StudioManager, is based on the Movies sample database distributed with Enterprise Objects Framework (you must have the sample databases installed to do this tutorial). It centers around three types of enterprise objects: Studio, Movie, and Talent. Studios own movies, and they have a budget for buying new movies. Movies feature actors, or "talent." The StudioManager application lets you transfer movies between studios and buy all of the movies starring a particular actor. It also lets you add, modify, and delete studios. The StudioManager example project upon which this tutorial is based is installed in NEXT_ROOT/Developer/Examples/WebObjects/JavaClient.Requirements
Enterprise Objects and Relational Databases
What Goes Into the StudioManager Application
Creating the StudioManager Project
The Ingredients of a Java Client Project
Verifying and Modifying the Model
Creating the User Interface
Building and Testing Your Application
Adding Relationships
Transferring Movies Between Studios
Putting the Finishing Touches on Your Model
Adding Behavior to Your Enterprise Objects
© 1999 Apple Computer, Inc. (Last Updated 13 Sep 99)