Chapter 7. Business Tier Patterns

Topics in This Chapter

  • Business Delegate

  • Service Locator

  • Session Façade

  • Application Service

  • Business Object

  • Composite Entity

  • Transfer Object

  • Transfer Object Assembler

  • Value List Handler

Business Delegate

Problem

You want to hide clients from the complexity of remote communication with business service components.

When clients access remote business service components directly, the following problems can occur.

Clients interact directly with the business service interface. This means that when the business service code changes, the client code might need to be changed, as well. This increases the amount of maintenance you need to do and decreases the system's flexibility.

Another problem relates to network performance. When clients ...

Get Core J2EE™ Patterns: Best Practices and Design Strategies, 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.