A server program written in one language (for example C++) provides the implementation of a BLOB object that is intended to be accessed by clients that may be written in a different language (for example Java). The client and server computers may have different hardware, but all of them are attached to an internet. Describe the problems due to each of the five aspects of heterogeneity that need to be solved to make it possible for a client object to invoke a method on the server object.

What will be an ideal response?


As the computers are attached to an internet, we can assume that Internet protocols deal with differences in networks.
But the computers may have different hardware - therefore we have to deal with differences of representation of data items in request and reply messages from clients to objects. A common standard will be defined for each type of data item that must be transmitted between the object and its clients.
The computers may run different operating systems, therefore we need to deal with different operations to send and receive messages or to express invocations. Thus at the Java/C++ level a common operation would be used which will be translated to the particular operation according to the operating system it runs on.
We have two different programming languages C++ and Java, they use different representations for data structures such as strings, arrays, records. A common standard will be defined for each type of data structure that must be transmitted between the object and its clients and a way of translating between that data structure and each of the languages.
We may have different implementors, e.g. one for C++ and the other for Java. They will need to agree on the common standards mentioned above and to document them.

Computer Science & Information Technology

You might also like to view...

For most applications and uses, which is the best format to choose for inserting a graphic?

A) JPEG B) Picture Enhanced Metafile C) Microsoft Graphic Object D) Bitmapped

Computer Science & Information Technology

Using good grammar, list one reason why a system might need to have the operating system recovered

What will be an ideal response?

Computer Science & Information Technology

What does C R C stand for?

What will be an ideal response?

Computer Science & Information Technology

Which of the following is not true about creating and using speaker notes?

A) Speaker notes are displayed in the Notes pane of the PowerPoint window. B) Speaker notes enable you to write the words you will say during the presentation and store them with the actual presentation. C) You can print the notes for reference during the presentation. D) If you are using a dual display screen system, or are projecting your presentation, you can show the audience the notes, while you view the slides in Presenter view.

Computer Science & Information Technology