Quiz

1:An OrderEJB container-managed persistence entity bean implements which one of the following interfaces?
  1. javax.ejb.EntityBean

  2. javax.ejb.ContainerManagedBean

  3. javax.ejb.OrderHome

  4. javax.ejb.Order

A1: A
2:The container invokes the ejbPostCreate<method>(...) method on an entity instance after it invokes which one of the following methods?
  1. ejbCreate<method>(...)

  2. ejbLoad()

  3. ejbActivate()

  4. ejbRemove()

A2: A
3:Which one of the following is true for a select method?
  1. A select method is specified in the entity bean's home interface.

  2. Every select method must have an EJB QL query in the deployment descriptor.

  3. A client invokes a select method via a component interface.

A3: B
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.17.164.34