Wednesday, 4 September 2013

Remote JNDI of stateless EJB bean missing

Remote JNDI of stateless EJB bean missing

I have stateless EJB bean implementing Remote as well as Local Interface
and also having mappedname and having @Local annotation at class level . I
deployed this bean and when I see the JNDI , I couldn't see any JNDI with
mapped name whereas the JNDI I could see is local one
The EJB bean is like
@Stateless(
name = "UoMConversionUtilityEJB",
mappedName = "CPSUtilityApplication-UOMUtility-UoMConversionUtilityEJB"
)
@Local
public class UoMConversionUtilityEJBBean extends UoMConverterImpl
implements UoMConversionUtilityEJBLocal,
UoMConversionUtilityEJBRemote {
....
}
The JNDI at weblogic level which I am searching for is
CPSUtilityApplication-UOMUtility-UoMConversionUtilityEJB#com.avocent.commonplatform.cps.utility.uom.UoMConversionUtilityEJBRemote
but it is not present instead the JNDI of that bean present is
ejb/cps/utility/UoMConversionUtilityBean
Why so

No comments:

Post a Comment