Using the JaguarORB object – PB Docs 115
Using the JaguarORB object To create a CORBA-compatible client, you can use the JaguarORB object instead of the Connection object to establish the connection to the server. The JaguarORB object allows you to access EAServer from PowerBuilder clients in the same way as C++ clients. Two techniques The JaguarORB object supports two techniques for accessing…
Using point and click – PB Docs 115
Using point and click Users can click graphs during execution. The DataWindow control provides a method called ObjectAtPointer that stores information about what was clicked. You can use this method in a number of ways in mouse events. For example, with the ObjectAtPointer information, you can call other graph methods to report to the user…
Using graphs – PB Docs 115
Using graphs In PowerBuilder, there are two ways to display graphs: In a DataWindow, using data retrieved from the DataWindow data source In a graph control in a window or user object, using data supplied by your application code This chapter discusses the graph control and describes how your application code can supply data for…
Supported datatypes – PB Docs 115
Supported datatypes The following table describes the basic CORBA IDL types supported and their corresponding PowerScript type. CORBA IDL type Mode PowerScript type boolean in, return Boolean by value out, inout Boolean by reference char in, return Char by value out, inout Char by reference octet in, return Byte by value out, inout Byte by…
Providing support for transactions – PB Docs 115
Providing support for transactions Benefits of EAServer’s transaction support EAServer components that you develop in PowerBuilder can participate in EAServer transactions. An EAServer transaction is a transaction whose boundaries and outcome are determined by EAServer. You can mark components to indicate that they will provide transaction support. When a component provides transaction support, EAServer ensures…
Modifying graph properties – PB Docs 115
Modifying graph properties When you define a graph in the DataWindow painter, you specify its behavior and appearance. For example, you might define a graph as a column graph with a certain title, divide its Value axis into four major divisions, and so on. Each of these entries corresponds to a property of a graph….
Invoking component methods – PB Docs 115
Invoking component methods Once a connection to EAServer has been established and a proxy object or objects created, the client application can begin using the server components. Invoking a component method To invoke a method on most component types, you need to execute the PowerScript statements required to perform these operations: Use the CreateInstance method…
Invoking another server component’s methods – PB Docs 115
Invoking another server component’s methods EAServer allows the methods of one server component to call methods of another server component. The other server component does not need to be another PowerBuilder component; it can be implemented in any language supported by EAServer. Accessing a component in the current server To access methods of another EAServer…
Exception handling – PB Docs 115
Exception handling Errors that occur in the execution of a method of an EJB component are mapped to exception proxies and thrown to the calling script. The methods of all the classes in pbejbclient115.pbx can also throw exceptions when, for example, connection to the server fails or the component cannot be located or created. Building…
Deploying a component to EAServer – PB Docs 115
Deploying a component to EAServer PowerBuilder VM must be available on the server You can deploy components to EAServer hosts running Windows, UNIX, and Linux. The version of the PowerBuilder VM on the development computer must also be available on the server. To find out which versions of EAServer and the PowerBuilder VM are available…