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

Summary

In this chapter, we discussed the new features in EJB 3.0. We compared the EJB 3.0 features with EJB 2.0 features and discussed how EJB 3.0 is different from EJB 2.0. EJB 3.0 metadata annotations reduce the code required and make the deployment descriptors redundant. The local/remote and local home/home interfaces are not required in EJB 3.0 entity beans, and only a POJO class is required for an entity bean. The Java Persistence API provides an object-relational mapping model. Interceptors, simplified checked exceptions, and callback interfaces are some of the other new features in EJB 3.0.

In the next chapter, we shall convert an example EJB 2.x entity bean to an EJB 3.0 entity bean.

主站蜘蛛池模板: 惠水县| 梓潼县| 沙洋县| 托里县| 温州市| 临湘市| 贵州省| 皮山县| 贡觉县| 石家庄市| 黑山县| 商南县| 高要市| 怀化市| 徐州市| 潼南县| 张家口市| 年辖:市辖区| 双柏县| 车致| 平邑县| 东源县| 西吉县| 分宜县| 定结县| 梅河口市| 诸城市| 冀州市| 正蓝旗| 通许县| 兴山县| 梓潼县| 登封市| 肥东县| 襄汾县| 太保市| 巴马| 比如县| 略阳县| 淮阳县| 安丘市|