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

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.

主站蜘蛛池模板: 沿河| 京山县| 石屏县| 琼海市| 化州市| 钟祥市| SHOW| 来安县| 北流市| 华亭县| 伊宁市| 大余县| 库尔勒市| 衡南县| 呈贡县| 新和县| 双鸭山市| 天气| 乌审旗| 阿坝| 留坝县| 凤翔县| 汪清县| 多伦县| 镇巴县| 金山区| 朔州市| 高淳县| 宝坻区| 八宿县| 同仁县| 杭州市| 阳新县| 读书| 江津市| 朝阳市| 襄汾县| 健康| 乐清市| 拉萨市| 桑日县|