March 28, 2016

Finally Standardized JNDI Naming in Java EE 6

Previous Java EE 6 each EE container had its own JNDI naming standard. This means when deploying an EJB in a Java EE 5 container, they were all accessed with different JNDI names.

Now this is history with Java EE 6, which sets the following JNDI naming standards.

  • java:global, e.g. java:global[/application name]/module name/enterprise bean name[/interface name]
  • java:module, e.g. java:module/enterprise bean name/[interface name]
  • java:app, e.g. java:app[/module name]/enterprise bean name[/interface name]


No comments: