Quiz

1:An ejbCreate() method of an entity bean class returns which of the following objects?
  1. Primary key

  2. null

  3. EJBObject

  4. EJBHome

A1: A
2:Which one of the following statements is false for data access objects?
  1. DAOs encapsulate data access calls.

  2. Session beans can't use DAOs.

  3. Entity beans can use DAOs.

  4. DAOs can be used to encapsulate database vendor-specific code.

A2: B
3:A bean-managed persistence bean performs which of the following SQL statements in ejbCreate<method>(...)?
  1. select

  2. update

  3. insert

  4. delete

A3: C
..................Content has been hidden....................

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