When you have an applet’s source code – Apple WebObjects 3.5 User Manual

Page 144

Advertising
background image

Chapter 8

Creating Client-Side Components

144

destination applets are. To determine these, it inspects the visible applets on the
page and looks for some special parameters.

Figure 37. The Principal Objects Involved in Client-Side Components

SimpleAssociation objects don’t get or set values themselves; instead, they rely
on the actual client-side components to do so. This means that if you want to
use the SimpleAssociation class, you must modify the applet so that it
implements the SimpleAssociationDestination interface. This interface defines
the methods that are used to get and set values.

When You Have an Applet’s Source Code

If you write an applet, or acquire the source code for an applet, you can follow
these steps to give the applet the associative behavior it needs to be a client-side
component:

Association

AppletGroup

Controller

Java Applet

client

(browser)

server

page

Advertising