[jboss-user] [EJB 3.0] - Re: Accessing EJB3 without a home interface

nbhatia do-not-reply at jboss.com
Sun Jul 13 04:42:44 EDT 2008


Thanks Andrew. That was the issue! So I have couple of follow up questions:

1) Is this JNDI name (helloworldejb3-app-1.0/HelloWorldBean/remote) implementation specific? Is there any way to give it a more user friendly JNDI name, such as "HelloWorld"?

2) Is there a nicer way to get a reference to the EJB in the client? As you can see, I am explicitly creating a context and using it to look us the bean. Can @EJB or @Resource annotations be used on the remote client to lookup the EJB or the Context?

Thanks.
Naresh

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4164087#4164087

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4164087



More information about the jboss-user mailing list