Assembling data access applications

  1. Define the resource reference attributes through the Assembly Toolkit.

  2. Bind this resource reference to a resource like a J2EE Connector Architecture (JCA) connection factory or a data source.

  3. Configure isolation level, access intent assembly settings.

    1. Right-click your EJB module in a J2EE Hierarchy view and click Open With > Deployment Descriptor Editor.

    2. In an EJB Deployment Descriptor editor, select the Access tab.

    3. Under Isolation Level, click Add.

    4. Select the isolation level, enterprise beans, and method elements. For information on isolation levels, press F1.

    5. Click Finish.

  4. Map enterprise beans to database tables.

 

See Also

Data sources
Data access : Resources for learning