Creating a Java Client WebObjects Application
The server-side project files are, as usual, accessible from the first column of the project browser (the main project). Most notable of these is the Main component (Main.wo ) in the WebComponents suitcase. The Main.html file contains this generated HTML code:
<HTML>The "Applet" WEBOBJECT tag in the HTML above represents a WOJavaClientApplet component. Java Client applications use this component to create an applet (of class com.apple.client.interface.EOApplet) and to pass this applet several parameters, some standard, such as size and codebase, and others specific to Java Client applications, such as channel class and interface-controller class.
The Main.wod file created by Project Builder contains the following default bindings for WOJavaClientApplet:
Applet: WOJavaClientApplet {Note that Project Builder automatically provides the binding for interfaceControllerClassName (see " The Interface Controller ," above for details).
The WOJavaClientApplet bindings specific to the EODistribution layer are:
A Java Client project includes these other server-side files: