In the Administration COnsole of WAS 7, on the Applications > Application Types > WebSphere enterprise applications > application > EJB JNDI names section, I have a table with four columns :
Something like this :
What's the jndi name of my LogWriter bean ?
WebSphere Application Server name servers are an implementation of the CORBA CosNaming interface. The product provides a Java Naming and Directory Interface (JNDI) implementation which you can use to access CosNaming name servers through the JNDI interface.
To view this administrative console page, click Applications > Application Types > WebSphere enterprise applications > application > EJB JNDI names. Note: If any value is modified on this page, all of the metadata files related to the application are refreshed in the configuration repository.
A JNDI name is a user-friendly name for an object. These names are bound to their objects by the naming and directory service that is provided by a J2SE server. Because J2SE components access this service through the JNDI API, an object's user-friendly name is its JNDI name.
The ibm-ejb-jar-bnd. xml file is used for EJB 3.0 and later modules that run on the product, whereas the ibm-ejb-jar. bnd. xmi file is used for pre-EJB 3.0 modules and for web modules.
Below you have table with default names. Each bean gets short and long form. You can override default using ibm-ejb-jar-bnd.xml file or during installation via console. During module startup bindings will be visible in SysyemOut.log
You can read about default bindings here: http://pic.dhe.ibm.com/infocenter/wasinfo/v7r0/topic/com.ibm.websphere.express.iseries.doc/info/iseriesexp/ae/cejb_bindingsejbfp.html
Description Binding pattern
Short form local interfaces and homes ejblocal:<package.qualified.interface>
Short form remote interfaces and homes <package.qualified.interface>
Long form local interfaces and homes ejblocal:<component-id>#<package.qualified.interface>
Long form remote interfaces and homes ejb/<component-id>#<package.qualified.interface>
The component-id defaults to <application-name>/<module-jar-name>/<ejb-name>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With