Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


whats is mean by jndi

Answers were Sorted based on User's Feedback



whats is mean by jndi..

Answer / abhinandan

JNDI is used to create instances of object and passing a
reference of the object to the server.Through JNDI one can
access the particular object through an unique name
associated with the particular Object. Eg

Hashtable ht = new Hashtable();
ht.put("Context.InitialContext","---");
ht.put("URL.ProviderURL","t3://localhost:1099/");
Context cntx = new InitialContext(ht);
DataSource ds =(DataSource)cntx.lookup("TestDataSource");
Connection con = ds.getConnection();

Is This Answer Correct ?    9 Yes 0 No

whats is mean by jndi..

Answer / mahendar

JNDI is an naming registry.Using JNDI you can get SQL
Connection,mail connection.

Is This Answer Correct ?    3 Yes 0 No

whats is mean by jndi..

Answer / gokul d

jndi stands for java naming directory interface....it has
two methods ie naming.lookup(url) and naming.bind
(host,server) used in networking as well in EJB.

Is This Answer Correct ?    2 Yes 0 No

whats is mean by jndi..

Answer / siva prasad

Java Naming Domain Interface

Is This Answer Correct ?    2 Yes 14 No

Post New Answer

More Advanced Java Interview Questions

What is clustering? What are the different algorithms used for clustering?

0 Answers  


What are synchronized methods and synchronized statements?

2 Answers   Adobe,


Can I run seam with jdk 1.4 and earlier?

0 Answers  


which of the following authentication is stronger than the others? a. Http Basic b. Http DIGEST c. Form based

1 Answers  


What is the argument type of a programs main() method?

0 Answers  


What state does a thread enter when it terminates its processing?

0 Answers  


how do you Handle Front End Application data against DB with example?

0 Answers   Campus Interaction, HCL,


What are the JSP implicit objects ?

1 Answers   eMids,


Different between Struts and Spring? or Why use Spring, if you are already using Struts?

3 Answers   HP,


What are the different class loaders used by jvm?

0 Answers  


difference between applicationserver and webserver

2 Answers   SolutionNET,


diffrence between jsp and servelts.

6 Answers  


Categories