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

 

Component Programmer's Reference

On Windows and UNIX systems, Sun Chili!Soft ASP provides support for custom server components, which can be useful when your Web applications require complex business logic. The application developer may find it more efficient to encapsulate this business logic in a custom server component written in an advanced language like C++ (on Windows) or Java (on UNIX), rather than trying to implement it with script. Sun Chili!Soft ASP uses COM (Component Object Model) as the standard interface for creating custom components.

Note

At this time there is no compiler or API for third-party COM objects available for UNIX.

On Windows, Sun Chili!Soft ASP server components can be written in any language that supports COM, including Visual Basic, C++, and Java. On UNIX, Sun Chili!Soft ASP server components can be written in Java. If you wish to develop your components in Java, Chili!Beans shields you from many of the details of COM. For more information, see "Chili!Beans Component Reference" in this chapter.

If you want to develop components using C++, this section is for you.

This section provides the following reference information about components:

·   Scope and Threading

·   C++ Interfaces Reference

·   IApplicationObject Interface

·   IReadCookie Interface

·   IRequest Interface

·   IRequestDictionary Interface

·   IResponse Interface

·   IScriptingContext Interface

·   IServer Interface

·   ISessionObject Interface

·   IStringList Interface

·   IVariantDictionary Interface

·   IWriteCookie Interface

·   COM on UNIX

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