0 Replies Latest reply on Oct 23, 2009 5:21 PM by David Lloyd

    Remoting 3: Two ways to create a local client

    David Lloyd Master

      Remoting 3 gives us two ways to invoke local services. One is by creating a client that wraps a request listener directly on the endpoint. The other is to use the connection API to create a local connection, and look up a service across the connection.

      Compare the two approaches:

      http://anonsvn.jboss.org/repos/jbossremoting/remoting3/trunk/samples/src/main/java/org/jboss/remoting3/samples/simple/LocalBasicExampleMain.java

      http://anonsvn.jboss.org/repos/jbossremoting/remoting3/trunk/samples/src/main/java/org/jboss/remoting3/samples/simple/LocalBasicExample2Main.java

      (updated with anonsvn links instead; might take a minute for the anon server to sync up)