Transfer Object Assembler
constructs a composite Transfer Object from various sources. These sources could be EJB components, Data Access Objects, or other arbitrary Java objects. This pattern is most useful when the client needs to obtain data for the application model or part of the model. The Transfer Object Assembler pattern builds a composite transfer object and returns to the client.
The following is a benefit of using the Transfer Object Assembler pattern:
- Improves network performance
When to Use
You should use the Transfer Object Assembler pattern when:
- You have several transfer objects that are sent between tiers.