Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

With EJB 3.0, it's now possible to write stateless session bean without specifying a deployment descriptor; you basically have to write just a remote or local business interface, which is a plain-old-java-interface, annotated with the @Remote or @Local annotation the stateless session bean implementation, a plain-old-java-object which implements the remote or the local business interface and is annotated with the @Stateless annotation

Download the example via svn:

svn co http://svn.apache.org/repos/asf/openejb/trunk/openejb3/examples/simple-statelessImage Added

To run the example simply type:

...