To create the connection pool and jdbc resource, Associating the mllp database with the adapter, Mllp v2 content exchange model – Sun Microsystems Sun Adapter IP HL 7 User Manual

Page 144

Advertising
background image

To view the new tables, return to the Services window, right-click the database connection, and
then click Refresh. Expand the database connection and then Tables to view the database.

To Create the Connection Pool and JDBC Resource

In order to connect to the database, you need to define a JDBC connection pool and JDBC
resource using the GlassFish Admin Console or the command-line interface.

Start the GlassFish server.

To create the connection pool and JDBC resource, follow the instructions under

“Creating a JDBC

Connection Pool” in

Sun GlassFish Enterprise Server 2.1 Administration Guide

.

Use the information from the database connection you created earlier in

“To Create and

Connect to the Database” on page 140

.

Associating the MLLP Database With the Adapter

Once you create the MLLP database, you can connect to it from the inbound TCP/IP HL7
Adapter. You do this in the HL7 External Systems properties located in the CAPS Environment
you create for the HL7 Project. This procedure assumes you have already created the
Environment and that it includes an HL7 External System.

On the NetBeans Services window, expand CAPS Environments, and then expand the HL7
Environment you created for your Project.

Right-click the HL7 External System, and select Properties.

The Properties Editor appears.

In the left pane, expand HL7 Inbound eWay.

Select Database Settings.

In the JNDI Name of the JDBC Datasource property, enter the JNDI name of the JDBC
Resource you created under

“To Create the Connection Pool and JDBC Resource”on page 144

.

Click OK.

MLLP V2 Content Exchange Model

MLLP Release 2 is a reliable message transport protocol. It guarantees in order delivery and at
least once delivery of HL7 content. HL7 content is framed in a block and sent to the destination
system. The destination system acknowledges the receipt of the message by returning a commit

7

1

2

1

2

3

4

5

6

MLLP V2 and the Sample Projects

Sun Adapter for TCP/IP HL7 User's Guide • October 2009

144

Advertising
This manual is related to the following products: