[jboss-user] [Remoting] - Re: Looking for a basic tutorial on how to get JBoss Remotin

ron.sigal@jboss.com do-not-reply at jboss.com
Thu Apr 2 03:46:21 EDT 2009


Well, I'm not sure if you're asking how, in general, to make an invocation on the JBoss Application Server, or if you already know how to use, say, AS 4.2 and want to know how to do the same with AS 5.

If it's the former, then there's a tutorial written by John Mazzitelli called "Introducing JBoss Remoting" at 

http://www.onjava.com/pub/a/onjava/2005/02/23/remoting.html.

It's somewhat old, so you should check the details against a current version of the Remoting Guide (e.g., http://www.jboss.org/jbossremoting/docs/guide/2.5/html/index.html).  For example, "xmbean-dd" in the MBean declaration is archaic.  For a current example of a Remoting server configuration, see the MBean called "jboss.remoting:service=Connector,transport=socket" in $JBOSS42_HOME/server/default/conf/jboss-service.xml.

If your question is the latter, well, then, everything that works in AS 4.2 should continue to work in AS 5.  In particular, MBean declarations will still be recognized.  However, AS 5 also supports the configuration of ordinary POJOs, and Remoting 2.4/2.5 has updated its server side configuration to use declarations of org.jboss.remoting.ServerConfiguration instances.  See, for example, $JBOSS5_HOME/server/default/deploy/remoting-jboss-beans.xml.

I hope that helps.  And, of course, we'd be happy if you want to contribute a tutorial.

-Ron



View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4222885#4222885

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4222885



More information about the jboss-user mailing list