Versions Compared

Key

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

...

  • openejb-ejbd
  • openejb-http
  • openejb-telnet
  • openejb-derbynet
  • openejb-hsql
  • openejb-activemq

To run the example simply type:

$ mvn clean installThe source for this example is in the "telephone-stateful" directory located in the openejb-examples.zip available on the download page.

Note

If your goal is simply to unit test beans with remote interfaces, this is not the right example for you. The LocalInitialContextFactory completely supports remote interfaces and all spec required pass-by-value (serialization) semantics without the need for network sockets. This example shows the use of OpenEJB in an embedded environment where connection outside the
vm is required.

...

Running the example is fairly simple. In the "telephone-stateful" directory of the examples zip, just run:$ cd telephone-stateful

$ mvn clean install

Which should create output like the following.

...