 
          
         
               
            
| Remote Method Invocation in Java An Introduction | 
| 
                      
                     Prof. David Bernstein
                      | 
| Computer Science Department | 
| bernstdh@jmu.edu | 
 
               
             
         
             
         
          
         rmiregistry and
              rmid) that provide registry services 
         
             
         
          
         Server)
        Impl suffix (e.g., ServerImpl)
        rmic tool
        normally included the _Stub suffix
        (e.g., Server_Stub)
        rmic tool
        normally included the _Skel suffix
        (e.g., Server_Skel).
         
         
             
         
          
         Remote
                  
                      Interface:
                   Interface:
      Remote interfaceRemote interface has no methods or
              fields and serves only to identify the semantics of
              being remotely availableRemoteException
                  
                      Class:
                   Class:
      Remote interface must list 
              RemoteException in its throws clause 
         
             
         
          
         
CourseDatabase Interface 
         
             
         
          
         
CourseDatabase Implementation 
         
             
         
          
         javac command.
    rmiregistry command
    (which uses port 1099 by default).
    java command).
    History:
rmic tool was 
     used to create stubs and skeletons.
  rmic tool was used
     to create stubs but explicit skeletons were not needed.
  rmic tool is no longer needed.
    (The rmic tool can
     be used for IIOP and IDL.)
   
         
             
         
          
         Activatable
                  
                      Class:
                   Class:
      rmid Tool:
       
         