Updated JBI CDK (JBI Component Development Kit)
I have updated JBI CDK modules in the latest open-esb installer
(
https://open-esb.dev.java.net/Downloads_OpenESB_Addons_NB6.html)
which
now provide both runtime and design time development support for both
Binding Components(BC) and Service Engines(SE). There is still some
work in progress for JBI CDK to improve the existing features and
develop new features to provide more help on the component development
process and yes, documentation on how to use these tools will be very
helpful :-). I will post videos and documentation on these tools
in the near future.
Here is the summary of changes
- New component code - The component code generated for BC or
SE
by the project wizard is now capable of handling the wsdl 1.1 based
deployments. The binding code further shows the processing of the wsdl
1.1 extensions using which a binding component can configure the
services it provides and consumes. If you go through the code you
will
find answers to the following :-)
- Component lifecycle code
- How to handle installation lifecycle
- How to handle component lifecycle
- WSDL 1.1 based deployment code (service unit mgmt)
- How to read service definitions from wsdl files
- How to read service configuration from wsdl extension elements
- How to use jbi wrapper to wrap wsdl 1.1 messages
- How to denormalize, normalize concrete (protocol
specific)
messages
- How to handle message exchange events
- Testing code
- How to configure Service assembly artifacts ( jbi.xml )
- How to configure service unit artifacts ( jbi.xml, .wsdl, ...)
- How to build service units and service assembly
- How to test the message exchange using external client
- Added new user library to include wsdl1.6.2 library in the
component project for handling wsdl1.1 processing in the component code.
- Updated the BC design time plugin generation wizard which now
generates generates all the necessary artifacts required to represent
the BC design time in composite app project, wsdl editor, wsdl wizard
and CASA editor. Note that there is no tool to regenerate these
artifacts with extension schema changes and component description
changes and developer can manually add these to each artifact. We are
planing to provide the tool that can regenerate these artifacts.
- Netbeans module project artifacts
- Project meta-data and module dependencies configuration
- META-INF/services configuration for lookups
- CompApp hooks in layer.xml for component configuration.
- WSDL extension schema configuration
- Create wsdl extension schema file
- WSDL wizard artifacts
- WSDL templates with default extension configuration
- WSDL editor artifacts
- layer.xml configuration for wsdl extension elements
- wsdl extension validator model
- Added SE design time plugin generation wizard - this wizard
generates Netbeans module development project which will have code for
jbi module project (netbeans ant based project system) required to
participate in the composite application project to create and build
the service unit archive file targeted to a service engine. The jbi
module project code is a netbeans ant based project in the IDE with the
required
hooks to participate in the composite application project system. To
understand the code one should have understanding of the
Netbeans Ant based project system and how it works in the IDE
environment. For more details about the Netbeans Ant based project
system see http://projects.netbeans.org/buildsys/howto.html
and http://projects.netbeans.org/buildsys/design.html