- Java EE 8 Design Patterns and Best Practices
- Rhuan Rocha Jo?o Purifica??o
- 105字
- 2021-07-23 16:54:58
Motivation for using the business-object pattern
Whenever the conceptual model involves a greater complexity, we use the business-object pattern. This high complexity may be because the BO uses a combination of other objects and has complex business logic, such as validation rules. So, separating this business logic from the rest of the application is required (data persistence would be an example of this).
Not implementing this pattern can lead to problems, such as reducing code reusability. As a consequence of this, there are several possible solutions that make code maintenance time-consuming, as it would lose the uniformity that comes with using design patterns.
推薦閱讀
- Citrix XenApp Performance Essentials
- Linux操作系統(tǒng)基礎(chǔ)
- Modern Web Testing with TestCafe
- Linux系統(tǒng)架構(gòu)與運(yùn)維實(shí)戰(zhàn)
- 鴻蒙生態(tài):開啟萬(wàn)物互聯(lián)的智慧新時(shí)代
- 循序漸進(jìn)學(xué)Docker
- Linux操作系統(tǒng)應(yīng)用編程
- 嵌入式操作系統(tǒng)(Linux篇)(微課版)
- Linux應(yīng)用大全 基礎(chǔ)與管理
- openEuler操作系統(tǒng)核心技術(shù)與行業(yè)應(yīng)用實(shí)踐
- 電腦辦公(Windows 7 + Office 2013)入門與提高
- Windows Azure實(shí)戰(zhàn)
- Apache ShardingSphere權(quán)威指南
- 鴻蒙應(yīng)用開發(fā)實(shí)戰(zhàn)
- 微信小程序項(xiàng)目開發(fā)實(shí)戰(zhàn):用WePY、mpvue、Taro打造高效的小程序