# ===================================================== # # EasyBeans/Celtix project # # ===================================================== # Before compiling the Celtix integration into EasyBeans, you must set the EASYBEANS_HOME environment variable to the location where EasyBeans sources have been checkouted. Report to the EasyBeans user guide. Linux : >$ export EASYBEANS_HOME=/path/to/easybeans-project Windows > set EASYBEANS_HOME=c:\path\to\easybeans-project 1. Build ==================================== First, you need to build Easybeans WebApp : >$ cd $EASYBEANS_HOME >$ ant clean war Then build easybeans-celtix : >$ ant clean war This will produce a new webapp in output/dist/ow_easybeans.war 2. Run ==================================== Add the modified ow_easybeans.war into the $CATALINA_BASE/webapps folder. And start Tomcat : >$ catalina.sh start 3. Deploy EJBs ==================================== 3.1. Build the Sample ------------------------------------ >$ cd examples/celtix >$ ant clean jar This will produce an EjbJar file in examples/celtix/output/dist/session-greeter.jar 3.2. Deploy the EjbJar ------------------------------------ Simply copy the session-greeter.jar in the $CATALINA_HOME/ejb3s forlder. EasyBeans will auto-detect the new EjbJar and will deploy it automatically. 4. Try It ! ==================================== There is no Java Client for your new WebService at the time of writing. But the SOAPUI project will help you to send SOAP requests to your endpoint: Java Web Start link : http://www.soapui.org/jnlp/1.5/soapui.jnlp Create a new WSDL project, Import the WSDL from URL (http://localhost:8080/ow_easybeans/services/greeter) SOAPUI, will creates "Stubs" for each WebMethods available. Simply fill the blanks if needed and press the "Play" button. You'll see some traces on the server side and the response into SOAPUI. Cheers Guillaume