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 |
By default thread dump goes to System.out log.How can we send it to a particular file so that when we take the thread dump, instead of searching in System.out we can analyse a particular file
How can I avoid resourceexceptions when sending more requests for database connections from the pool than are currently available? : BEA Weblogic
What is the standard way to create threads, do initialization, etc. Within the application server? : BEA Weblogic
what is the difference between sun JDK1.5 and BEA Jrokit 1.5
What is Virtual Host in Weblogic , how to create it & what is the advantage ?
Weblogic admin don't know the admin credentials of weblogic 8.1 UI..how can he get the credentials?
I tried to run two of the applets in the examples directory of the distribution? : BEA Weblogic
What happens if acknowledge() is called within a transaction? : BEA Weblogic
Do you know what type of object is returned by resultset.getobject()?
I am using a weblogic multitier driver in an applet as an interface to a dbms. If I run the class using the sun appletviewer on my local machine, I have no problems. But when I try to run the applet in a netscape browser, it will not connect 83 the two primary cluster services provided by weblogic server are? : BEA Weblogic
Must ejbs be homogeneously deployed across a cluster? Why? : BEA Weblogic
How can we find listineing ports in a machine?