Resource Adapter Tutorial

This tutorial shows how to deploy the black box resource adapter stored in the blackbox-tx.rar file. To test the resource adapter, you will modify the examples/src/ejb/savingsaccount/ file so that it accesses the Cloudscape database through the resource adapter. The file is also used in another example; see Running the SavingsAccountEJB Example (page 97).

Setting Up

Start the J2EE server.
j2ee -verbose 
Follow the instructions in the section Setting Up the Database (page 97).

Deploying the Resource Adapter

Deploy a black box resource adapter that is packaged in the blackbox-tx.rar file. UNIX
 deploytool -deployConnector \ $J2EE_HOME/lib/connector/blackbox-tx.rar ...

Get J2EE™ Tutorial, The now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.