The Enterprise edition of PowerBuilder 6.0 includes a project generator infrastructure that enables support for open interfaces to PowerBuilder objects. PowerBuilder 6.0 for Windows includes two generators, for C++ classes and for proxy objects to be deployed with distributed client applications.
In PowerBuilder 6.5, two new component generators have been added to support the creation of COM objects and Java classes from objects developed in PowerBuilder
Generating multiple component types from PowerBuilder objects enables an easy transition from one component model to another. Components generated in PowerBuilder 6.0 can be deployed into a variety of middle-tier server environments.
If you have generators installed, when you create a new project in the Project painter, the New Project dialog box shows the types of project you can build. Among the choices is Application, which lets you build a standard executable and dynamic libraries for either Pcode or machine code executables. The other choices available depend on which generators are installed. Each generator will produce a different set of output file types. When you deploy generated components, you may need to deploy the PowerBuilder virtual machine (PBVM60.DLL) on the same machine.
When you select a generator, the Select Objects dialog box opens so that you can choose the objects you want to use to generate a component. Depending on the generator, you may also need to set some properties of the component.
- For information about the C++ generator, see Using the C++ generator.
- If you installed new generators in PowerBuilder 6.5, see the Contents tab of the online Help or Application Techniques in the Powersoft online books on the Sybase web site.
- For more information about proxy libraries, see Application Techniques.