There are four main tasks involved in developing a plug-in application.
To create and deploy a PowerBuilder window plug-in application:
Create, test, and build the PowerBuilder application.
Create an HTML page that embeds your PowerBuilder application window.
Configure the Web server by registering the appropriate content type (MIME type) and copying the HTML page and PBD files for the application to appropriate directories.
On all client workstations, install the standard or secure PowerBuilder window plug-in DLL and the PowerBuilder deployment DLLs.
When everything is set up, the various computers have the components in Table 33-4.
Computer |
Component |
---|---|
Server |
MIME type registered. For instructions, see “Specifying the MIME type”. |
HTML page with an Embed element for the PBD. |
|
One or more PBDs containing your Application objects. |
|
Client |
PowerBuilder window plug-in DLL in the browser’s Plugins directory. |
PowerBuilder deployment DLLs installed using the Deployment Kit for your platform. |
|
Directory for the PowerBuilder deployment DLLs listed in the system path. |
|
Any additional software required by the plug-in application, such as database connection software or OLE servers and custom controls. |
The rest of this chapter describes the four steps for creating and deploying a PowerBuilder window plug-in application: