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
You might also like to view...
Text in a Writer document can not be rotated
Indicate whether the statement is true or false
Details around how a retinal scanner is used would be found in the acceptable use section of a security policy
Indicate whether the statement is true or false