Index Changes

NetBeans Plugin

This guide shows you how to install and use the Jbi4Corba netbeans plugin.

Description

With the Jbi4Corba Netbeans plugin, you can create a WSDL file starting from a Corba Interface Definition language (IDL) file. Now, the NetBeans plugin, generate the WSDL file that import the abstract definition of XML Schema in the separated xsd file. If you select a file with extension idl and IDL, the Jbi4Corba plugin is automatically activated.

In addition, you can also modify a WSDL file adding a binding to the Jbi4Corba component, so the WSDL will be suitable to be deployed inside a JBI service unit. This feature is available using the NetBeans WSDL editor.

The plugin is tested with NetBeans IDE 6, with Enterprise Pack installed.

Install

To install the plugin, follow these steps:

  • Download the latest netbeans-plugin zip
  • Unzip the netbeans plugin in a temporary directory. Some .nbm files should be unpacked
  • Start the Netbeans IDE and then select:
    • Tools -> Plugins
    • Selects the Downloaded tab -> Add Plugins
    • Selects the unpacked nbm files -> Install -> next
    • Accept the License Agreement, and then finish

Create Jbi4Corba WSDL fom IDL

After the plugin installation, you are ready to create a new WSDL from a CORBA IDL interface. Yuo can use this WSDL to integrate the component in Composite Applications. For example, you can add the servant as a partner-link in a BPEL process.
To create the WSDL, select an IDL file.

Now, Right-click the IDL file and select Create WSDL.

The jbi4corba wizard now should appear asking you about some configuration data that must be specified.

The first opreration for the WSDL creation is the Interfaces selection (at least one interface must be selected). Notice that one WSDL for eachinterface will be created .

When one interface is selected, it's possible to configure the interface options:

  • Connect to CORBA Servant at deploy Time
  • ORB Properties

The Connect to CORBA Servant at deploy Time allows to specify if the Servant that implements the interface selected must be bound to a CORBA servant at deploy time. See also the Dynamic Interfaces documentation about that. When this option is enabled you must specify the following information regarding the location of the CORBA servant:

  • The localization type
  • The localization value

In addition to the informations required for the Servant Binding you need to specify how to locate the CORBA servant in the ORB properties dialog. By default the plugin selects the Glassfish ORB, but it's possible to set alternative ORBs as JDK Orb or Custom ORB.

If you need to add custom ORB properties you can do that using the Add Row button and specifying the property name and value.

To generate the WSDLs, all the configuration for each interface selected must be valid. When all interfaces selected are valid, click Finish to create the WSDL File's.

Now, if you want, you can manually configure the component. See the User Guide section to know how to correctly set the Jbi4Corba addresses and binding.

JSPWiki v2.4.100
[RSS]
« Home Index Changes Prefs
This page (revision-49) was last changed on 26-Jun-09 05:18 AM, -0700 by 213.174.165.189