/[Apache-SVN]/incubator/derby/docs/trunk/src/adminguide/cadminapps810777.dita
ViewVC logotype

Diff of /incubator/derby/docs/trunk/src/adminguide/cadminapps810777.dita

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

--- incubator/derby/docs/trunk/src/adminguide/cadminapps810777.dita	2005/05/06 22:42:21	168975
+++ incubator/derby/docs/trunk/src/adminguide/cadminapps810777.dita	2005/05/06 22:46:20	168976
@@ -1,4 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE concept PUBLIC "-//IBM//DTD DITA Concept//EN"
+ "../dtd/concept.dtd">
 <!-- 
 Copyright 1997, 2004 The Apache Software Foundation or its licensors, as applicable.  
 
@@ -14,48 +16,47 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY
 See the License for the specific language governing permissions and  
 limitations under the License.
 -->
-
-<!DOCTYPE concept PUBLIC "-//IBM//DTD DITA Concept//EN"
- "../dtd/concept.dtd">
 <concept id="cadminapps810777" xml:lang="en-us">
 <title>Accessing the Network Server by using the DB2 Universal Driver</title>
 <prolog></prolog>
 <conbody>
-<p>When connecting to the Network Server, your application needs to load a
-driver and connection URL specific to the Network Server. In addition, you
-specify a user name and password. If you have not set up authentication, you
-can use any value for the user name and password. The driver you need to access
-the Network Server is: <codeblock>com.ibm.db2.jcc.DB2Driver</codeblock></p>
+<p>You can use the DB2 Universal Driver instead of the <ph conref="adminconrefs.dita#prod/productshortname"></ph> Network
+Client driver when connecting to the Network Server. Your application needs
+to load the driver and connection URL specific to the Network Server. In addition,
+you specify a user name and password. If you have not set up authentication,
+you can use any value for the user name and password. The driver you use 
+to access the Network Server is: <codeblock>com.ibm.db2.jcc.DB2Driver</codeblock></p>
 <p>The URL that is needed to access the Network Server is:</p>
 <codeblock>jdbc:derby:net://&lt;<i>server</i>&gt;[:&lt;<i>port</i>&gt;]/
 &lt;<i>databaseName</i>&gt;[;&lt;<ph conref="adminconrefs.dita#prod/productshortname"></ph> URL attribute&gt;=&lt;value&gt; [;...]]
 [:&lt;Universal Driver attribute&gt;=&lt;value&gt;; [...;]]</codeblock>
-<p>The syntax for connection to the Network Server differs slightly from the
-syntax used to connect to <ph conref="adminconrefs.dita#prod/productshortname"></ph> running in embedded mode. After the database
-name and attributes you can include attributes for the DB2 JDBC Driver. You
-must include a semicolon after the last Universal Driver attribute.</p>
+<p>After the database name and attributes you can include attributes for the
+DB2 JDBC Driver. You must include a semicolon after the last Universal Driver
+attribute.</p>
 <ul>
 <li><i>server</i>   <p>The name of the machine where the server is running.
 It can be the name of the machine (for example, <i>buffy</i>) or the address,
-for example, <i>158.58.62.225</i>.</p> <note>Unless the Network Server was
+for example, <i>158.58.62.225</i>.</p><note>Unless the Network Server was
 started with the <codeph>-h</codeph> option or the <i>derby.drda.host</i> property
 set, this value should be <codeph>localhost</codeph>.</note></li>
 <li><i>port</i>   <p>The port the server is listening to. The default is 1527.</p></li>
 <li><i>database name</i>   <p>The name of the database you are connecting
 to. The database name can be at most 18 characters long. You must use double
-quotes (") to include path information in the database name.
-Alternately, you can specify path information by setting the property <i>derby.system.home</i> in
+quotes (") to include path information in the database name. Alternately,
+you can specify path information by setting the property <i>derby.system.home</i> in
 either the <codeph><i>derby.properties</i></codeph> file or in the Java environment
 when starting the Network Server. See the <cite><ph conref="adminconrefs.dita#pub/citdevelop"></ph></cite> for
 more information about defining the system home.</p></li>
-<li><i><ph conref="adminconrefs.dita#prod/productlowercase"></ph> URL attribute=value</i>   <p>Optional database connection URL
-attributes supported by <ph conref="adminconrefs.dita#prod/productshortname"></ph>. See the <cite><ph conref="adminconrefs.dita#pub/citdevelop"></ph></cite> for
+<li><i><ph conref="adminconrefs.dita#prod/productlowercase"></ph> URL attribute=value</i> 
+ <p>Optional database connection URL attributes supported by <ph conref="adminconrefs.dita#prod/productshortname"></ph>.
+See the <cite><ph conref="adminconrefs.dita#pub/citdevelop"></ph></cite> for
 more information.</p></li>
 <li><i>Universal Driver Attribute=value</i>   <p>Optional database connection
-URL attributes supported by the DB2 Universal JDBC Driver.</p> <p>The DB2
-JDBC Universal Driver requires that you set the Universal Driver user and
-password attributes to non-null values.</p> <p>Here's a list of the DB2 Universal
-JDBC Driver attributes available to you when running the Network Server:</p> <ul>
+URL attributes supported by the DB2 Universal JDBC Driver.</p><p>The DB2 JDBC
+Universal Driver requires that you set the Universal Driver user and password
+attributes to non-null values.</p><p>Here is a list of the DB2
+Universal JDBC Driver attributes available to you when running the Network
+Server:</p><ul>
 <li><i>user </i>   <p>User name (required by the Universal JDBC Driver).</p></li>
 <li><i>password</i>   <p>User password (required by the Universal JDBC Driver).</p></li>
 <li><i>portNumber</i>   <p>The TCP/IP port number where the Network Server
@@ -78,4 +79,4 @@ prepared in the database server. The def
 Server is compatible with the DB2 JDBC Universal Driver release 1.2 and higher.</p></section>
 </conbody>
 </concept>
-<?Pub *0000004355?>
+<?Pub *0000005153?>

 

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26