The Jini lookup service matches service offers to client requests based on attributes or on Java
typing. Explain with examples the difference between these two methods of matching. What is the
advantage of allowing both sorts of matching?

What will be an ideal response?

Attributes - attributes describe properties of a service, for example a printer might specify its speed, resolution,
whether it prints on one of two sides of the paper, its location in the building.
Types - specify the Java data types implemented by the service. e.g. Printer, ColourPrinter.
Both sorts of matching. e.g. if match only by type (e.g. for ColourPrinter), there may be several such services
and the client can specify its selection by means of attributes e.g. to get the nearest one. If match only by
attributes, the type may not be exactly correct.

Computer Science & Information Technology

You might also like to view...

To create a new tile group, ________

A) drag the tile to the left or the right of any existing tile group and release the mouse button B) double-click tile, and select New Group from the menu C) right-click tile, and select New Group from the menu D) drag the tile to the New Group tile and release the mouse button

Computer Science & Information Technology

The greatest common denominator (GCD) of two numbers is the largest integer that can be divided by both numbers evenly (with no remainder).

Answer the following statement true (T) or false (F)

Computer Science & Information Technology