|Quick check on your development environment|
This page describes how to develop and deploy a JAIN SLEE SBB component in just a few minutes, using Ant. The main goal of this exercise is to provide a quick way to check that your development environment has been setup properly.
1. Download a sample project
Download the sample SBB project for JSLEE 1.0 or JSLEE 1.1. Make sure you have the corresponding version of Rhino (1.x series for JSLEE 1.0 or 2.x series for JSLEE 1.1).
2. Unpack and configure
Unpack and import the sample project into your IDE. Make any changes as needed in the descriptors, Java source files and configuration files. If you installed Rhino in a directory other than $USERHOME/rhino, change the corresponding parameter in the file build.local.properties.
3 Start Rhino and deploy the example
To start Rhino, execute the command ant start-rhino from the root of the project. To compile the example, generate the deployment unit and deploy it to Rhino, execute the command ant deploy on a different console.
4. Verify the deployment
Check that the SBB deployed and the service activated successfully. Search the example trace message for service activation — the log will be printed in the console where you activated Rhino, and stored in the log file (rhino.log).
5. Undeploy the example and stop Rhino
To undeploy the example and stop Rhino, execute the commands ant undeploy and then ant stop-rhino.
|Try more samples, and develop your own!|
Assuming all is working fine, download and develop more JAIN SLEE components! (See Ant Development for more information.)