Component targets

EAServer Component Target wizard

You use the EAServer Component Target wizard to create a new target containing a custom class user object (to which you later add methods and properties) with the characteristics required by an EAServer component object that you can deploy to EAServer. If you want to create an EAServer component in an existing EAServer component target, use the wizard on the PB Object page.

Access to the EAServer component from a PowerBuilder client application is gained through a Proxy object. You create a Proxy object using the EAServer Proxy wizard on the Project tab page.

Application Server Component Target wizard

You use the Application Server Component Target wizard to create a new target containing a custom class user object (to which you later add methods and properties) with the characteristics required by an Application Server component object that you can deploy to a J2EE-compliant application server. To deploy the component to the application server, you must have the PowerBuilder Application Server Plug-in, which is a separate Sybase product.

If you want to create an application server component in an existing application server target, use the wizard on the PB Object page.

Access to the application server component from a PowerBuilder client application is gained through a Proxy object. You create a Proxy object using the Application Server Proxy wizard on the Project tab page.

Building COM/COM+ components and automation servers

To build a COM/COM+ component or an automation server component, first create a new application target. Then use the COM/COM+ Component or Automation Server wizard on the PB Object page to create the components.

The COM/COM+ wizard creates a custom class user object with the characteristics needed to be a component object that you can deploy to a Microsoft COM+ server.

The Automation Server wizard creates a new custom class user object with the characteristics needed to be an automation server. You can access methods in the user object from clients built with OLE-enabled applications including PowerBuilder.

For information about building components, see Application Techniques.