You can use the Project painter to deploy PowerBuilder components.
Deploying PowerBuilder components
In the Project painter Properties dialog box, select the EAServer Host tab, and enter:
Host Name – the TCP host name for the server machine. Do not use “localhost” or the IP address.
Port – the IIOP port number on the host machine; the default is 2000.
Login ID – admin@system.
Login Password – a valid password for the login ID.
To override the host name and port number that the server
uses for its deployment listener, see “Configuring
listeners” on page 41, in the EAServer
System Administration Guide.
From the Component type drop-down list on the Components page, select one of:
Shared component – allows multiple clients to share the same component instance. This provides access to common data that would otherwise need to be retrieved separately by each client connection, and reduces the number of database accesses, allowing the database server to be available for other processing.
Service component – performs background processing for EAServer clients and other EAServer components. EAServer loads service components at server start-up time. A service component can also be shared.
Standard component – you can improve performance by allowing multiple instances of a component to handle client requests.
For detailed information about these component types, see “Building an EAServer Component” in the PowerBuilder Application Techniques book.
In the Standard Options group box on the Components page, to use stateless EJB session beans, select Automatic Demarcation / Deactivation; to use stateful session beans, unselect this option.
You can quickly test changes without redeploying, using live editing—see “Testing and debugging the component” in Application Techniques.
To increase the speed at which live editing runs, perform the following configuration:
Open config/deploy-tool-options.xml, in your EAServer installation.
In the com.sybase.jaguar.compiler.JaguarCompiler component description, set the value of ejbDeployIfUnchanged to false.
Run:
configure deply-tool-options