Knowee
Questions
Features
Study Tools

What is the function of marshaling and un-marshaling process?Answer :Allows programs to call procedures located on other machines.Creating a stub for sending and receiving messages.Allowing application to integrate.Converting data values from their local representation to a network format and on to the remote representation.

Question

What is the function of marshaling and un-marshaling process?Answer :Allows programs to call procedures located on other machines.Creating a stub for sending and receiving messages.Allowing application to integrate.Converting data values from their local representation to a network format and on to the remote representation.

🧐 Not the exact question you are looking for?Go ask a question

Solution

Marshaling and unmarshalling processes serve several important functions in distributed systems and programming:

  1. Remote Procedure Call (RPC): Marshaling allows programs to call procedures located on other machines. This is done by packaging or 'marshaling' the input parameters so that they can be sent over the network.

  2. Stub Creation: Marshaling involves creating a 'stub' or a piece of code that stands in for the remote procedure. This stub is responsible for sending and receiving messages.

  3. Application Integration: Marshaling and unmarshalling processes allow different applications to integrate and communicate with each other, even if they are written in different programming languages or running on different platforms.

  4. Data Conversion: Marshaling involves converting data values from their local representation to a network format. This is necessary because different systems may represent data in different ways. After the data reaches its destination, it is 'unmarshalled' or converted back into the format that the remote system can understand.

This problem has been solved

Similar Questions

What is marshalling and unmarshalling?

The message-passing model allows processes to communicate (A) by sharing a common memory region. (B) by sending and receiving messages through the operating system. (C) by directly modifying each other's memory. (D) through a centralized messaging server. (E) using hardware interrupts.

What are the essential operations that can be performed on processes within an operating system?

What is the function of the command interpreter? (A) Translating program in a high-level language into machine code (B) Memory management (C) Execute the user-specified command (D) Controlling input/output operations (E) Managing file system operations

What is the abstraction for processes at the application layer to connect to the network via the transport layer?

1/1

Upgrade your grade with Knowee

Get personalized homework help. Review tough concepts in more detail, or go deeper into your topic by exploring other relevant questions.