JBoss.orgCommunity Documentation

ESB Tools Reference Guide

Version: 2.1.0.CR1

April 2008


1. Introduction
1.1. What is ESB?
1.2. Other relevant resources on the topic
2. ESB Support
2.1. ESB Framework Installation
2.2. Creating a ESB File
3. ESB Editor
3.1. ESB File Editor
3.2. ESB Editors Features
3.2.1. ESB syntax validation
3.2.2. Support for XML Schema
3.2.3. Content Assist for ESB XML file
3.2.4. Synchronized Source and Visual Editing

Since v.1.0.1 Developer Studio supports xml editor for the ESB XML file used in JBoss ESB.

At this point the structured xml editor will prompt you to specify a proper ESB environment.

In this section we will focus more on all concepts that JBDS integrates for working with ESB.

This chapter will provide you with detailed information on how to install JBoss ESB.

To install the JBoss ESB plugins for Eclipse, you need the following:

The quickest way to get a WTP version is to download "Eclipse IDE for Java EE Developers" via www.eclipse.org.

Note:

Remember to choose the download that matches your OS and use Java 5 when you run it.

You can also find the latest development release of JBoss ESB from JBoss ESB Downloads Site

  • Finally, install the build

Unzip the file(s) directly into your Eclipse plugins/features directory and it will be readily available. It might be necessary to start Eclipse with eclipse -clean to make sure it starts clean and rereads the new list of plugins.

ESB editor has lots of useful features, they are described in details in this chapter. In addition you get to know ESB Editor uses combined visual and source editing of esb files.

JBoss Developer Studio comes with a powerful and customizable ESB File Editor. You can use the ESB File Editor to develop an application using ESB technology.

ESB file editor has two tabs: Tree and Source.

You can switch to Tree. The Tree view for the editor displays all ESB artifacts in a tree format. By selecting any node you can see and edit its properties which will appear in the right-hand area. For example, a Provider:


You can easily switch from Tree to Source by selecting the Source tab at the bottom of the editor and work in Source view.


The Source view for the editor displays a text content of the ESB file. It is always synchronized with tree view, so any changes made in one of the views will immediately appear in the other.

No matter what view you select, you get full integration with Outline view. For example, you can work in the Source view with the help of the Outline view. The Outline view shows a tree structure of the ESB file. Simply select any element in the Outline view, and it will jump to the same place in the Source editor, so you can navigate through the source code with Outline view.


Adding, editing or deleting of some artifacts operations are available right in the Tree view. Right-click any node and select one of the available actions in the context menu. For example, you can easily add a new provider:


You can easily add a new service too:


The same way you can create a listener for service and other elements of ESB:


The same actions can be done in the right part of Tree view tab using Add, Edit, Remove buttons.

JBoss Developer Studio has powerful editor features that help you easily make use of content and code assist.

The last chapter covers a capabilities on how you can use ESB editor.

In summary, this reference supplies you with all necessary information on the functionality that JBoss ESB Editor provides for work with JBoss ESB.