Transports and Interfaces: Siebel eBusiness Application Integration Volume III > Integrating with J2EE Application Server >

Generating JavaBeans for Integration Objects


This section describes how to generate JavaBeans for Siebel integration objects, as well as the methods that are generated for each JavaBean. For information on how to generate JavaBeans for Siebel business services, see Generating JavaBeans for Business Services.

You use the JavaBean Wizard to produce the JavaBean based upon Siebel integration objects. JavaBeans based upon integration objects are designed to be used with EAI Siebel Adapter and may be used to query, delete, upsert, and synchronize information maintained within Siebel's database. The structure of the JavaBeans generated for an integration object and their components is shown in Figure 8. The integration object and its components each have their own Java class, stored in the com.siebel.local.Integration Object Name package.

The Siebel Java Data Bean provides a Java-based programming interface to Siebel eBusiness Applications. Using the Siebel Java Data Bean, you can build Java or J2EE components that interact with the Siebel application object, business objects, business components, business services and property sets.

Figure 8.  Generate Code Wizard Creates Java for Siebel Integration Objects

Click for full size image

To generate Java code for a Siebel Integration Object

  1. Log in to Siebel Tools and lock the project you are going to work on.
  2. NOTE:  For information on how to use Siebel Tools and how to lock projects and so on, consult Siebel Tools Online Help.

  3. Select Integration Objects from the Types tab on the Object Explorer.
  4. Select the integration object for which you want to create Java code, as shown in the following illustration.
  5. On the right top corner of the Integration Object list, there is a set of three buttons. The following illustration shows the Sample Account integration object highlighted.

    Click for full size image

  6. Click the Generate Code button.
  7. Complete the wizard:
    1. Leave the business service as is (there is only one applicable: the Siebel Code Generator).
    2. Select either JDB (Java Data Bean) or JCA (J2EE Connector Architecture/Siebel Resource Adapter) for the Supported Language.
    3. Browse to select an existing folder as the output folder. Your Java code for the selected integration objects are stored in subdirectories there, as explained next.
    4. Click Finish.
    5. The code is generated and the wizard closes, returning you to the Integration Objects form.


 Transports and Interfaces: Siebel eBusiness Application Integration Volume III 
 Published: 23 June 2003