Establish the connection
- Last Updated: February 11, 2026
- 2 minute read
- OpenEdge
- Version 13.0
- Documentation
To establish a connection to an application server, you must instantiate an AppObject. You may create an AppObject using one of the four available constructors, described in this section.
The following constructor establishes an application server connection, with
the application server information specified in the Connection object (connectObj):
|
Where AppObject is the name of the AppObject as defined in ProxyGen.
A Connection object can be instantiated with
one of the constructors documented in Connection class.
The following constructor establishes an application server connection, with the specified application server connection information url, user ID, password, and information required by the application server application at connection time:
|
Where AppObject is the name of the AppObject as defined in ProxyGen.
The following constructor establishes an application server connection, with the specified user ID, password, and information required by the application server application at connection time:
|
Where AppObject is the name of the AppObject as defined in ProxyGen.
The above constructor uses default application server connection information.
This defaults the URL to http://localhost:8810/apsv/appService, where appService is
the AppService Name setting specified in the general
settings of the ProxyGen Generate Proxies dialog
box.
The following constructor establishes an application server connection, with no specified application server information:
|
Where AppObject is the name of the AppObject as defined in ProxyGen.
The constructor above uses default application server connection information.
This defaults the URL to http://localhost:8810/apsv/, where
apsv is the AppService Name
setting specified in the general settings of the ProxyGen Generate Proxies dialog box.