Commons DBCP example source code file (jndi-howto.xml)
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="email@example.com">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:
Copyright 1998-2011 Alvin Alexander, devdaily.com
All Rights Reserved.