EJB 2 - Basic

General Describe these types of beans (Session (both Stateful and Stateless), Entity) and their general purpose.
Explain the concept of the EJB Container and deployment.
Describe how the bean developer provides home and remote interfaces and an implementation class. And, how the container provides/creates the implementation for these interfaces and remote stubs/skeletons.
Explain the concept and purpose of the home interface, remote interface and component.
Distribution Explain the transparent distributed nature of an EJB having a client-side stub and a server-side skeleton.
Describe differences between remote and local interfaces. Interfaces/Classes Know the classes and interface that a session bean must inherit/implement and their relationships: Serializable, EnterpriseBean, SessionBean, Remote, EJBObject, EJBLocalObject, EJBHome, EJBLocalHome. Client View Look-up a home stub and create a bean from it. How JNDI works is not part of this exam. State Explain the difference between a Stateless and a Stateful Session bean, and the notion of conversational state. Stateless beans must not have any parameters (in contrast to Stateful Session beans, for state initialization). Give examples/questions to test when ejbActivate/ejbPassivate are called. Instance Pooling and Lifecycle Explain why the EJB Container uses multiple bean instances (on thread max per instance) and why it pools these instances.
Give examples/questions to test the passivation/activation process and which type of Session bean it affects.
Explain why the state of stateful session beans must be Serializable.
Give examples/questions to test when the ejbCreate, ejbRemove, setSessionContext are called. Deployment Descriptor Give examples/questions to test the usage of the different XML elements needed to deploy a simple Session bean.
Explain key characteristics of the file name, ejb-jar.xml. Packaging (Ejb-jar) Give examples/questions to test knowledge on the general structure of the ejb-jar file, including the location of the deployment descriptor.
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值