LS.3. JavaBeans Components and Design Patterns

LS.3.1. Allowing Display and Modification of Attributes

We use JavaBeans components to provide a layer of abstraction on top of the individual classes that implement the net.jini.core.entry.Entry interface. This provides us with several benefits:

  • This approach uses an existing standard and thus reduces the amount of unfamiliar material for programmers.

  • JavaBeans components provide mechanisms for localized display of attribute values and descriptions.

  • Modification of attributes is also handled, via property editors.

LS.3.1.1. Using JavaBeans Components with Entry Classes

Many, if not most, entry classes should have a bean class associated with them. Our use of JavaBeans components provides a familiar ...

Get Jini™ Specifications, The, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.