this is the lookup code -
Object ref = jndiContext.lookup("MenuDisplayBean");
MenuDisplayHome home = (MenuDisplayHome)
PortableRemoteObject.narrow(ref, MenuDisplayHome.class);
ejb-jar.xml -
<ejb-name>MenuDisplayBean</ejb-name>
<home>com.techsar.xiP.entities.bean.MenuDisplayHome</home>
<remote>com.techsar.xiP.entities.bean.IMenuDisplay</remote>
<ejb-class>com.techsar.xiP.entities.bean.MenuDisplayBean</ejb-class>
jboss.xml -
<?xml version="1.0" encoding="UTF-8"?>
<jboss>
<enterprise-beans>
<entity>
<ejb-name>MenuDisplayBean</ejb-name>
<jndi-name>MenuDisplayBean</jndi-name>
</entity>
</enterprise-beans>
</jboss>
Any way theres no use of this file as my bean nane is same as jndi name.
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user