TUGAS SISTEM TERDISTRIBUSI

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

Answer: 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 servicesand the client can specify its selection by means of attributes e.g. to get the nearest one. If match only byattributes, the type may not be exactly correct.

Copyright by Fauziah Safarina 2012. Powered by Blogger.

GUNADARMA UNIVERSITY

STUDENTSITE NEWS

My Twitter

Twitter icon

My Tweets

Loading..

Popular Posts

Total Pageviews