View Source


# First, you must download and unzip EasyESB-SDK.

# Add *EASY_HOME* to your classpath

# Open a shell, and write the following command line: *_easy -create-component -p org.mypackage -c MyComponent_*

{note}
the option -p allow us to set the package name of project
the option -c allow us to set a name to the new component
{note}

# After that a new maven project is created, go to the mycomponent directory and write the following command line: *_mvn eclipse:clean eclipse:eclipse_*

# Import your project into eclipse

# Implement the deploy method of MyComponentBehaviourImpl class.

# run Junit test in eclipse

# If you want generate the distribution, write the following command line: *_mvn clean install '-Pdistrib'_*

# If you want run the distribution, go to target\mycomponent-1.0-SNAPSHOT\mycomponent-1.0-SNAPSHOT\bin and run *_./startup.bat_* (or .sh)