Versions Compared

Key

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

...

Code Block
xml
xml
title#4
<openejb-jar>
  ...

  <session>
    ...

    <!-- applies to LocalOne, LocalTwo, RemoteOne, RemoteTwo, FooHome, and FooLocalHome -->
    <jndi name="{interfaceClass.simpleName}"/> 
  </session>
</openejb-jar>

Global Settings

You can change the JNDI setttings by specifying the GERONIMO_OPTS before lanuching the command geronimo start. For example, to change the JNDI format into {ejbName}/{interfaceClass}, use this syntax:

No Format
set GERONIMO_OPTS="-Dopenejb.jndiname.format={ejbName}/{interfaceClass}

You are responsible for ensuring the names don't conflict.

...