- Java EE 8 Design Patterns and Best Practices
- Rhuan Rocha Jo?o Purifica??o
- 161字
- 2021-07-23 16:54:57
Implementing the Session Fa?ade pattern in JEE
In the JEE architecture, Session Fa?ade is implemented by a stateless or stateful EJB. An EJB object can use or combine other POJOs, business objects, and EJBs. At this point, we must be careful not to accumulate too many unnecessary layers, as we run the risk of having a chain of EJBs where one EJB calls another more internal EJB, and so on. The services must be mapped and designed well.
Because the Session Fa?ade is primarily implemented by EJBs, services such as transaction-control and security-management come naturally to this technology. It is in this layer that we usually have the transaction-control of most internal objects, such as the POJOs, which represent entities within the JPA technology. For an EJB, JPA entity transaction control is native, meaning that it is supplied by the JEE container. This provides a large increase in productivity during development.
- 全屋互聯(lián):智能家居系統(tǒng)開(kāi)發(fā)指南
- 零起點(diǎn)學(xué)Linux系統(tǒng)管理
- Linux系統(tǒng)架構(gòu)與運(yùn)維實(shí)戰(zhàn)
- Mobile-first Bootstrap
- Linux Mint Essentials
- 高性能Linux服務(wù)器構(gòu)建實(shí)戰(zhàn):運(yùn)維監(jiān)控、性能調(diào)優(yōu)與集群應(yīng)用
- 嵌入式實(shí)時(shí)操作系統(tǒng):RT-Thread設(shè)計(jì)與實(shí)現(xiàn)
- AWS SysOps Cookbook
- Linux軟件管理平臺(tái)設(shè)計(jì)與實(shí)現(xiàn)
- OpenHarmony開(kāi)發(fā)與實(shí)踐:基于紅莓RK2206開(kāi)發(fā)板
- Linux指令從初學(xué)到精通
- Xamarin Mobile Application Development for Android
- Modern Python Cookbook
- 鴻蒙操作系統(tǒng)開(kāi)發(fā)入門經(jīng)典
- 電腦辦公(Windows 10+Office 2016)從入門到精通