The AbstractEntry class implements the Entry interface, and it is designed as a convenience class. It implements methods such as equals() and toString() . An application would probably want to subclass this instead of implementing Entry .
In addition, Sun's implementation of Jini contains a further set of convenience classes, all subclassed out of AbstractEntry . These require the jini-ext.jar file. They are the following:
For example, the Address class contains the following:
String country; String locality; // City or locality name. String organization; // Name of the company or organization that provides // this service. String organizationalUnit; // The unit within the organization that provides this // service. String postalCode; // Postal code. String stateOrProvince; // Full name or standard postal abbreviation of a // state or province. String street; // Street address.
You may find these classes useful; on the other hand, what services would like to advertise, and what clients would like to match on, is pretty much unknown as yet. These classes are not part of the formal Jini specification.