This content has been marked as final.
Show 2 replies
-
1. Re: Create and access RMI interface on MBean
adrian.brock Sep 18, 2003 6:55 PM (in response to paulmoore100)Look in chapter2 at the detached invokers.
Regards,
Adrian -
2. Re: Create and access RMI interface on MBean
paulmoore100 Sep 20, 2003 5:29 PM (in response to paulmoore100)Yup - got it, and found coupl of bugs in code (posted and now fixed) and docs.
Using the RMI adapter as the sample RMI invoker is incredibly confusing - it took me several reads to realize that the code listed was not showing me how RMI invoker is implemented but an example of how to do RMI invoke in general. A simple hello world would have been a much better example.
Main thing missing in the docs is that you must implement getMethodMap in your beans interface
Having got it working now I have to say it works well. Good job jboss.
I was wondering if callbacks will work or not - I need to work on that. Or maybe I should use the RMI adapter / notification interface