Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Wiki Markup
{scrollbar}

Sample of a Stateless Session Bean in EJB 3.0

...

  1. Download calculator-stateless-ear-2.0-M2.ear from this page.
  2. Go to the $geronimo_home/bin directory and start the v2.0-M2 server
  3. Deploy the downloaded ear using the console by clicking on this link. The userid/password for the console is system/manager. Or to deploy using the command line, use the following commandcode

    deploy --user system --password manager deploy <path to the downloaded ear>

  4. Click on this url *http://localhost:8080/calculator-stateless*. Read the documentation there.

Info

Once you go the sample application, click on the "source" tab in the top right hand corner to see the source code. Click on the "javadoc" tab to see the javadocs.