Doubt in context lookup
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Sriram_Sundararajan
Posted On:   Monday, April 7, 2003 11:28 PM

hi

i run the sample code from the jndi tutorial downloaded from sun. That tutorial has got 3 classes bind.java,Fruit.java and FruitFactory.java.

On calling bind method it is calling the getReference() of Fruit class. The look up method calls the getObjectInstance() of FruitFactory class. I can't understand why it is calling and the above two methods are not been called anywhere in the program(bind.java). Please clarrify my doubts.

regards

sri

About | Sitemap | Contact