Tipbits are a collection of succinct architecture tips for distributed object systems.
Tip 1 - Hash codes in complex primary keys:
Primary keys with multiple fields require special consideration when programming their hashCode( ) method. This tip explains how to write a hash code algorithm for complex primary keys.
Tip 2 - Bulk Accessors in Entity Beans:
Entity beans with many properties will have many accessors. Because each accessor invocation is network-expensive, aggregating accessors is advantageous. This tip explains how to write bulk accessors that aggregate several single property accessors into on one.
Tip 3 - Validation in dependent objects:
Simple validations, like format validation, is essential to ensuring that data is correct before its persisted or utilized within a system. This tip explains how to conveniently encapsulate simple validation into dependent objects.
Tip 4 - Strategies for Listing Behavior:
The presentation layer often utilizes lists and tables that allow users to navigate a system and choose data. This tip explains how to package and transfer this type of tabular data in EJB.