Building Jaguar components
\The Sandbox \PB History & Future \New In PB7 \Jaguar Components
New look
Object-Centric
Development
Nonmodal
Development
Painter
Features
Wizards
To-Do List
Customizable
Shortcuts
Other IDE
Jaguar
Components
Jaguar Clients
COM/MTS
Components
COM/MTS
Clients
Automation
Servers
Remote
Debugging
Jag & COM/MTS
Validation
DB Interfaces
DB Profiles
DB Utilities
DB
Reconnecting
Creating
ASA DB
DW ActiveX
HTML DW
Image
Support
New controls
SP Updates
ActiveX
Documents
SizeMode
Property
CLSID to
Connect
HTML Books

Description

PowerBuilder provides tools for developing custom class (nonvisual) user objects and deploying them as Jaguar CTS components.

Jaguar hosts the PowerBuilder virtual machine natively. This means that Jaguar can communicate directly with PowerBuilder nonvisual user objects, and vice versa. Jaguar components developed in PowerBuilder can take full advantage of the ease of use and flexibility of PowerScript and the richness of PowerBuilder's system objects.

Usage

PowerBuilder includes three wizards for building Jaguar components:

  • Start wizard  Creates a new application, a new custom class user object, and a new project
  • Object wizard  Creates a new custom class user object in an existing application and a new project
  • Project wizard  Generates a Jaguar component from an existing custom class user object

To build and deploy a Jaguar component from a custom class user object, you need to complete the following steps:

  1. Use the Jaguar Component Start Wizard to create a new user object in a new application. Alternatively, if you're working in an existing application, you can use the Jaguar Component Object wizard to create the object.
  2. Add functions, events, and instance variables to the generated user object in the User Object painter.
  3. Test and debug the component.
  4. Deploy the component to Jaguar.

To test or deploy a Jaguar component that you developed in PowerBuilder, you need to create a project object and build the project. You can create a project object from the Start, Object or Project wizard.

To deploy a component, you need to open the project in the Project painter, optionally modify the project settings, and build the project. When you do this, the Jaguar component generator deploys the component interface and the PowerBuilder implementation of that interface to the target Jaguar 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 a Jaguar component each time you save the user object. For more information on live editing, see Testing and debugging the component.

PBL Peeper PB Help PB History
& Future About Us Feedback Site Map

Google
 
Web www.techno-kitten.com
www.sybase.com