Sun Microsystems IP HL 7 Computer Hardware User Manual


 
To view the newtables, return tothe Services window,right-click the database connection, and
then click Refresh. Expand thedatabase connection and thenTables to view the database.
To Create the Connection Pool and JDBC Resource
In order to connect to the database, you need to dene a JDBC connection pool and JDBC
resource using the GlassFish Admin Console or the command-line interface.
Start the GlassFish server.
To createthe connection pool and JDBC resource, follow the instructions under
“Creating aJDBC
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 DatabaseWith 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 NetBeansServices window,expand CAPS Environments, and thenexpand the HL7
Environmentyou createdfor your Project.
Right-click the HL7External System, and select Properties.
The Properties Editor appears.
In the left pane, expand HL7 InboundeWay.
Select Database Settings.
In the JNDI Name of the JDBC Datasource property, enter the JNDI name of the JDBC
Resource you created under
“To Createthe Connection Pooland 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
MLLPV2andthe SampleProjects
SunAdapterforTCP/IPHL7User's Guide • October2009144