alvinalexander.com | career | drupal | java | mac | mysql | perl | scala | uml | unix  

Commons DBCP example source code file (jndi-howto.xml)

This example Commons DBCP source code file (jndi-howto.xml) is included in the DevDaily.com "Java Source Code Warehouse" project. The intent of this project is to help you "Learn Java by Example" TM.

Java - Commons DBCP tags/keywords

datasource, initialcontext, initialcontext, java, jndi, license, license, reference, reference, see, stringrefaddr, stringrefaddr, the, you

The Commons DBCP jndi-howto.xml source code

<?xml version="1.0" encoding="ISO-8859-1"?>
 <!--
   Licensed to the Apache Software Foundation (ASF) under one or more
  contributor license agreements.  See the NOTICE file distributed with
  this work for additional information regarding copyright ownership.
  The ASF licenses this file to You under the Apache License, Version 2.0
  (the "License"); you may not use this file except in compliance with
  the License.  You may obtain a copy of the License at

       http://www.apache.org/licenses/LICENSE-2.0

   Unless required by applicable law or agreed to in writing, software
   distributed under the License is distributed on an "AS IS" BASIS,
   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   See the License for the specific language governing permissions and
   limitations under the License.
  -->
<document>

 <properties>
  <title>JNDI Howto
  <author email="dev@commons.apache.org">Commons Documentation Team
 </properties>

 <body>

<section name="JNDI Howto">
<p>
  The <a href="http://java.sun.com/products/jndi/">Java Naming and Directory Interface 
  (JNDI) is part of the Java platform, 
  providing applications based on Java technology with a unified interface to 
  multiple naming and directory services. You can build powerful and portable 
  directory-enabled applications using this industry standard.
</p>
<p>
  When you deploy your application inside an application server, the container will setup
  the JNDI tree for you. But if you are writing a framework or just a standalone application,
  then the following examples will show you how to construct and bind references to DBCP 
  datasources.
</p>
<p>
  The following examples are using the sun filesystem JNDI service provider.
  You can download it from the 
  <a href="http://java.sun.com/products/jndi/downloads/index.html">JNDI software download page.
</p>
</section>

<section name="BasicDataSource">
<source>
</section>

<section name="PerUserPoolDataSource">
<source>
</section>

</body>
</document>

Other Commons DBCP examples (source code examples)

Here is a short list of links related to this Commons DBCP jndi-howto.xml source code file:

... this post is sponsored by my books ...

#1 New Release!

FP Best Seller

 

new blog posts

 

Copyright 1998-2024 Alvin Alexander, alvinalexander.com
All Rights Reserved.

A percentage of advertising revenue from
pages under the /java/jwarehouse URI on this website is
paid back to open source projects.