Hi ALL: I have some confusion regarding the Reference name and JNDI name . say in the code if I have somthing like Object objref = initial.lookup("java:comp/env/ejb/DataMail"); then " ejb/DataMail " is the JNDI name I should give for my ejb . What is the reference name for in the deploytool.??? correct me if I am wrong regarding the JNDI name .