JNDI Usage for weblogic?
Answers were Sorted based on User's Feedback
Answer / vineet
Generally JNDI is used to locate the Objects residing in
different location. So like Yellow pages are helpful to find
out certain things, similarly JNDI is useful to search the
objects.
In Weblogic JNDI is highly useful as here in Connection
Pool, Virtual Host etc. places it creates Objects . So to
locate & search the Objects , JNDI is useful.
Is This Answer Correct ? | 19 Yes | 4 No |
Answer / vamsee
JNDI(java naming directory interface)
the name it self shows that it is a interface for creating
name directorys.this jndi useful for know thw location of
objects.
coming to weblogic each server have one jndi as well as
wech cluster has cluster wide jndi.this very much useful
for finding the objects and moniter the objects&avoid the
nameconflict .
Is This Answer Correct ? | 14 Yes | 1 No |
Answer / sukumar
JNDI: Java Naming and Directory Interface it is a API.
The Weblogic Server Uses This For storing te Different
objects(Like Connection factories, Datasourc....). These
Objects Retrived from JNDI tree when they are want to be
Used.
Is This Answer Correct ? | 9 Yes | 5 No |
Answer / vru
Applications uses naming service to locate objects in data sources, EJBs, mail sessions, jms etc... and so on in network. A naming services associates names with objects and that finds objects based on thier given names.
it is defined to be any independent applications or directory implementations.it is support the use of number of method accesing new and existing services.
this supports allows to any service-provider implementation to be pluged to jndi frame work. it using spi(standard provider interface) convience.
Is This Answer Correct ? | 3 Yes | 0 No |
Answer / mohit
Hello,
In very easy language, we can say that JNDI is used in weblogic to call objects like JMS, JDBC, destinations, etc.
Each and every object has JNDI name which is used internally while calling some objects.
Each and every object should have unique JNDI name.
JNDI names are stored in tree like structure called JNDI tree.
Is This Answer Correct ? | 5 Yes | 4 No |
Answer / katam tirupathi
JNDI is a API(Application Programming Interface)accessed by different naming and directory services
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / enigma
As per my views,
With all due respect to interviewer, the question is not
framed properly. It could have been "What is JNDI ?"
JNDI is a generalised concept. It is not specific to
weblogic. JNDI is same in websphere, weblogic,Tomcat,LDAPS.
JNDI is the most convinient data structure which can be
used for implemtation of any application server, webserver
or any complex JVM based system. We can implemet JNDI for
all the folders and files store on the PC. JNDI is nothing
but the basic data structure which known as Trees.
Is This Answer Correct ? | 4 Yes | 5 No |
Answer / mahendra
As per my views,
JNDI is an context lookup for information retrived from
application.
and also we can say, JNDI is a line to reach/trace our DB
data.
and also we can say, JNDI is like a folder which contains
information sent/recevied to/from database.
Is This Answer Correct ? | 3 Yes | 9 No |
what is the main key difference(s) between all application servers? (WebLogic and Websphere and Jboss)
What are weblogic clusters?
what are the benefits of classpath?
Which of the attributes in the monitoring tab for a jdbc connection pool in the administrative console tell us how many clients are currently waiting for a connection? : BEA Weblogic
What is meant by managedserver?
Explain the tier architecture of a web logic server?
How can default JVM be changed to other?
What Is Multicast And Unicast In Weblogic ?
What is thread dump? What is the UNIX command for taking thread dump?
how to handle out of memory in weblogic? and if server is getting more requests then what we have to do in production environment?
What is Connection Pool ?
how can we sync the nodes with administration server in weblogic.