Chapter 12 Calling EAServer Component Methods from PowerDynamo
EAServer is a platform-independent component transaction server that allows you to develop component-based applications that can be accessed by thousands of clients simultaneously. EAServer brings flexibility to PowerDynamo scripts by allowing you to create a component, deploy it to the EAServer, and share it among remote sites using PowerDynamo scripts that call the EAServer component.
PowerDynamo also brings flexibility to EAServer by providing a means for accessing EAServer components and their business logic through an ultra-thin intranet or Internet client.
EAServer components can be:
You can call these components from within a Dynamo script as stored procedures or as ActiveX or Java objects. The type of component being accessed is irrelevant to the client.
The main benefits to using EAServer components in Dynamo scripts include:
The way that EAServer components are accessible by Dynamo is advantageous because there are no restrictions on how Dynamo can manipulate the component results. The component results, in the form of HTML pages, are controlled by Dynamo.
A brief summary on setting up clients to access EAServer is given in the next section. For detailed information on setting up clients that require EAServer access, see the EAServer Programmer's Guide.
There are a few benefits to using ActiveX or Java objects against an EAServer component instead of MASP method calls:
connection.CreateComponent
method) require
that you enter a full string each time you make a call.
If a script requires repeated use of an EAServer component, creating an ActiveX object or Java stub is the preferred method of working with an EAServer component and its methods. ActiveX, however, is a Microsoft technology, which means it is only available on Microsoft operating systems. Java, on the other hand, is platform-independent, which means that Java objects can run anywhere.
Copyright © 2001 Sybase, Inc. All rights reserved. |