Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Remote Method Invocation
- 1. What is Remote Method Invocation (RMI) and what is the purpose of RMI?
- This is a RPC call in a java way. When using this it handles all of the bolder plating( network set up and tear down, data passing etc )
- 2. Discuss the relationship between Remote Procedure Call and Remote Method Invocation
- In java we use methods we translate RPC into Remote Method Invocation.
- 3. Discuss Remote Procedure Call/Method Invocation in relation to space, time, and flow decoupling
- Space
- You need to know the addresse of the part you wanna call. It's p2p ( point 2 point )
- Time
- When it calls the methods it is blocking waiting for the response aka synkronus
- Flow
- On the client there is no decoupling because we send the message and we expect a response right away. ( Fails )
- On the server is flow devopuled because it does not get block it self on a request. ( It just answers when it gets a request ) ( Passes )
- 4. Discuss the role of Remote Procedure Call/Method Invocation in distributed systems
- 5. What is a Java Virtual Machine (JVM)?
- 6. What is a remote object?
- 7. Discuss the three main layers in the RMI architecture, i.e.
- _ Stub and skeleton layer
- _ Remote Reference layer
- _ Transport layer
- 8. What is a remote interface?
- 9. What is serialization?
- 10. What is a RMI Registry?
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement