Using a JDBC System Module

When a WebLogic Server administrator creates a JDBC resource, WebLogic Server creates a JDBC module in the domain directory and updates the config.xml file with a JDBCSystemResource element that points to the new JDBC resource. As you can see in the extract from the config.xml file shown in the following listing, the <jdbc-system-resource> element includes the name of the JDBC XML file, MedRec-jdbc.xml, within the <descriptor-file-name> element. The <target> element shows the server (MedRecServer) to which the JDBC resource is targeted:

 <jdbc-system-resource> <name>MedRecGlobalDataSourceXA</name> <target>MedRecServer</target> <descriptor-file-name>jdbc/MedRec-jdbc.xml</descriptor-file-name> </jdbc-system-resource> ...

Get Oracle WebLogic Server 11g Administration Handbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.