|
How to Look up Object in Local Name Space |
|
|
This tip shows the way to look up Object in Local Name Space:
InitialContext c=new initialContext();
customerLocalHome=(CustomerLocalHome) c.lookup("java:comp/env/Customer");
|
Where Customer is JNDI name of an EJB and customerLocalHome is Local Home Interface of Customer EJB.
Related Tips
|
Page 1 of 0 ( 0 comments )
You can share your information about this topic using the form below!
Please do not post your questions with this form! Thanks.