Unable to specify Jndi Name in DeployTool for EJB have only local interface

I'm facing problem while trying to lookup Entity beans locally from a session bean.

While deploying entity bean, DeployTool is _not_ allowing me to specify Jndi Name the the entity bean that has Local interfaces (EJBObjectLocal and EJBLocalHome) only.

How could I get around this?

Please help.

[320 byte] By [elisha.ebenezera] at [2007-10-2 5:57:23]
# 1

Hi Elisha,

The jndi-name does not apply to the Local EJB view.Jndi-names are a way of identifying a particular EJB from *outside* the application in which the EJB lives.The Local EJB view is only available to web components and ejbs that live within the same application(.ear)To use the ejb local view from a web or ejb component, define an ejb-local-ref and use the ejb-link element to refer to the ejb-name of the target ejb.

--ken

ksaksa at 2007-7-16 2:06:25 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...