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

Tomcat example source code file (extras.xml)

This example Tomcat source code file (extras.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 - Tomcat tags/keywords

apache, apache, asf, components, jars, jsr, license, license, see, the, the, tomcat, tomcat, you

The Tomcat extras.xml source code

<?xml version="1.0"?>
<!--
  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.
-->
<!DOCTYPE document [
  <!ENTITY project SYSTEM "project.xml">
]>
<document url="extras.html">

    &project;

  <properties>
    <title>Additional Components
    <author>Remy Maucherat
  </properties>

<body>

  <section name="Introduction">
  <p>
    A number of additional third party components may be used with Apache
    Tomcat, but are not provided directly in the download bundle. These
    components may be built by users should they need them.
  </p>

  </section>

  <section name="Building">

    <p>
      The additional components are built using the <code>extras.xml Ant
      script which is present in the source bundle of Tomcat.
    </p>
    
    <p>The build process is the following:

<ul> <li>Follow the build instructions to build a Tomcat binary from the source bundle (note: it will be used by the build process of the additional components, but does not need to be actually used later on)</li> <li>Execute the command ant -f extras.xml to run the build script</li> <li>The additional components JARs will be placed in the <code>output/extras folder <li>Refer to the documentation below about the usage of these JARs </ul> </section> <section name="Components list"> <subsection name="Full commons-logging implementation"> <p> Tomcat uses a package renamed commons-logging API implementation which is hardcoded to use the java.util.logging API. The commons-logging additional component builds a full fledged package renames commons-logging implementation which can be used to replace the implementation provided with Tomcat. See the <a href="logging.html">logging page for usage instructions. </p> </subsection> <subsection name="Web Services support (JSR 109)"> <p> Tomcat provides factories for JSR 109 which may be used to resolve web services references. Place the generated catalina-ws.jar as well as jaxrpc.jar and wsdl4j.jar (or another implementation of JSR 109) in the Tomcat lib folder. </p> <p> Users should be aware that wsdl4j.jar is licenced under CPL 1.0 and not the Apache License version 2.0. </p> </subsection> </section> </body> </document>

Other Tomcat examples (source code examples)

Here is a short list of links related to this Tomcat extras.xml source code file:

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

#1 New Release!

FP Best Seller

 

new blog posts

 

Copyright 1998-2021 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.