Monday, April 7, 2003 11:28 PM
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.