--- Adrian Brock <[EMAIL PROTECTED]> a �crit : > 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.
It will work just by doing the client-side lookup using the JBoss Naming factory instead of the Sun one ? Just to be clear : - client lookups the object by sending a request to the JNDI port => the default JNDI port can be overriden by the jndi.properties (client side) - the corressponding object is sent to the client by the server using the RMI port => if I modify the default RMI port (4444), how to tell the client to get the object from another port than 4444 ? > > If this is automatic, how to call these methods > via a > > web browser (which URL) ? > > I meant using this kind of URL : http://localhost:8080/jmx-console/HtmlAdaptor?action=invokeOpByName&name=jboss%3Aservice%3DJNDIView&methodName=list&argType=boolean&arg0=True but this question is obsolete : it is obvious every jmx-managed methods can be accessed this way, isn't it ? 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
