org.gloin.example.jrap.useresourceservice
Class Client

java.lang.Object
  |
  +--org.gloin.example.jrap.useresourceservice.Client

public class Client
extends java.lang.Object

Client looks up a simple user defined service and invokes a method on that service. Because the JRAP URL protocol handler is installed, the service proxy can be annotated with a jrap url.

  • jrap protocol handler installed from the command line. Could choose to use org.gloin.resource.protocol.jrap.Handler.install().

  • Look up the user service. Lookup does not have to be as tolerant of failure as shown here.
  • Invoke a method on the test service proxy

  • Constructor Summary
    Client()
               
     
    Method Summary
    static void main(java.lang.String[] args)
               
     
    Methods inherited from class java.lang.Object
    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
     

    Constructor Detail

    Client

    public Client()
    Method Detail

    main

    public static void main(java.lang.String[] args)
                     throws java.lang.Exception