Setting up the IDE

UltraESB is an ESB with seamless IDE integration, facilitating development, running/testing and debugging of the mediation flows within the IDE itself to improve the development life-cycle of your integration project.

Usage of IDE reduces the development time and improves the quality
Usage of the IDE reduces the UltraESB mediation solution development time drastically. It speeds up and improve the quality of all the 3 faces of the life-cycle;
1. Development - Auto completion and context sensitive information guides you develop the solution faster
2. Running/Testing - No need to build and deploy, you can run the solution that you just coded within the IDE, just like a standalone application and test it
3. Debugging - Just debug instead of running and step through within the IDE to find the cause of the problem or to evaluate any expressions

UltraESB supports all 3 major Development Environments and the following sections will discuss setting up the respective IDE to develop, run and debug UltraESB.

At the end of this section, you have mastered the IDE of your interest to develop, run and debug the UltraESB mediation flows.

Setting up IntelliJ IDEA

This guide introduces the user to the UltraESB configuration, testing and debugging with the IntelliJ IDEA Community Edition, which is an excellent IDE now available free of charge - which offers intelligent editing of the configuration as well as editing of Java code fragments embedded within the XML configuration elements.

The UltraESB distribution ships with an IntelliJ IDEA project that allows one to edit the configuration, write custom mediation code, test mediation and services, and debug everything from within the excellent and user friendly IDE environment. You could easily create a similar project for your favourite IDE, and share it with AdroitLogic for inclusion into future releases. Opening the UltraRuntime project at the UltraESB home directory, one could now start to edit the configuration as shown below from within the IDE.

The very first time IDEA opens up the configuration file, if it reports that the schema URI’s are not registered, hover the mouse over the highlighted text and then when a balloon to the left edge of that line pops up, clinking that will show a menu to "Fetch External Resource". You will need to be connected to the Internet, and once you fetch all highlighted schemas you are all set to use the smart schema aware editing features of the IDE.

register schema uri
fetch resource

Note that as the UltraESB configuration is a Spring XML configuration file, a Spring aware version of IntelliJ IDEA (i.e. the commercial version) or another IDE that supports intelligent editing of a Spring configuration will be able to prompt with the valid options for configuration of the Spring managed beans as shown below. This applies when configuring the transports, transaction and JNDI settings etc.