- EJB 3 Developer Guide
- Michael Sikora
- 118字
- 2021-07-02 11:34:54
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
推薦閱讀
- Getting Started with Microsoft Application Virtualization 4.6
- User Training for Busy Programmers
- 從零開始:Flash CS6中文版基礎(chǔ)培訓(xùn)教程
- Creo 6.0快速入門、進(jìn)階與精通(升級版)
- Photoshop CC入門與進(jìn)階
- Ogre 3D 1.7 Beginner's Guide
- Photoshop CC平面設(shè)計教程(微課版)
- 有趣的Flutter:從0到1構(gòu)建跨平臺App
- 用Multisim玩轉(zhuǎn)電路仿真
- Photoshop CC2017圖像處理實例教程
- Excel革命!超級數(shù)據(jù)透視表Power Pivot與數(shù)據(jù)分析表達(dá)式DAX快速入門
- Practical Data Analysis and Reporting with BIRT
- 3ds Max影視動畫角色設(shè)計技法教程
- 卷珠簾:Photoshop古風(fēng)插畫技法完全教程
- NumPy 1.5 Beginner's Guide