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...
The ________ returns a value of TRUE if ANY of the tested conditions are met
Fill in the blank(s) with correct word
Names of cells and ranges cannot use ____.
A. uppercase letters B. lowercase letters C. digits D. spaces
In the following code for the find method, what is the missing code?
def find(self, item): def recurse(node): if node is None: return None elif item == node.data:
A. return node.data B. return self.data C. return recurse(node.root) D. return node.root
Which of these is an example of advance - fee fraud?
A. zombie b. botnet c. phish D. evil twin attach E. Nigerian letter scam