Importing the JCA Classes

The J2EE Connector Architecture (JCA) resource adapter is data-driven; you only need to deploy it once. The same code works for all applications.

It is possible to deploy it multiple times, with different configurations, but this is not necessary unless you have a specific reason to do so (for example, if you wish to package the resource adapter along with a complete application). Typically, you'll only need to deploy the resource adapter once, and then create multiple pools with the appropriate configurations for various applications. You can then publish these configurations in JNDI using names that your applications can use to look up an RA instance as needed.

The default Verastream Host Integrator resource adapter module is located in <install-dir>/vhi/lib/java/vhi-ra.rar. Application servers differ in the way that they have you deploy resource adapters, but the usual procedure is to use a deployment or administration console to browse to the vhi-ra.rar file to deploy the VHI-RA. Alternatively, some application servers allow you to drop the vhi-ra.rar file into an auto-deploy directory.