Sun Chili!Soft ASP Sun Chili!Soft
ASP Sun Microsystems

 

Constructing Java Objects with Chili!Beans

The Chili!Beans control is used in client scripts in the same way that Microsoft implements COM wrappers for Java objects with the Microsoft JVM.

An instance of any Java class located on the path in the local CLASSPATH environment variable can be constructed, any public methods of the resulting object can be called, and any of its public fields can be accessed.

There are three ways to create a Java object by using Chili!Beans, as discussed in the following topics:

   Accessing a Java Class via Chili!Beans

   Registering a Java Class as a COM Component on Linux and UNIX

   Returning a Java Class From a Method Call or Field Access

Copyright 2002 Sun Microsystems, Inc. All rights reserved. Legal Notice.