WebObjects 5.2

Package com.webobjects.eodistribution.client

Provides the communication mechanism between the client and server components of Java Client applications.

See:
          Description

Interface Summary
EODistributionChannel.Delegate This interface defines the methods that can be implemented by the delegate of EODistributionChannels -- mostly to handle exceptions.
 

Class Summary
EOAttribute EOAttribute is the client-side representation of an attribute, containing the information relevant within Java Client.
EODistributedClassDescription EODistributedClassDescription is the Java Client equivalent to EOClassDescription.
EODistributedDataSource EODistributedDataSource is a concrete subclass of EODataSource (defined in the control layer) that fetches using an EOEditingContext as its source of objects.
EODistributedObjectStore An EODistributedObjectStore functions as the parent object store on the client side of Java Client applications.
EODistributionChannel EODistributionChannel is an abstract class that defines the interface for objects handling the communication of data between the client and the server in a distributed Java Client application.
EOHTTPChannel An EOHTTPChannel is a concrete implementation of an EODistributionChannel which handles communication between the client and server in distributed Java Client applications using the HTTP protocol (POST commands).
EORelationship An EORelationship describes an association between two entities.
 

Package com.webobjects.eodistribution.client Description

Provides the communication mechanism between the client and server components of Java Client applications.

Introduction

The EODistribution layer is used in Java Client applications. The distribution layer performs by-copy object distribution and synchronization. It is responsible for synchronizing the states of the object graphs on the client and on the application server. The distribution layer handles communication over a "channel" (which use transports such as HTTP or CORBA) and moves properties in both directions, that is, as objects are fetched and changes are saved. It encodes and decodes objects as they travel back and forth over the channel.

The following table summarizes each class in the EODistribution layer:


Class Client Server Description
EODistributedDataSource X   Fetches data using an EOEditingContext on the client as its source of objects.
EODistributedObjectStore X   Handles interaction with the distribution layer's channel, incorporating knowledge of that channel so it can forward messages it receives from the server to its editing contexts and forward messages from its editing contexts to the server.
EODistributionChannel X   Abstract class for distribution channels.
EODistributionContext   X Encodes data to send to the client and decodes data it receives from the client; also tracks and communicates any changes on the server object graph to the client.
EOHTTPChannel X   Implements a distribution channel using HTTP as the transport.
WOJavaClientComponent   X Used to aide client application startup and is also the target of the data sent by the EODistributionChannel object. Replaces WOJavaClientApplet, which is deprecated.


Last updated Fri Feb 21 13:15:00 PST 2003.

Copyright © 2003 Apple Computer, Inc.