Creating a J2C Java bean using resource adapters

You can create a Java™ bean that uses the Java connector tools to access the functions and services provided by an Enterprise Information System (EIS).

You can create a J2C Java bean using the J2C Java Bean wizard. Once you have created the Java bean, you may close the wizard and later add data binding classes using the J2C Data Binding wizard, and add methods to the Java bean through the Snippets view. Alternatively, you can use the wizard to create the data bean and to add methods to use the data bean. In both cases, you can use the wizard to create a J2EE artifact (JSP, EJB or Web Service) to use to deploy your J2C Java bean, as the following diagram illustrates:


J2C Java bean wizard

  1. To start the J2C wizard, from the menu bar, select File > New > Other > J2C.
  2. Select J2C Java bean.
  3. Click Next.
  4. In the Resource Adapters Selection page, select the type of resource adapter you want to use. The resource adapters available to you include the following:
    1. If you do not see the resource adapter you want to use, select an option from the View By list. You may view by EIS type, by J2C Version, by Name, or by Vendor.
    2. If you wish to add a resource adapter that is not currently available, click Add unlisted resource adapter.
  5. Once you have selected the appropriate resource adapter, click Next.
Now that you have selected a resource adapter, you can add connection properties for the following adapters:
Terms of use | Feedback
(C) Copyright IBM Corporation 2000, 2005. All Rights Reserved.