anonymous wrote : +- ConverterBean (proxy: $Proxy52 implements interface
converter.ConverterHome,interface javax.ejb
| .Handle)
So your lookup should be:
Context ctx = new InitialContext();
| Object objref = ctx.lookup("ConverterBean");
This should work. However, i am surprised as to why your bean was bound to the jndi-name
"ConverterBean" instead of "ejb/ConverterBean", which you have
mentioned in the jboss.xml as:
<jboss>
| <enterprise-beans>
| <session>
| <ejb-name>ConverterBean</ejb-name>
| <jndi-name>ejb/ConverterBean</jndi-name>
| <method-attributes>
| </method-attributes>
| </session>
| </enterprise-beans>
| </jboss>
Where are you placing this jboss.xml file(just wanted to make sure that the server is
picking up this file during deployment)
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3962197#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...