The value stored in JNDI is an object - a proxy object that implements the
interfaces you define.
So...no, you can't pull out an object that only implements one of the
interfaces you've defined.
However, you should be casting the proxy from JNDI into the interface you
want...
Interface1 myBea
This will do what I want - only easier!
Thank you!
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4020869#4020869
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4020869
___
jbo
Word.
S,
ALR
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4020906#4020906
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4020906
___
jboss-user mailing list
jboss-user@lists.
If I may revisit this again, this is what I am doing:
| Interface MyRemoteIF extends Interface1, Interface2
|
| @Remote(MyRemoteIF.class)
| @RemoteBinding(JndiBinding="MyCompany/MySessionBean/remote")
| public Class MySessionBean implements MyRemoteIF
|
|
At the client:
| I
Right...so the proxy object is going to be created by JBoss and will implement
all the interfaces you designate.
When your client does a lookup for this object, it's going to get loaded by the
classloader, along with all dependencies it has.
So if the definition in the classfile is something li