Hi again,
I've tried with the following code:
final Context ctx = new InitialContext();
final Object ref = ctx.lookup( "MyCache" );
ctx.close();
cache_ = (TreeCache)
javax.rmi.PortableRemoteObject.narrow( ref, TreeCache.class );
Is that code correct?
I've then tried to call a get() method, but Eclipse incremental compiler
complaint that
"The type org.jboss.system.ServiceMBeanSupport cannot be resolved. It is
indirectly referenced from required .class files"
The code used is something like this:
cache_.put( "/global/ejb", key, value );
Thanks!
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3882391#3882391
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3882391
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user