Open ESB: The Solution for the Open Minded The Crooked Stick

My Other Crooked Stick (Archery)

Bookmark and Share

Thursday Mar 26, 2009

Having recently been working with the current version of the Open ESB Component Development Kit (CDK) I decided to try and build the current Component Tool Kit Client GUI as a NetBeans Module that provided a number of extra project types. The functionality I provide is built upon the existing core CDK project templates and I hope will provide an alternative interface to the building Open ESB Components. Because I build upon the existing CDK templates I am currently restricted to the functionality that they provide and need to work within the restriction that it imposes.

The current version of the plug-in can be downloaded from here.

NetBean Plug-in Overview


The current version of the Plug-in provides the user with the ability to create Binding Component Projects (Service Engines will come later). These are accessed by selecting New->Project->Open ESB which will display the following Options to the User:



  • OJC Core : Components are developed by Sun annd form the core of the OpenESB product.
  • OJC Contribution : Components built by Sun's partners and are part of the open-jbi-components project.
  • Independent : Are external to the open-jbi-components project and can hence be built without it.
Selecting one of these project types will allow take you through the creation wizard imposing some of the  naming constraints required by the CDK.

Plug-in Prerequisites


Before you can use the CDK Plug-in you will need to have executed the following prerequisite installations:
  1. Open JBI Component Setup : As defined on the OpenESB site here.
  2. Installation of the NetBeans Maven Plug-in and configuration as below:

    Maven Config

  3. Either define the JV_GFBASE and JV_SRCROOT environment variables at system level or create a NetBeans start Script similar to the one below.

     On windows, create runide.bat:

    @echo off
    set NETBEANS_HOME="somedir/netbeans"
    set JV_SRCROOT=somedrive:\some path\open-jbi-components
    set JV_GFBASE=somedrive:\some path where you installed glassfish
    %NETBEANS_HOME%\bin\netbeans %*


    On unix bash/ksh, create alias:

    export NETBEANS_HOME="somedir/netbeans"
    export JV_SRCROOT="somedir/open-jbi-components"
    export JV_GFBASE="some path where you installed glassfish"
    alias runide='"$NETBEANS_HOME"/bin/netbeans


  4. Finally you will need to set the CDK Plug-in options as follows:

    CDK Options


Current Project Status


  • Binding Components
    • OJC Core : Tested
    • OJC Contribution : To be tested
    • Independent : Tested
  • Service Engines
    • OJC Core : To be written
    • OJC Cotribution : To be written
    • Independent : To be written

Known Issues


At present I have commented out the calls to the I18 code within the jbiadapter and packaging pom.xml files because when I attempt to build using NetBeans it throws an exception although this does not happen if you build from the command line.

I assume that this is a Maven reference issue and will resolve it when possible.

In addition I need to revisit the pom.xml files generated for the independent and Contribution Binding components to resolve the reference issues.

Bookmark and Share
Comments:

Post a Comment:
  • HTML Syntax: NOT allowed