This week's book giveaway is in the OCMJEA forum. We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line! See this thread for details.
1) Which two types of beans support this Timer service? (Choose two.) a) Stateless session beans b) Stateful session beans c) EJB 2.1 entity beans d) EJB 3.0 entities
The answer given is a,b but I think they are a) and c). ________________________________________ 2). Which statement about EJB 2.x and EJB 3.0 API interoperability is correct? a) A stateless session bean written to the EJB 3.0 API can be adapted to an EJB 2.1 client interface. b) The developer cannot mix APIs. For example, the developer cannot write an EJB 3.0 session bean while also implementing an EJB 2.1 EJBHome interface. c) The EJB 2.1 API requires the use of a stateful session bean's home interface to obtain a reference to the bean's component interface. The developer cannot use dependency injection to obtain a reference to such a home interface in an EJB 3.0 client of such a bean. d) An adapter class has to be used when accessing EJB 2.0 environment variables of a stateless session bean, when such a bean is deployed in an EJB 3.0 container.