JCShell - Declare Remote Method for RMI-Applet

  1. Declare the JCShell remote method for your applet's interface method "sampleMethod"
    See also the syntax for method declaration -> detailed command description
    The method declaration result is also a ID and should saved in a JCShell variable for later use. We give these result variable the name "m_sampleMethod".
    The remote applet ID is   2A8A  and the Java signature of this method is public short sampleMethod(short sh)
    The JCShell Command string is:
    method -m m_sampleMethod 2A8A sampleMethod "short(short)"
     
  2. Check the JCShell remote method declaration
    The JCShell Command string is:
    list
    The result of this command should look like this:
    ------- Remote Object 1 -------
    Remote Object:
      JC RMI server applet: "TESTRMI.01"
      JC RMI version: '0202'
      INVOKE instruction byte: '38'
      Remote ref. ID: '2A8A'
      Hash modifier: 'null
      Class: com.ibm.rmi.RmiApplet
    
    Remote Method:
      Name: sampleMethod
      Signature: short(short)
      Descriptor: (S)S
      ID: '979C'