<?xml version="1.0"?>
<!-- 
   Copyright 2004, 2005 The Apache Software Foundation

   Licensed 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 PUBLIC "-//APACHE//DTD Documentation V1.3//EN"
	"http://xml.apache.org/forrest/dtd/document-v13.dtd" [
	<!ENTITY % common-links SYSTEM "links.ent">
	%common-links;
	]>
<document>
	<header>
		<title>Library Dependencies</title>
	</header>
	<body>

<p>HiveMind has a number of dependencies on other open-source frameworks. The 
  &Ant; build files for HiveMind will automatically download dependencies from 
  the <link href="http://maven.apache.org/">Maven</link> repository on <link 
  href="http://www.ibiblio.org/maven/">ibiblio</link>.</p>
  
<warning> Occasionally, HiveMind outstrips the availability of JAR versions on ibiblio.com. If a version of a JAR is 
  not available, you will need to locate and download the other package's distribution, extract the necessary JAR file 
  (and occasionally rename it), and copy it into ext-package/lib. The build scripts will pick up the file from there. 
  </warning>
  
  <table>
    <tr>
      <th>File</th>
      <th>Name</th>
      <th>Notes</th>
    </tr>
    <tr>
      <td>commons-logging-1.0.3.jar</td>
      <td>
        <link href="http://jakarta.apache.org/commons/logging/">
          Commons-Logging</link>
      </td>
      <td/>
    </tr>
    <tr>
      <td>easymock-1.1.jar</td>
      <td>
        <link href="http://www.easymock.org/">EasyMock testing framework</link>
      </td>
      <td>Only needed by &api.HiveMindTestCase;, which exists as the basis for your own tests.</td>
    </tr>
    <tr>
      <td>groovy-all-1.0-beta-10.jar</td>
      <td>&Groovy;</td>
      <td>Used by the &api.GroovyModuleDescriptorProvider; to support Groovy module descriptors.</td>
    </tr>
    <tr>
      <td>jboss-j2ee-3.2.1.jar</td>
      <td>
        <link href="http://jboss.org/">JBoss J2EE Server</link>
      </td>
      <td>Used by some services of the HiveMind library. No dependencies on JBoss itself, just on the 
        <code>javax.ejb</code> package.</td>
    </tr>
    <tr>
      <td>javassist-3.0.jar</td>
      <td>
        <link href="http://www.jboss.org/products/javassist">Javassist bytecode 
          library</link>
      </td>
      <td/>
    </tr>
    <tr>
      <td>oro-2.0.6.jar</td>
      <td>
        <link href="http://jakarta.apache.org/oro/">ORO Regular 
          Expressions</link>
      </td>
      <td/>
    </tr>
    <tr>
      <td>spring-full-1.0.1.jar</td>
      <td>&Spring;</td>
      <td>Used by the <link 
        href="site:hivemind.lib.SpringLookupFactory">hivemind.lib.SpringLookupFactory</link> 
        service.</td>
    </tr>
  </table>
  
  <p> Typically, all you need is the HiveMind libraries, Javassist, ORO and commons-logging. Your EJB container will 
    provide the <code>javax.ejb</code> classes. Obviously, you should include Spring if your are using Spring, and 
    EasyMock if you are writing tests using the <code>HiveMindTestCase</code> base class. </p>
  
  <p>
    In most cases, HiveMind has been built against a "handy" version; in all likelyhood you can vary
    the exact version of a dependency to suite your existing environment. Just remember to write
    some tests!
  </p>
  
  <note>
    HiveMind is explicitly designed to be used with JDK 1.3 and above. It uses no features from JDK 1.4
    that aren't also available on JDK 1.3.
  </note>

	</body>
</document>
