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

Summary

We have covered a lot of ground in this chapter. We have seen that session beans are an EJB technology for encapsulating business logic. Session beans can be either stateless or stateful. We had our first examples of using metadata annotations in our beans. We looked at packaging and deploying session beans using Ant scripts. We showed how a client running outside an EJB container would invoke a session bean using JNDI. We also showed how a client running in an Application Client Container can use dependency injection instead of JNDI to invoke a session bean.

We described the lifecycle for both stateless and stateful session beans and looked at examples of session bean lifecycle callback methods

主站蜘蛛池模板: 崇信县| 嘉善县| 兰考县| 紫阳县| 扶风县| 图片| 大城县| 元朗区| 思茅市| 乌兰察布市| 长乐市| 苏州市| 漾濞| 青河县| 会东县| 锡林浩特市| 宾阳县| 杭锦旗| 平邑县| 淮安市| 景宁| 来凤县| 馆陶县| 吉水县| 铜鼓县| 加查县| 长岭县| 云安县| 石家庄市| 婺源县| 雷波县| 崇信县| 黄龙县| 盖州市| 博爱县| 佛教| 合作市| 通道| 望谟县| 高青县| 闽侯县|