| Home | Previous Lesson: Distributed Computing�PowerBuilder Implementation Next Lesson: Connection Object Properties |
Using this object, the client application can talk to the server application. The usage of this object is similar to using a transaction object. However, unlike SQLCA, there is no built-in global variable for the connection object. You need to declare and instantiate a Connection Object using CREATE statement and set attributes similar to the one you set in the SQLCA. In this object, you set attributes like communication-driver name, server computer name and communication protocol type, etc.�explained in detail in 'Connection Object Properties' section. Finally you need to call ConnectToServer() function to connect to the server application.
The are the steps you need to follow to connect to the PowerBuilder Application Server.
Then you need to call CreateInstance() function as needed throughout the application to create instances of remote objects.
| Home | Previous Lesson: Distributed Computing�PowerBuilder Implementation Next Lesson: Connection Object Properties |