[jboss-user] [EJB 3.0] - Re: Invoke remote method without remote interface
asack
do-not-reply at jboss.com
Tue Mar 20 13:12:53 EDT 2007
"pkles" wrote : Hi everybody,
|
| I've been struggling for the last 2 days trying to find out how to invoke a remote method of an EJB without having the remote interface on the client.
|
| For example, is it possible to do something like this?:
|
| Object obj = ctx.lookup("myEjb");
| obj.invoke(methodName,.....,....)
|
| Thanks a lot.
My understanding is no. You never directly call a particular EJB instance but rather get access to a Proxy interface (local or remote) which allows the container to manage the invocation.
Why do you want do this? Why not just define a remote interface?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4029895#4029895
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4029895
More information about the jboss-user
mailing list