- Java EE 8 Design Patterns and Best Practices
- Rhuan Rocha Jo?o Purifica??o
- 210字
- 2021-07-23 16:54:57
Benefits of Session Fa?ade
It is important not to expose the client to the complexity of using these fine-grained BOs. Frequent access to a large set of fine‐grained components greatly increases the complexity of BOs control. Transaction-control, security-management, and service-lookup are all examples of this complexity.
Like the GoF fa?ade pattern, the use of a coarse-grained layer in JEE decreases the coupling between the client and the business components represented by BOs of fine granularity (and we can think of a Session Fa?ade as an extension of the GoF fa?ade pattern in JEE). The Session Fa?ade pattern represents this coarse-grained layer. An architecture built with the Session Fa?ade provides a facade of more generic (or coarse-grained) methods for clients. The two biggest benefits of using the Session Fa?ade pattern are as follows:
- It does not expose the high complexity of the business objects (BOs) and their relationships.
- It decreases network traffic. This occurs because remote calls are limited to coarse-grained methods exposed by Session Fa?ade instead of the fine-grained business objects.
Of course, EJB remote calling was used much more in the old JEE scenario in comparison to current architectures. It is important that this is taken into consideration.
- Linux設備驅動開發詳解(第2版)
- Designing Purpose:Built Drones for Ardupilot Pixhawk 2.1
- VMware Horizon View 6 Desktop Virtualization Cookbook
- PLC控制系統應用與維護
- Windows Server 2019 Administration Fundamentals
- Delphi Programming Projects
- OpenStack系統架構設計實戰
- Python UNIX和Linux系統管理指南
- Troubleshooting Docker
- Learn CUDA Programming
- Hands-On GPU Programming with Python and CUDA
- μC/OS-III內核實現與應用開發實戰指南:基于STM32
- Ubuntu Linux操作系統實用教程
- 應急指揮信息系統設計
- Docker容器技術與應用