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

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

主站蜘蛛池模板: 普陀区| 鄂温| 南乐县| 林西县| 本溪| 乳山市| 庆云县| 秭归县| 昔阳县| 卫辉市| 临泽县| 巩留县| 衡东县| 滕州市| 庆城县| 东城区| 玉溪市| 邢台市| 广安市| 珠海市| 自贡市| 永顺县| 海门市| 常熟市| 德阳市| 上虞市| 榕江县| 西和县| 曲周县| 三河市| 海宁市| 福建省| 清水河县| 信宜市| 昌乐县| 永登县| 克东县| 盐山县| 邵阳市| 嘉荫县| 余姚市|