Top Banner
Day 17
17

Java Course Day 17

Nov 20, 2014

Download

Education

Oleg Yushchenko

 
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
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