- 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.
- Cybersecurity:Attack and Defense Strategies
- PLC控制程序精編108例
- 每天5分鐘玩轉Kubernetes
- 異質結原理與器件
- Windows 7中文版從入門到精通(修訂版)
- Microsoft Operations Management Suite Cookbook
- Mastering Reactive JavaScript
- Learn Quantum Computing with Python and IBM Quantum Experience
- Azure Resource Manager Templates Quick Start Guide
- Getting Started with Raspberry Pi Zero
- 計算機操作系統(第3版)(微課版)
- Linux指令從入門到精通(“十二五”國家重點圖書出版規劃項目)
- VMware Virtual SAN Cookbook
- 計算機應用基礎:Windows 7+Office 2010(下冊)
- STM32庫開發實戰指南:基于STM32F103(第2版)