This sample shows EJB 3.0 usage in Geronimo 2.0. It has two parts. The first (calculator-stateless-ejb) shows a Stateless Session Bean. The second (calculator-stateless-war) is a simple web client that uses the Stateless Session Bean. 1. Build Using Maven 2.0.5+ to build this sample. mvn install 2. Deploy After the build, An ear file calculator-stateless-ear-2.0-SNAPSHOT.ear will be created under calculator-stateless-ear\target. Deploy this sample via the following command or admin console. deploy.bat deploy %SAMPLE_HOME$\calculator-stateless-pojo\calculator-stateless-ear\target\calculator-stateless-ear-2.0-SNAPSHOT.ear %SAMPLE_HOME$\calculator-stateless-pojo\calculator-stateless-ear\target\plan\geronimo-application.xml 3. Run Use your favorite browser to open the following url: http://localhost:8080/calculator-stateless/ 4. Undeploy Undeploy this sample via the following command or admin console. deploy.bat undeploy org.apache.geronimo.samples/calculator-stateless-ear/2.0-SNAPSHOT/ear