On Fri, 2003-12-05 at 12:10, Ionel GARDAIS wrote: > Hi, > > I have a standalone app which I want to migrate as a > JBoss service. > > By now, the application provides RMI stubs to remote > clients > > If I just recode the current applcation to use the JMX > system and deploy it under JBoss as a .sar, how could > my clients retrieve the stubs ? should I launch an > rmiregistry ? >
That would be one way. > second point, most (but not all) of these stubs are > management methods. They can all be recode as > jmx-managed methods. > How to export these jmx-managed methods to the http > connector ? You mean the jmx-console? This is automatic. > If this is automatic, how to call these methods via a > web browser (which URL) ? > The jmx-console is not designed as a generic protocol adapter. There are some parameter types it does not cope with. Of course you could write property editors for all your parameter types. Other adapters like the RMI adapter or jboss.net's version that uses SOAP are more generic. You can also deploy a proxy to your JMX MBean into jndi, see Chapter 2 of the admin docs. That shows how the RMIAdapter mbean provides remote access to the MBeanServer using jboss invokers. The same thing can be done for any mbean, that follows the pattern. Regards, Adrian > thanks, > ionel > > ___________________________________________________________ > Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en franÃais ! > Yahoo! Mail : http://fr.mail.yahoo.com > > > ------------------------------------------------------- > This SF.net email is sponsored by: IBM Linux Tutorials. > Become an expert in LINUX or just sharpen your skills. Sign up for IBM's > Free Linux Tutorials. Learn everything from the bash shell to sys admin. > Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click > _______________________________________________ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user -- xxxxxxxxxxxxxxxxxxxxxxxx Adrian Brock Director of Support Back Office JBoss Group, LLC xxxxxxxxxxxxxxxxxxxxxxxx ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
