Hi Somesh Rathi,
In
EJB 3.0, JNDI names depend on the Application Server.
Weblogic builds global JNDI names for EJB remote references as follows:
mappedName\#interfacepackage.CalculatorRemote
interfacepackage: the package of CalculatorRemote
You can check this out by accessing Weblogic Admin Console (search for something like: Environment->Server->View JNDI Tree)
The name of EJB local references is defined in deployment descriptors (web.xml and ejb-jar.xml).
Anyway, if you do not want to use lookup explicitly, you could use the @EJB annotation.
Hope this helps,
Manuel