To build and deploy an EAServer component from a custom class user object, complete the following steps:
Use the EAServer Component Target Wizard to create a new user object in a new application. Alternatively, if you are working in an existing application, you can use the EAServer Component Object wizard to create the object. These wizards also allow you to enter information exposing the new user object as a Web service.
Add functions, events, and instance variables to the generated user object in the User Object painter.
Test and debug the object.
Deploy the object to EAServer.
To test or deploy an EAServer component that you developed in PowerBuilder, create a project object and build the project. You can create a project object from the Target, Object, or Project wizard.
To deploy a component, open the project in the Project painter, optionally modify the project settings, and build the project. When you do this, the EAServer component generator deploys the component interface and the PowerBuilder implementation of that interface to the target server.
For testing purposes, you can use live editing to build the project automatically from the User Object painter. This removes the need to build the project from the Project painter. When live editing is enabled in the User Object painter, PowerBuilder builds the project for an EAServer component each time you save the user object. For more information on live editing, see “Testing and debugging the component”.
When you create a new user object by using the EAServer Target or Object wizard, you can optionally create a To-Do List. If you check the Generate To-Do List box on the last page of the wizard, the wizard adds tasks to the To-Do List to remind you to complete all phases of development.