Versions Compared

Key

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

...

To run the example change to the directory containting containing example and run Maven:
(openejb3_project_dir is the top level directory of OpenEJB3 project)

...

setMaxLineItem method in InvioceBean class is annotated with @Resource annotation to inject a simple environment entry. By default, the JavaBeans propery property name is combined with the name of the class in which the annotation is used and is used directly as the name in the bean's naming context. JNDI name for this entry would be:

...