Generating Data Transfer Objects (DTO)

The data transfer object (DTO) design pattern provides better maintainability by separating usecases from the object model, allows for reuse of entity beans across different applications, and increases performance when the attributes from multiple entity beans can be passed to the client with a single call.

To generate data transfer objects:

  1. In the Navigator, select an entity bean.
  2. Right click and choose Generate | Data Transfer Object.

Related topics

About J2EE Design Patterns
Implementing Business Logic

 

 

Copyright © 1997, 2004, Oracle. All rights reserved.