1. First, you must download and install EasyESB-SDK.
2. Add EASY_HOME to your classpath
3. 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 |
4. After that a new maven project is created, go to the mycomponent directory and write the following command line: mvn eclipse:clean eclipse:eclipse
5. Import your project into eclipse
6. Implement the deploy method of MyComponentBehaviourImpl class.
7. run Junit test in eclipse
8. If you want generate the distribution, write the following command line: mvn clean install '-Pdistrib'
9. If you want run the distribution, go to target\mycomponent-1.0-SNAPSHOT\mycomponent-1.0-SNAPSHOT\bin and run ./startup.bat (or .sh)