- 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
![]() | 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 |
- 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)