JNDI stand for Java Naming and Directory Interface. It is a set of API and service interface. Java based applications use JNDI for naming and directory services. In framework of EJB, there are two terms.
In Jobs, session beans are bound in JNDI in the following design by default.
In container, EJB are bundled with <application-name>.ear file, then default format is as following −
Refer to EJB - form Application chapter's Jobs relieve output.
Following explanation can be used to customize the defaulting JNDI bindings −
Update LibrarySessionBean.java. consign to EJB - Create Application section.
Assemble the development, deploy the application on Jobs, and prove the following output in Jobs console –
EJB(Enterprise JavaBeans) Related Interview Questions
|J2EE Interview Questions||Core Java Interview Questions|
|JDBC Interview Questions||JSP Interview Questions|
|Android Interview Questions||JMS(Java Message Service) Interview Questions|
|JavaServer Faces (JSF) Interview Questions||Java collections framework Interview Questions|
|Java 8 Interview Questions||Java Collections Interview Questions|
|Java Exception Handling Interview Questions||Java Concurrency Interview Questions|
|Java Serialization Interview Questions||Java Programmer Interview Questions|
|Java Inheritance Interview Questions||Java IO Interview Questions|
|Object Oriented Programming in PHP Interview Questions|
Ejb(enterprise Javabeans) Tutorial
All rights reserved © 2018 Wisdom IT Services India Pvt. Ltd
Wisdomjobs.com is one of the best job search sites in India.