hello
i am a beginner to
ejb,in my book,somtimes it use following fomat to lookup the home:
Object objref=initial.lookup("java:comp/env/ejb/MyEjb");
but sometimes,it use another format as following:
Object objref=initial.lookup("MyEjb");
what's the difference between them?
and when use what format?
thanks for any helps!