Day 10

Quiz

A1: The three different types of Enterprise JavaBeans are session, entity, and message-driven EJBs.
A2: A session bean is a reusable piece of code residing on the server that performs transactional processing on behalf of a client application.
A3: Stateful session beans are session aware; that is, they maintain a conversational state with an EJB client. Stateless session beans do not maintain a conversational state with an EJB client.
A4: In order to build a session bean, you need to write a remote (or local) interface of the session bean that extends from the javax.ejb.EJBObject (or javax.ejb.EJBLocalObject in the case of local) interface. This will contain the business methods of the bean. The methods that an EJB client uses to obtain ...

Get Sams Teach Yourself BEA WebLogic Server 7.0™ in 21 Days now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.