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

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

主站蜘蛛池模板: 怀安县| 东阿县| 和平县| 任丘市| 芒康县| 安化县| 赤峰市| 富民县| 盘锦市| 新邵县| 绿春县| 乌海市| 静宁县| 道孚县| 连江县| 阿勒泰市| 德州市| 福安市| 姚安县| 太湖县| 滨海县| 明溪县| 兰溪市| 邹平县| 丰台区| 信丰县| 西宁市| 改则县| 南华县| 咸宁市| 姜堰市| 四会市| 阳城县| 全州县| 武清区| 勐海县| 沙河市| 田林县| 营口市| 孝昌县| 永德县|