Table of Contents

Tutorial Sections

The tutorial has sections that introduce various portions of the Facets product and the Java class libraries used in conjunction with it. Use this list to jump into the tutorial if you wish to read specific portions of the tutorial without others.

  1. Sample Application Overview
    • Game Description

  2. Installation
    • Suggested configurations for various tasks
    • Naming the server
    • Setting up your disk
  3. Basic System Administration
    • Overview of the Facets System
    • Using the Console
    • Finding the status of Facets Processes
    • Starting and Stopping Facets
  4. Some Facets concepts
    • Objects are not flattened
    • There is no need for SQL
    • Hieararchies do not need to be simple
    • Identity and Relationships
  5. Working with Sessions
    • Why we need sessions
    • Sessions and Threads
    • Getting a session
  6. Building a Facets Application
    • Configuration for Development
    • Classes required for Building
    • Building a small Facets Application
    • Running the program
    • Deploying the program
  7. Transactions
    • Why we need transactions
    • Starting a transaction
    • Committing the transaction
    • Best practices a sessions and transactions
  8. Commit Records and Transaction Logs
    • About Commit Records
    • Transaction logs
    • Commit Record Counts
  9. Naming and Managing Objects
    • Why name objects?
    • Namespaces in Facets
    • Working with Namespaces
  10. Retrieving Objects
    • Looking up a named object
    • Using the retrieved object
    • Caching persistent objects for later re-use
    • Best practice for object re-use
  11. Persisting Collections of Objects
    • Managing collections of Objects
    • Concurrent Update Classes
    • The Facets Collection Classes
    • The Manager Pattern
    • Best practices for collection management
  12. Modifying persistent objects
    • Retrieving the objects
    • Handling conflicts - when to lock and when not to
  13. Creating a good persistent hierarchy
    • Using objects as objects
    • Sequential access and random access
    • Deciding on Persistence

  14. Collected Best Practices


©2005 GemStone Systems, Inc.