"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#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...