hi friends need you r help.
Previously i was really confused about the JNDI namefor an
ejb. and the ejb-reference for an EJB
But after trying hard i got some notes from a Book (pdf) on a Site ,Quickly i will frame What i wanna discuss and need your help on.
What is got from that book is that the ejb-ref name is a kind of Nick name for the ejb itself. and what happenes is that when we
develop the application we and we use an reference or accessing the EJB. that we call as an ejb-ref for that EJB.
Now there coud be a possibility that the person who is developing the bean . may not deploy it under the same JNDI location as we have refered while coding the bean and know that person has only the class files which he can not modify , or lets we dont wanna him to modify our coding, and By default all the lookup for the bean are prefered under the location "java:comp/env/ejb" this is whtat being recoomened by the EJb specification,.
in that case our ejb-refernce can be mapped to the JNDI name (Exact JNDI name ) by the deployer using some technology called as SYMBOLIC LINKS>!! so..
The reason i have givensuch a long details of my view as i WANT some one to .. tell me that whether i have got the right thing or not..
buz i was not able to .. figure out the reason that why do we need both the JNDI name and ejb-refernce for the EJB's when the job can be done with the either!!!..
SO plz ANY ONE WHO IS CONFIDENT IN THIS SUBJECT HELP HELP ME!!
I HAVE POSTED THIS TWICE BEFORE BUT NO ONE HELPED ME!..