Dear sir,
I found that some of the example of calling the home object looks like as follows :
InitialConext initial = new InitialContext();
Object homeObject = initial.lookup("BeanName");
some example of call the home object looks like as follows :
InitialConext initial = new InitialContext();
Object homeObject = initial.lookup("java:comp/env/BeanName");
Can anyone tell me the difference between these two examples?
Thank you very much.
Benson