Lagniappes
-
Shared execution space.
-
All Java objects in the program run in the same execution
space in the Java virtual machine (VM).
-
Direct communication between Java objects.
-
Embedded Java objects can communicate directly in and across
HTML pages without the need for JavaScript or LiveConnect.
-
Participation in HTML forms and form posting
-
Existing Java components that implement FormElement in
netscape.application.FormElement, such as those provided by the IFC, can
be used to enhance capabilities. Java code can be used to control and validate
data entry on the client before posting, and can be used to process form
data on posting.
-
Handling of program logic with Java and JavaScript.
-
All BeanConnect programs are implemented by embedding Java
objects in one or more HTML pages. In a more complex and flexible BeanConnect
program, one of the Java objects embedded in each page of the program can
be designated as a special program object that handles program logic. The
designated program object must be implemented in Java. Finally, program
logic can be handled with a combination of Java and JavaScript.
-
Multipage and multiframe operation within a single execution
context in the Java virtual machine.
-
A Java program object can be embedded in any number of HTML
documents, and from any frames within those documents. Only the first instance
of that object that is encountered is instantiated. Subsequent references
to the program object are linked to the original instance of the object,
and run in that program's space, minimizing further allocation of system
resources.
-
Direct control of program objects and their lifetimes.