官术网_书友最值得收藏!

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.

主站蜘蛛池模板: 涟水县| 荥经县| 汶川县| 敦化市| 湄潭县| 灵丘县| 河间市| 城口县| 甘南县| 新蔡县| 磐石市| 玛纳斯县| 曲麻莱县| 金阳县| 泸定县| 嘉峪关市| 策勒县| 德昌县| 六安市| 邓州市| 许昌县| 九寨沟县| 潜山县| 济阳县| 阳江市| 开远市| 云霄县| 黄骅市| 寿光市| 巨野县| 盘山县| 蓝田县| 桂东县| 祁阳县| 来宾市| 蛟河市| 宣恩县| 万宁市| 武隆县| 涟源市| 河间市|