JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
Oracle Java CAPS HL7 JCA Adapter User's Guide     Java CAPS Documentation
search filter icon
search icon

Document Information

Using the HL7 JCA Adapter

Installing the HL7 JCA Adapter

Installing the Design-Time NBM Files for the HL7 JCA Adapter

To Install the NetBeans Modules for the HL7 JCA Adapter

Setting Up the Runtime Environment for the HL7 JCA Adapter

To Deploy the Global RAR for the HL7 JCA Adapter from the Admin Console

To Add a Connector Connection Pool for the HL7 JCA Adapter

To Add a Connector Resource for the HL7 JCA Adapter

Configuring the HL7 JCA Adapter

Configuring Runtime Properties of a HL7 JCA Adapter Pool

To Configure a HL7 JCA Adapter Pool

Configuring Design-time Properties of an Individual HL7 JCA Adapter Component

To Configure an HL7 JCA Adapter Instance

Using the HL7 JCA Adapter in an EJB Project

Designing an EJB Module to Use HL7 JCA Adapter Code

To Create an EJB Module Project

To Add a HL7 JCA Adapter to an EJB Project

To Use HL7-Specific Sample Code

Configuration Settings for the HL7 JCA Adapter

General Outbound Settings

HL7 Outbound Settings -- Client Connection Establishment

HL7 Outbound Settings -- Server Port Binding

TCPIP Outbound Settings

HL7 Acknowledgment Settings

Lower Layer Protocol Settings

Sequence Number Protocol Settings

HL7 MSH Segment Settings

HL7 SFT Segment Settings

HL7 Communication Control Settings

HL7 Recourse Action Settings

Connection Pool Settings

Setting Up the Runtime Environment for the HL7 JCA Adapter

This section provides step-by-step instructions for installing the RAR file for the HL7 JCA Adapter and setting up the GlassFish runtime environment using the Admin Console.

Perform the following steps to set up the runtime environment for the HL7 JCA Adapter:

To Deploy the Global RAR for the HL7 JCA Adapter from the Admin Console

  1. Start the GlassFish application server.
  2. Access Admin Console by entering the following URL in your browser: http://localhost:4848.

    If your application server is running on a remote machine, and/or uses a port other than 4848 for administration, make the appropriate changes to the URL.

  3. Log in to Admin Console.
  4. In the Common Tasks pane on the left side, expand Applications -> Connector Modules.

    If sun-hl7-adapter appears in the list, the RAR has already been installed.

  5. In the Deploy Enterprise Applications/Modules pane, do the following and then click OK.
  6. In the Edit Resource Adapter Properties pane, you can optionally supply or edit properties.
  7. Click Finish.

    Result: Once you have deployed the global RAR onto the application server, you will be able to see it in the NetBeans IDE under Servers -> GlassFish V2 -> Applications -> Connector Module:

To Add a Connector Connection Pool for the HL7 JCA Adapter

You will use Admin Console Resources -> Connectors -> Connector Connection Pools to add a new pool for sun-hl7-adapter.

  1. If you have not already done so, start GlassFish and log in to Admin Console.
  2. In the Common Tasks pane on the left, expand Resources -> Connectors -> Connector Connection Pools.
  3. In the Connector Connection Pools pane, click New.
  4. In step 1 of the wizard, supply the following information and then click Next.
    • Name: Supply a name for the HL7 pool, such as poolHL7.

    • Resource Adapter: Choose sun-hl7–adapter.

    • Connection Definition: Retain the default provided when you choose the adapter.


    image:Step 1 of the New Connector Connection Pool wizard for the HL7 JCA Adapter
  5. In step 2 of the wizard, retain or change the settings provided and then click Finish.

    Result: The new pool appears in the tree. You can see it in the NetBeans IDE under Servers -> GlassFish V2 -> Resources -> Connectors -> Connector Connection Pools:

To Add a Connector Resource for the HL7 JCA Adapter

  1. If you have not already done so, start GlassFish and log in to Admin Console.
  2. In the Common Tasks pane on the left, expand Resources -> Connectors -> Connector Resources.
  3. In the Connector Resources pane on the right, click New.
  4. Supply the following information and then click OK.
    • JNDI Name: Supply a name, such as hl7pool by which applications will reference the HL7 pool.

    • Pool Name: Choose a connector connection pool for HL7, such as the one created in the previous procedure.

    • Description: Optionally, supply a meaningful description of this particular JNDI resource.


    image:Admin Console creating a new connector resource for the HL7 JCA Adapter

    Result: The new resource appears in the tree. You will be able to see it in the NetBeans IDE under Servers -> GlassFish V2 -> Resources -> Connectors -> Connector Resources: