17
Day 17

Java Course Day 17

Embed Size (px)

DESCRIPTION

 

Citation preview

Page 1: Java Course Day 17

Day 17

Page 2: Java Course Day 17

JNDIJava Naming Directory Interface

Page 3: Java Course Day 17
Page 4: Java Course Day 17

Looking up an Object

Page 5: Java Course Day 17

Looking up an ObjectListing the Context

Page 6: Java Course Day 17

Looking up an ObjectListing the ContextBinding

Page 7: Java Course Day 17

Looking up an ObjectListing the ContextBindingRenaming

Page 8: Java Course Day 17

Looking up an ObjectListing the ContextBindingRenamingSubcontext

Page 9: Java Course Day 17

RMIRemote Method Invocation

Page 10: Java Course Day 17

Server – Registry - Client

Page 11: Java Course Day 17

rmiregistry (1099)

Page 12: Java Course Day 17

remote method call in 5 steps

Page 13: Java Course Day 17

1. Declare the remote interface

Page 14: Java Course Day 17

1. Declare the remote interface

2. Implement the remote interface

Page 15: Java Course Day 17

1. Declare the remote interface

2. Implement the remote interface

3. Start the registry and register the RMI server with it

Page 16: Java Course Day 17

1. Declare the remote interface

2. Implement the remote interface

3. Start the registry and register the RMI server with it

4. Start Server

Page 17: Java Course Day 17

1. Declare the remote interface

2. Implement the remote interface

3. Start the registry and register the RMI server with it

4. Start Server

5. Run Client