Sun Microsystems TCP Computer Hardware User Manual


 
d. Click OK.
The database appears in the list of databases on the Services window.
Make sure yourdatabase instance is running.
For Oracle,DB2, SQL Server, and Sybasedatabases, do the following:
a. Copythe database driver leto JavaCAPS_Home/appserver/lib.
b. Under Databases on the NetBeansServices window, right-click Drivers and thenselect New
Driver.
The New JDBC Driver dialog box appears.
c. Click Add, and thenbrows toand select the databasedriver le.
d. Select or look forthe driver class touse.
e. Accept the defaultname or enter a namefor the driver.
f. Click OK.
g. In the Drivers list onthe Services window,right-click the driver youjust added and click
Connect Using.
The New Database Connection dialog box appears.
h. Enter the connection information for the database instanceyou createdfor MLLP and then
click OK.
The new database connection appears in the Databases list.
On the NetBeansServices window,right-click the MLLP database, and clickConnect.
NetBeans connects to the database and the icon changes for that database. The following gure
illustrates a Java DB connection.
2
3
4
MLLPV2andthe SampleProjects
SunAdapterforTCP/IPHL7User's Guide 141