Versions Compared

Key

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

...

OpenEJB will function fine with no configuration at all and will happily create things as needed and select defaults for everything. So in a real sense configuration is all about overriding those defaults. There are several places to put your overrides and an a specific order how they are applied. Here they are in order of preference; higher numbers win over lower numbers1 = highest, 5 = lowest.

  1. InitialContext properties
  2. jndi.properties from the classpath
  3. System properties
  4. openejb.xml declarations/properties
  5. service-jar.xml declarations/properties (internal concept, no need to worry about it)

...