jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ju...@apache.org
Subject svn commit: r1427110 [3/18] - in /jackrabbit/site/trunk/content/JCR: ./ a-simple-ocm-project-with-maven-eclipse.data/ concurrency-control.data/ deployment-models.data/ how-jackrabbit-works.data/ how-to-map-associations-between-objects.data/ index-reade...
Date Mon, 31 Dec 2012 12:40:13 GMT
Added: jackrabbit/site/trunk/content/JCR/documentation.html
URL: http://svn.apache.org/viewvc/jackrabbit/site/trunk/content/JCR/documentation.html?rev=1427110&view=auto
==============================================================================
--- jackrabbit/site/trunk/content/JCR/documentation.html (added)
+++ jackrabbit/site/trunk/content/JCR/documentation.html Mon Dec 31 12:40:09 2012
@@ -0,0 +1,122 @@
+
+<!-- 
+  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 HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<HTML>
+  <HEAD>
+    <TITLE>Documentation</TITLE>
+    <LINK type="text/css" rel="stylesheet" href="http://jackrabbit.apache.org/style/site.css">
+  <META http-equiv="Content-Type" content="text/html;charset=UTF-8"></HEAD>
+  <BODY>
+    <DIV id="page">
+      <DIV id="header">
+        <P id="jcr"><A href="http://jackrabbit.apache.org/"><IMG src="http://jackrabbit.apache.org/style/jlogo.gif" alt="Apache Jackrabbit" height="100" width="336"></A></P>
+        <P id="asf"><A href="http://www.apache.org/"><IMG src="http://jackrabbit.apache.org/style/asf-logo.gif" alt="Apache Software Foundation" height="100" width="387"></A></P>
+      </DIV>
+      <DIV id="body">
+        <DIV id="navigation">
+  <UL>
+	<LI>Apache Jackrabbit
+	<UL>
+		<LI><A href="welcome-to-apache-jackrabbit.html" title="Welcome to Apache Jackrabbit">Welcome</A></LI>
+		<LI><A href="downloads.html" title="Downloads">Downloads</A></LI>
+		<LI><A href="articles.html" title="Articles">Articles</A></LI>
+		<LI><A href="frequently-asked-questions.html" title="Frequently Asked Questions">FAQ</A></LI>
+		<LI><A href="http://wiki.apache.org/jackrabbit/FrontPage" class="external-link">Jackrabbit Wiki</A></LI>
+		<LI><A href="jackrabbit-history.html" title="Jackrabbit History">Jackrabbit History</A></LI>
+	</UL>
+	</LI>
+	<LI>Documentation
+	<UL>
+		<LI><A href="getting-started-with-apache-jackrabbit.html" title="Getting Started with Apache Jackrabbit">Getting Started</A></LI>
+		<LI><A href="standalone-server.html" title="Standalone Server">Standalone Server</A></LI>
+		<LI><A href="jackrabbit-components.html" title="Jackrabbit Components">Jackrabbit Components</A></LI>
+		<LI><A href="first-hops.html" title="First Hops">First Hops</A></LI>
+		<LI><A href="jcr-api.html" title="JCR & API">JCR &amp; API</A></LI>
+		<LI><A href="jackrabbit-architecture.html" title="Jackrabbit Architecture">Jackrabbit Architecture</A></LI>
+		<LI><A href="deployment-models.html" title="Deployment Models">Deployment Models</A></LI>
+		<LI><A href="jackrabbit-configuration.html" title="Jackrabbit Configuration">Jackrabbit Configuration</A></LI>
+		<LI><A href="node-types.html" title="Node Types">Node Types</A></LI>
+		<LI><A href="object-content-mapping.html" title="Object Content Mapping">Object Content Mapping</A></LI>
+	</UL>
+	</LI>
+	<LI>Development
+	<UL>
+		<LI><A href="jackrabbit-team.html" title="Jackrabbit Team">Jackrabbit Team</A></LI>
+		<LI><A href="jackrabbit-roadmap.html" title="Jackrabbit Roadmap">Jackrabbit Roadmap</A></LI>
+		<LI><A href="building-jackrabbit.html" title="Building Jackrabbit">Building Jackrabbit</A></LI>
+		<LI><A href="mailing-lists.html" title="Mailing Lists">Mailing Lists</A></LI>
+		<LI><A href="issue-tracker.html" title="Issue Tracker">Issue Tracker</A></LI>
+		<LI><A href="source-repository.html" title="Source Repository">Source Repository</A></LI>
+		<LI><A href="continuous-integration.html" title="Continuous Integration">Continuous Integration</A></LI>
+		<LI><A href="website.html" title="Website">Website</A></LI>
+		<LI><A href="creating-releases.html" title="Creating Releases">Creating Releases</A></LI>
+		<LI><A href="supporting-software-attribution.html" title="Supporting software attribution">Attribution</A></LI>
+	</UL>
+	</LI>
+	<LI>Apache Software Foundation
+	<UL>
+		<LI><A href="http://www.apache.org/foundation/how-it-works.html" class="external-link">Introduction</A></LI>
+		<LI><A href="http://www.apache.org/foundation/sponsorship.html" class="external-link">Sponsorship</A></LI>
+		<LI><A href="http://www.apache.org/foundation/thanks.html" class="external-link">Current Sponsors</A></LI>
+	</UL>
+	</LI>
+</UL>
+        </DIV>
+        <DIV id="content">
+          <H1>Documentation</H1>
+  <UL>
+	<LI><A href="getting-started-with-apache-jackrabbit.html" title="Getting Started with Apache Jackrabbit">Getting Started with Apache Jackrabbit</A></LI>
+	<LI><A href="jackrabbit-components.html" title="Jackrabbit Components">Jackrabbit Components</A></LI>
+	<LI><A href="building-jackrabbit.html" title="Building Jackrabbit">Building Jackrabbit</A></LI>
+	<LI><A href="first-hops.html" title="First Hops">First Hops</A></LI>
+	<LI><A href="jcr-api.html" title="JCR & API">JCR &amp; API</A></LI>
+	<LI><A href="jackrabbit-architecture.html" title="Jackrabbit Architecture">Jackrabbit Architecture</A></LI>
+	<LI><A href="deployment-models.html" title="Deployment Models">Deployment Models</A></LI>
+	<LI><A href="jackrabbit-configuration.html" title="Jackrabbit Configuration">Jackrabbit Configuration</A></LI>
+	<LI><A href="node-types.html" title="Node Types">Node Types</A></LI>
+</UL>
+
+        </DIV>
+        <DIV id="end"></DIV>
+      </DIV>
+      <DIV id="footer">
+        <P>
+          &copy; 2004-2010 The Apache Software Foundation.
+          - <A href="http://jackrabbit.apache.org/privacy-policy.html">Privacy Policy</A> -
+          [<A href="https://cwiki.apache.org/confluence/pages/editpage.action?pageId=71432">edit this page</A>]
+          <BR>
+          Apache Jackrabbit, Jackrabbit, Apache, the Apache feather logo, and the Apache
+          Jackrabbit project logo are trademarks of The Apache Software Foundation.
+        </P>
+      </DIV>
+    </DIV>
+<!-- JCR- 1315: Add Google Analytics to Jackrabbit web site -->
+<SCRIPT type="text/javascript">
+var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
+document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
+</SCRIPT>
+<SCRIPT type="text/javascript">
+var pageTracker = _gat._getTracker("UA-837900-2");
+pageTracker._initData();
+pageTracker._trackPageview();
+</SCRIPT>
+  </BODY>
+</HTML>

Added: jackrabbit/site/trunk/content/JCR/downloads.html
URL: http://svn.apache.org/viewvc/jackrabbit/site/trunk/content/JCR/downloads.html?rev=1427110&view=auto
==============================================================================
--- jackrabbit/site/trunk/content/JCR/downloads.html (added)
+++ jackrabbit/site/trunk/content/JCR/downloads.html Mon Dec 31 12:40:09 2012
@@ -0,0 +1,392 @@
+
+<!-- 
+  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 HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<HTML>
+  <HEAD>
+    <TITLE>Downloads</TITLE>
+    <LINK type="text/css" rel="stylesheet" href="http://jackrabbit.apache.org/style/site.css">
+  <META http-equiv="Content-Type" content="text/html;charset=UTF-8"></HEAD>
+  <BODY>
+    <DIV id="page">
+      <DIV id="header">
+        <P id="jcr"><A href="http://jackrabbit.apache.org/"><IMG src="http://jackrabbit.apache.org/style/jlogo.gif" alt="Apache Jackrabbit" height="100" width="336"></A></P>
+        <P id="asf"><A href="http://www.apache.org/"><IMG src="http://jackrabbit.apache.org/style/asf-logo.gif" alt="Apache Software Foundation" height="100" width="387"></A></P>
+      </DIV>
+      <DIV id="body">
+        <DIV id="navigation">
+  <UL>
+	<LI>Apache Jackrabbit
+	<UL>
+		<LI><A href="welcome-to-apache-jackrabbit.html" title="Welcome to Apache Jackrabbit">Welcome</A></LI>
+		<LI><A href="" title="Downloads">Downloads</A></LI>
+		<LI><A href="articles.html" title="Articles">Articles</A></LI>
+		<LI><A href="frequently-asked-questions.html" title="Frequently Asked Questions">FAQ</A></LI>
+		<LI><A href="http://wiki.apache.org/jackrabbit/FrontPage" class="external-link">Jackrabbit Wiki</A></LI>
+		<LI><A href="jackrabbit-history.html" title="Jackrabbit History">Jackrabbit History</A></LI>
+	</UL>
+	</LI>
+	<LI>Documentation
+	<UL>
+		<LI><A href="getting-started-with-apache-jackrabbit.html" title="Getting Started with Apache Jackrabbit">Getting Started</A></LI>
+		<LI><A href="standalone-server.html" title="Standalone Server">Standalone Server</A></LI>
+		<LI><A href="jackrabbit-components.html" title="Jackrabbit Components">Jackrabbit Components</A></LI>
+		<LI><A href="first-hops.html" title="First Hops">First Hops</A></LI>
+		<LI><A href="jcr-api.html" title="JCR & API">JCR &amp; API</A></LI>
+		<LI><A href="jackrabbit-architecture.html" title="Jackrabbit Architecture">Jackrabbit Architecture</A></LI>
+		<LI><A href="deployment-models.html" title="Deployment Models">Deployment Models</A></LI>
+		<LI><A href="jackrabbit-configuration.html" title="Jackrabbit Configuration">Jackrabbit Configuration</A></LI>
+		<LI><A href="node-types.html" title="Node Types">Node Types</A></LI>
+		<LI><A href="object-content-mapping.html" title="Object Content Mapping">Object Content Mapping</A></LI>
+	</UL>
+	</LI>
+	<LI>Development
+	<UL>
+		<LI><A href="jackrabbit-team.html" title="Jackrabbit Team">Jackrabbit Team</A></LI>
+		<LI><A href="jackrabbit-roadmap.html" title="Jackrabbit Roadmap">Jackrabbit Roadmap</A></LI>
+		<LI><A href="building-jackrabbit.html" title="Building Jackrabbit">Building Jackrabbit</A></LI>
+		<LI><A href="mailing-lists.html" title="Mailing Lists">Mailing Lists</A></LI>
+		<LI><A href="issue-tracker.html" title="Issue Tracker">Issue Tracker</A></LI>
+		<LI><A href="source-repository.html" title="Source Repository">Source Repository</A></LI>
+		<LI><A href="continuous-integration.html" title="Continuous Integration">Continuous Integration</A></LI>
+		<LI><A href="website.html" title="Website">Website</A></LI>
+		<LI><A href="creating-releases.html" title="Creating Releases">Creating Releases</A></LI>
+		<LI><A href="supporting-software-attribution.html" title="Supporting software attribution">Attribution</A></LI>
+	</UL>
+	</LI>
+	<LI>Apache Software Foundation
+	<UL>
+		<LI><A href="http://www.apache.org/foundation/how-it-works.html" class="external-link">Introduction</A></LI>
+		<LI><A href="http://www.apache.org/foundation/sponsorship.html" class="external-link">Sponsorship</A></LI>
+		<LI><A href="http://www.apache.org/foundation/thanks.html" class="external-link">Current Sponsors</A></LI>
+	</UL>
+	</LI>
+</UL>
+        </DIV>
+        <DIV id="content">
+          <H1>Downloads</H1>
+  <P>Use the links below to download Apache Jackrabbit releases from one of our mirrors. You should <A href="#Downloads-verify">verify the integrity</A> of the files using the signatures and checksums available from this page.</P>
+
+<UL>
+	<LI>Latest stable release: <A href="#Downloads-v24">Apache Jackrabbit 2.4.3</A></LI>
+	<LI>Latest unstable release: <A href="#Downloads-v25">Apache Jackrabbit 2.5.2</A></LI>
+	<LI>Jackrabbit Oak experimental release: <A href="#Downloads-oak">Apache Jackrabbit Oak 0.5</A></LI>
+	<LI>Maintenance releases: <A href="#Downloads-v22">Apache Jackrabbit 2.2.13</A>, <A href="#Downloads-v21">Apache Jackrabbit 2.1.6</A>, <A href="#Downloads-v20">Apache Jackrabbit 2.0.5</A></LI>
+	<LI>Latest stable OCM release: <A href="#Downloads-ocm">Apache Jackrabbit OCM 2.0.0</A></LI>
+	<LI><A href="#Downloads-archive">Release Archive</A></LI>
+</UL>
+
+
+<P>Apache Jackrabbit releases are available under the <A href="http://www.apache.org/licenses/LICENSE-2.0" class="external-link">Apache License, Version 2.0</A>. See the <TT>NOTICE.txt</TT> file contained in each release artifact for applicable copyright attribution notices. Some Jackrabbit components contain external code with licenses that meet <A href="http://www.apache.org/legal/resolved.html" class="external-link">Apache licensing policies</A>. See the <TT>LICENSE.txt</TT> file contained in each release artifact for applicable licenses.</P>
+
+<H2><A name="Downloads-ApacheJackrabbit2.2.13%2804October2012%29"></A><A name="Downloads-v22"></A>Apache Jackrabbit 2.2.13 (04-October-2012)</H2>
+
+<P>Apache Jackrabbit 2.2.13 is patch release that contains fixes and improvements over previous 2.2.x releases. This release is fully compatible with earlier 2.x.x releases.</P>
+
+<P>See the <A href="http://www.apache.org/dist/jackrabbit/2.2.13/RELEASE-NOTES.txt" class="external-link">full release notes</A> for more details.</P>
+
+<UL>
+	<LI><A href="http://www.apache.org/dyn/closer.cgi/jackrabbit/2.2.13/jackrabbit-2.2.13-src.zip" class="external-link">jackrabbit-2.2.13-src.zip</A> (11M, source zip, <A href="http://www.apache.org/dist/jackrabbit/2.2.13/jackrabbit-2.2.13-src.zip.asc" class="external-link">PGP signature</A>)<BR>
+  SHA1 checksum: <TT>10841ef0544c821f73131e0970d0ea4806b63236</TT><BR>
+  MD5  checksum: <TT>86eab6af0f75328422ae98602218b96b</TT></LI>
+</UL>
+
+
+<UL>
+	<LI><A href="http://www.apache.org/dyn/closer.cgi/jackrabbit/2.2.13/jackrabbit-standalone-2.2.13.jar" class="external-link">jackrabbit-standalone-2.2.13.jar</A> (33M, standalone server, <A href="http://www.apache.org/dist/jackrabbit/2.2.13/jackrabbit-standalone-2.2.13.jar.asc" class="external-link">PGP signature</A>)<BR>
+  SHA1 checksum: <TT>2d65b9d99dad367a56d6e41504681c801687a19b</TT><BR>
+  MD5  checksum: <TT>85b9a2a3e076d89822710e3edf38ee7c</TT></LI>
+</UL>
+
+
+<UL>
+	<LI><A href="http://www.apache.org/dyn/closer.cgi/jackrabbit/2.2.13/jackrabbit-webapp-2.2.13.war" class="external-link">jackrabbit-webapp-2.2.13.war</A> (27M, web application, <A href="http://www.apache.org/dist/jackrabbit/2.2.13/jackrabbit-webapp-2.2.13.war.asc" class="external-link">PGP signature</A>)<BR>
+  SHA1 checksum: <TT>04e9461df62c47e491b3a7c03a092e14b25023a9</TT><BR>
+  MD5  checksum: <TT>f8c08cc54c4f28418276d1521840ca3b</TT></LI>
+</UL>
+
+
+<UL>
+	<LI><A href="http://www.apache.org/dyn/closer.cgi/jackrabbit/2.2.13/jackrabbit-jca-2.2.13.rar" class="external-link">jackrabbit-jca-2.2.13.rar</A> (26M, JCA resource adapter, <A href="http://www.apache.org/dist/jackrabbit/2.2.13/jackrabbit-jca-2.2.13.rar.asc" class="external-link">PGP signature</A>)<BR>
+  SHA1 checksum: <TT>3e292ea32a462318b7e49723d4aa4d6ac053856d</TT><BR>
+  MD5  checksum: <TT>ccd86435f6c09fc33ffd6667ee3d9a90</TT></LI>
+</UL>
+
+
+<H2><A name="Downloads-ApacheJackrabbit2.4.3%2804September2012%29"></A><A name="Downloads-v24"></A>Apache Jackrabbit 2.4.3 (04-September-2012)</H2>
+
+<P>Apache Jackrabbit 2.4.3 is patch release that contains fixes and improvements over Jackrabbit 2.4.2. This release is fully compatible with earlier 2.x.x releases.</P>
+
+<P>See the <A href="http://www.apache.org/dist/jackrabbit/2.4.3/RELEASE-NOTES.txt" class="external-link">full release notes</A> for more details.</P>
+
+<UL>
+	<LI><A href="http://www.apache.org/dyn/closer.cgi/jackrabbit/2.4.3/jackrabbit-2.4.3-src.zip" class="external-link">jackrabbit-2.4.3-src.zip</A> (11M, source zip, <A href="http://www.apache.org/dist/jackrabbit/2.4.3/jackrabbit-2.4.3-src.zip.asc" class="external-link">PGP signature</A>)<BR>
+  SHA1 checksum: <TT>21ed2cf50e918a733400fc13d7cff4f7a983b193</TT><BR>
+  MD5 checksum: <TT>7daf56915787ee1e7e416dfa1852b936</TT></LI>
+</UL>
+
+
+<UL>
+	<LI><A href="http://www.apache.org/dyn/closer.cgi/jackrabbit/2.4.3/jackrabbit-standalone-2.4.3.jar" class="external-link">jackrabbit-standalone-2.4.3.jar</A> (59M, standalone server, <A href="http://www.apache.org/dist/jackrabbit/2.4.3/jackrabbit-standalone-2.4.3.jar.asc" class="external-link">PGP signature</A>)<BR>
+  SHA1 checksum: <TT>226c87a87c198854e14226e72784b3c1d8e323e1</TT><BR>
+  MD5 checksum: <TT>2617389e1342a157d5177f0903c172fc</TT></LI>
+</UL>
+
+
+<UL>
+	<LI><A href="http://www.apache.org/dyn/closer.cgi/jackrabbit/2.4.3/jackrabbit-webapp-2.4.3.war" class="external-link">jackrabbit-webapp-2.4.3.war</A> (24M, web application, <A href="http://www.apache.org/dist/jackrabbit/2.4.3/jackrabbit-webapp-2.4.3.war.asc" class="external-link">PGP signature</A>)<BR>
+  SHA1 checksum: <TT>0f97bd4e12820dd1e26434b21c6ec16365a3c96d</TT><BR>
+  MD5 checksum: <TT>825a4c49001bc02054fbb7f99e04d4f6</TT></LI>
+</UL>
+
+
+<UL>
+	<LI><A href="http://www.apache.org/dyn/closer.cgi/jackrabbit/2.4.2/jackrabbit-jca-2.4.2.rar" class="external-link">jackrabbit-jca-2.4.2.rar</A> (23M, JCA resource adapter, <A href="http://www.apache.org/dist/jackrabbit/2.4.2/jackrabbit-jca-2.4.2.rar.asc" class="external-link">PGP signature</A>)<BR>
+  SHA1 checksum: <TT>54dcab4a9b1594fdca5c71ef29eab50d8b992488</TT><BR>
+  MD5 checksum: <TT>8abf39dd5612950391ae8551fcfe092e</TT></LI>
+</UL>
+
+
+<H2><A name="Downloads-ApacheJackrabbit2.5.2%2824September2012%29"></A><A name="Downloads-v25"></A>Apache Jackrabbit 2.5.2 (24-September-2012)</H2>
+
+<P>Apache Jackrabbit 2.5 is an unstable series of releases cut directly from Jackrabbit trunk, with a focus on new features and other improvements. For production use we recommend the <A href="#Downloads-v24">latest stable 2.4 release</A>.</P>
+
+<P>See the <A href="http://www.apache.org/dist/jackrabbit/2.5.2/RELEASE-NOTES.txt" class="external-link">full release notes</A> for more details.</P>
+
+<UL>
+	<LI><A href="http://www.apache.org/dyn/closer.cgi/jackrabbit/2.5.2/jackrabbit-2.5.2-src.zip" class="external-link">jackrabbit-2.5.2-src.zip</A> (11M, source zip, <A href="http://www.apache.org/dist/jackrabbit/2.5.2/jackrabbit-2.5.2-src.zip.asc" class="external-link">PGP signature</A>)<BR>
+  SHA1 checksum: <TT>ba84566a1c2697c8d19ecbb92508f50491c75547</TT><BR>
+  MD5 checksum: <TT>98b6b403d8cdb5c3d03313ba2ec5152f</TT></LI>
+</UL>
+
+
+<UL>
+	<LI><A href="http://www.apache.org/dyn/closer.cgi/jackrabbit/2.5.2/jackrabbit-standalone-2.5.2.jar" class="external-link">jackrabbit-standalone-2.5.2.jar</A> (60M, standalone server, <A href="http://www.apache.org/dist/jackrabbit/2.5.2/jackrabbit-standalone-2.5.2.jar.asc" class="external-link">PGP signature</A>)<BR>
+  SHA1 checksum: <TT>e0910806f1c3d68bdbb326ae6d36884a229f94d2</TT><BR>
+  MD5 checksum: <TT>9975b0545d8fb4ce6a4fad8c04785e6d</TT></LI>
+</UL>
+
+
+<UL>
+	<LI><A href="http://www.apache.org/dyn/closer.cgi/jackrabbit/2.5.2/jackrabbit-webapp-2.5.2.war" class="external-link">jackrabbit-webapp-2.5.2.war</A> (24M, web application, <A href="http://www.apache.org/dist/jackrabbit/2.5.2/jackrabbit-webapp-2.5.2.war.asc" class="external-link">PGP signature</A>)<BR>
+  SHA1 checksum: <TT>dbcd87e2de58bec6cf95cd98c52a59fe7bf23787</TT><BR>
+  MD5 checksum: <TT>0d5ee3b189c2e8077b95772c0f84acb1</TT></LI>
+</UL>
+
+
+<UL>
+	<LI><A href="http://www.apache.org/dyn/closer.cgi/jackrabbit/2.5.2/jackrabbit-jca-2.5.2.rar" class="external-link">jackrabbit-jca-2.5.2.rar</A> (23M, JCA resource adapter, <A href="http://www.apache.org/dist/jackrabbit/2.5.2/jackrabbit-jca-2.5.2.rar.asc" class="external-link">PGP signature</A>)<BR>
+  SHA1 checksum: <TT>33be4e95ebb5397e5c099a8d0e353c728236f8ad</TT><BR>
+  MD5 checksum: <TT>8fcb79155557523d729530ec13d53afd</TT></LI>
+</UL>
+
+
+<H2><A name="Downloads-ApacheJackrabbitOak0.5%2801October2012%29"></A><A name="Downloads-oak"></A>Apache Jackrabbit Oak 0.5 (01-October-2012)</H2>
+
+<P>Jackrabbit Oak 0.5 is to be considered alpha-level software. Use at your own risk with no stability or compatibility guarantees.</P>
+
+<P>See the <A href="http://www.apache.org/dist/jackrabbit/oak/0.5/RELEASE-NOTES.txt" class="external-link">full release notes</A> for more details.</P>
+
+<UL>
+	<LI><A href="http://www.apache.org/dyn/closer.cgi/jackrabbit/oak/0.5/jackrabbit-oak-0.5-src.zip" class="external-link">jackrabbit-oak-0.5-src.zip</A> (1.4M, source zip, <A href="http://www.apache.org/dist/jackrabbit/oak/0.5/jackrabbit-oak-0.5-src.zip.asc" class="external-link">PGP signature</A>)<BR>
+  SHA1 checksum: <TT>08b44546bf3c8a694c831afdfb9fcd9935317cd1</TT><BR>
+  MD5 checksum: <TT>fe8780ba72c036fa9d9488febf89aa5e</TT></LI>
+</UL>
+
+
+<H2><A name="Downloads-ApacheJackrabbit2.1.6%2803October2011%29"></A><A name="Downloads-v21"></A>Apache Jackrabbit 2.1.6 (03-October-2011)</H2>
+
+<P>Apache Jackrabbit 2.1.6 is a bug fix release that fixes issues reported against previous releases. This release is fully compatible with the earlier 2.1.x releases.</P>
+
+<P>See the <A href="http://www.apache.org/dist/jackrabbit/2.1.6/RELEASE-NOTES.txt" class="external-link">full release notes</A> for more details.</P>
+
+<UL>
+	<LI><A href="http://www.apache.org/dyn/closer.cgi/jackrabbit/2.1.6/jackrabbit-2.1.6-src.zip" class="external-link">jackrabbit-2.1.6-src.zip</A> (6.5M, source zip, <A href="http://www.apache.org/dist/jackrabbit/2.1.6/jackrabbit-2.1.6-src.zip.asc" class="external-link">PGP signature</A>)<BR>
+  SHA1 checksum: <TT>dc8bc82bca06292a3dd21ba3859da4c1a911daac</TT><BR>
+  MD5 checksum: <TT>0f8b5224454937d3a2c3ed9b12a50e32</TT></LI>
+</UL>
+
+
+<UL>
+	<LI><A href="http://www.apache.org/dyn/closer.cgi/jackrabbit/2.1.6/jackrabbit-standalone-2.1.6.jar" class="external-link">jackrabbit-standalone-2.1.6.jar</A> (32M, standalone server, <A href="http://www.apache.org/dist/jackrabbit/2.1.6/jackrabbit-standalone-2.1.6.jar.asc" class="external-link">PGP signature</A>)<BR>
+  SHA1 checksum: <TT>fdef08602dbe3ee83a31febbbb1ca30e0d82c632</TT><BR>
+  MD5 checksum: <TT>ca2f261c10d8313938492afa45fc0317</TT></LI>
+</UL>
+
+
+<UL>
+	<LI><A href="http://www.apache.org/dyn/closer.cgi/jackrabbit/2.1.6/jackrabbit-webapp-2.1.6.war" class="external-link">jackrabbit-webapp-2.1.6.war</A> (22M, web application, <A href="http://www.apache.org/dist/jackrabbit/2.1.6/jackrabbit-webapp-2.1.6.war.asc" class="external-link">PGP signature</A>)<BR>
+  SHA1 checksum: <TT>c60039fc89a33fda2784872be6f83652213c7664</TT><BR>
+  MD5 checksum: <TT>7f7569eaafa1a879b8cd62eca4ddb3c8</TT></LI>
+</UL>
+
+
+<UL>
+	<LI><A href="http://www.apache.org/dyn/closer.cgi/jackrabbit/2.1.6/jackrabbit-jca-2.1.6.rar" class="external-link">jackrabbit-jca-2.1.6.rar</A> (20M, JCA resource adapter, <A href="http://www.apache.org/dist/jackrabbit/2.1.6/jackrabbit-jca-2.1.6.rar.asc" class="external-link">PGP signature</A>)<BR>
+  SHA1 checksum: <TT>cc6849e837d8f2a6ed217de706c56c0e5f7028b1</TT><BR>
+  MD5 checksum: <TT>a7037c012e35c43675394db127b5f0c5</TT></LI>
+</UL>
+
+
+<H2><A name="Downloads-ApacheJackrabbit2.0.5%2803October2011%29"></A><A name="Downloads-v20"></A>Apache Jackrabbit 2.0.5 (03-October-2011)</H2>
+
+<P>Apache Jackrabbit 2.0.5 is a bug fix release that fixes issues reported against previous releases. This release is fully compatible with the earlier 2.0.x releases.</P>
+
+<P>See the <A href="http://www.apache.org/dist/jackrabbit/2.0.5/RELEASE-NOTES.txt" class="external-link">full release notes</A> for more details.</P>
+
+<UL>
+	<LI><A href="http://www.apache.org/dyn/closer.cgi/jackrabbit/2.0.5/jackrabbit-2.0.5-src.zip" class="external-link">jackrabbit-2.0.5-src.zip</A> (6.2M, source zip, <A href="http://www.apache.org/dist/jackrabbit/2.0.5/jackrabbit-2.0.5-src.zip.asc" class="external-link">PGP signature</A>)<BR>
+  SHA1 checksum: <TT>e1b29e484ed2dde5ec1efc395e4035c44d6ea61f</TT><BR>
+  MD5 checksum: <TT>5463a14a95fe18a8da7a6e4861751d4a</TT></LI>
+</UL>
+
+
+<UL>
+	<LI><A href="http://www.apache.org/dyn/closer.cgi/jackrabbit/2.0.5/jackrabbit-standalone-2.0.5.jar" class="external-link">jackrabbit-standalone-2.0.5.jar</A> (41M, standalone server, <A href="http://www.apache.org/dist/jackrabbit/2.0.5/jackrabbit-standalone-2.0.5.jar.asc" class="external-link">PGP signature</A>)<BR>
+  SHA1 checksum: <TT>8ab7acebbc402f9092128fd4552110f03c0ffb53</TT><BR>
+  MD5 checksum: <TT>91cd68164a4f6b738578e9a288ab2bc5</TT></LI>
+</UL>
+
+
+<UL>
+	<LI><A href="http://www.apache.org/dyn/closer.cgi/jackrabbit/2.0.5/jackrabbit-webapp-2.0.5.war" class="external-link">jackrabbit-webapp-2.0.5.war</A> (29M, web application, <A href="http://www.apache.org/dist/jackrabbit/2.0.5/jackrabbit-webapp-2.0.5.war.asc" class="external-link">PGP signature</A>)<BR>
+  SHA1 checksum: <TT>4d70a6bfd0d7b9f18a59803e8f178711d4f9a0cf</TT><BR>
+  MD5 checksum: <TT>5c7a93ff714685383bf8a54b5f28e7d5</TT></LI>
+</UL>
+
+
+<UL>
+	<LI><A href="http://www.apache.org/dyn/closer.cgi/jackrabbit/2.0.5/jackrabbit-jca-2.0.5.rar" class="external-link">jackrabbit-jca-2.0.5.rar</A> (26M, JCA resource adapter, <A href="http://www.apache.org/dist/jackrabbit/2.0.5/jackrabbit-jca-2.0.5.rar.asc" class="external-link">PGP signature</A>)<BR>
+  SHA1 checksum: <TT>ea72a4b9e8ea0c0fa5047b976ec8430deff2dc35</TT><BR>
+  MD5 checksum: <TT>406252030cc64ca7203b67c671f71953</TT></LI>
+</UL>
+
+
+<H2><A name="Downloads-ApacheJackrabbit1.6.5%2803October2011%29"></A><A name="Downloads-v16"></A>Apache Jackrabbit 1.6.5 (03-October-2011)</H2>
+
+<P>Apache Jackrabbit 1.6.5 is a bug fix release that fixes issues reported against previous releases. This release is backwards-compatible with the earlier 1.6.x releases, but contains a change in persistence format that makes it impossible to downgrade to releases earlier than 1.6.2 after a repository has been upgraded. A full backup of the repository is recommended before this upgrade.</P>
+
+<DIV class="panelMacro"><TABLE class="noteMacro"><COLGROUP><COL width="24"><COL></COLGROUP><TR><TD valign="top"><IMG src="https://cwiki.apache.org/confluence/images/icons/emoticons/warning.gif" width="16" height="16" align="absmiddle" alt="" border="0"></TD><TD>This patch release marks the end of active maintenance of the Jackrabbit 1.6 branch. All users are encouraged to upgrade to the more recent Jackrabbit 2.x versions.</TD></TR></TABLE></DIV>
+
+<P>See the <A href="http://www.apache.org/dist/jackrabbit/1.6.5/RELEASE-NOTES.txt" class="external-link">full release notes</A> for more details.</P>
+
+<UL>
+	<LI><A href="http://www.apache.org/dyn/closer.cgi/jackrabbit/1.6.5/jackrabbit-1.6.5-src.zip" class="external-link">jackrabbit-1.6.5-src.zip</A> (5.7M, source zip, <A href="http://www.apache.org/dist/jackrabbit/1.6.5/jackrabbit-1.6.5-src.zip.asc" class="external-link">PGP signature</A>)<BR>
+  SHA1 checksum: <TT>4fa1e032f9b641fbc5c9ff8d6ba76fdb58b539ba</TT><BR>
+  MD5 checksum: <TT>c54349f1f00e4d0f95f7e16dd3f5da11</TT></LI>
+</UL>
+
+
+<UL>
+	<LI><A href="http://www.apache.org/dyn/closer.cgi/jackrabbit/1.6.5/jackrabbit-standalone-1.6.5.jar" class="external-link">jackrabbit-standalone-1.6.5.jar</A> (21M, standalone server, <A href="http://www.apache.org/dist/jackrabbit/1.6.5/jackrabbit-standalone-1.6.5.jar.asc" class="external-link">PGP signature</A>)<BR>
+  SHA1 checksum: <TT>a9be78279c3987a7550d91f173b42bba9f801c4c</TT><BR>
+  MD5 checksum: <TT>6efcdd934e22b5dd5183638be7202a1f</TT></LI>
+</UL>
+
+
+<UL>
+	<LI><A href="http://www.apache.org/dyn/closer.cgi/jackrabbit/1.6.5/jackrabbit-webapp-1.6.5.war" class="external-link">jackrabbit-webapp-1.6.5.war</A> (14M, web application, <A href="http://www.apache.org/dist/jackrabbit/1.6.5/jackrabbit-webapp-1.6.5.war.asc" class="external-link">PGP signature</A>)<BR>
+  SHA1 checksum: <TT>ea352bce5528c819fec9a534838f1852e4c31bb5</TT><BR>
+  MD5 checksum: <TT>642daded0a09e19544b510cd390ce621</TT></LI>
+</UL>
+
+
+<UL>
+	<LI><A href="http://www.apache.org/dyn/closer.cgi/jackrabbit/1.6.5/jackrabbit-jca-1.6.5.rar" class="external-link">jackrabbit-jca-1.6.5.rar</A> (13M, JCA resource adapter, <A href="http://www.apache.org/dist/jackrabbit/1.6.5/jackrabbit-jca-1.6.5.rar.asc" class="external-link">PGP signature</A>)<BR>
+  SHA1 checksum: <TT>3d5934b96f931c21da7bcffdf2c04999396c5d83</TT><BR>
+  MD5 checksum: <TT>bb6c29df607ac7a6b117da4fc9aa3683</TT></LI>
+</UL>
+
+
+<H2><A name="Downloads-ApacheJackrabbitOCM2.0.0%2810July2012%29"></A><A name="Downloads-ocm"></A>Apache Jackrabbit OCM 2.0.0 (10-July-2012)</H2>
+
+<P>Apache Jackrabbit OCM 2.0.0  is release that contains fixes and improvements over Jackrabbit OCM 1.5. Apart from the test classes, it does not depend on Apache Jackrabbit core, but only on the JCR 2.0 specification</P>
+
+<P>See the <A href="http://www.apache.org/dist/jackrabbit/ocm/2.0.0/RELEASE-NOTES.txt" class="external-link">full release notes</A> for more details.</P>
+
+<UL>
+	<LI><A href="http://www.apache.org/dyn/closer.cgi/jackrabbit/ocm/2.0.0/jackrabbit-ocm-2.0.0-source-release.zip" class="external-link">jackrabbit-ocm-2.0.0-source-release.zip</A> (518K, source zip, <A href="http://www.apache.org/dist/jackrabbit/ocm/2.0.0/jackrabbit-ocm-2.0.0-source-release.zip.asc" class="external-link">PGP signature</A>)<BR>
+  SHA1 checksum: <TT>8e57c6b956ae271fa4df8cbe8d3e21a128ebc66e</TT><BR>
+  MD5 checksum: <TT>7495daad93eaa2aa2a3b02960b791cf3</TT></LI>
+</UL>
+
+
+<H2><A name="Downloads-ReleaseArchive"></A><A name="Downloads-archive"></A> Release Archive</H2>
+
+<P>Only current recommended releases are available on the main distribution site and its mirrors. Older releases are available from the <A href="http://archive.apache.org/dist/jackrabbit/" class="external-link">archive download site</A>.</P>
+
+<H2><A name="Downloads-Verify"></A><A name="Downloads-verify"></A> Verify</H2>
+
+<P>It is essential that you verify the integrity of the downloaded files using the PGP signatures or MD5 and SHA1 checksums. Please read <A href="http://httpd.apache.org/dev/verification.html" class="external-link">Verifying Apache HTTP Server Releases</A> for more information on why you should verify our releases.</P>
+
+<P>The PGP signatures can be verified using PGP or GPG.  First download the <A href="http://www.apache.org/dist/jackrabbit/KEYS" class="external-link">KEYS</A> file as well as the <TT>.asc</TT> signature files for the relevant release packages. Make sure you get these files from the <A href="http://www.apache.org/dist/jackrabbit/" class="external-link">main distribution directory</A>, rather than from a mirror. Then verify the signatures using</P>
+
+<DIV class="code panel" style="border-width: 1px;"><DIV class="codeContent panelContent">
+<PRE class="code-java">
+% pgpk -a KEYS
+% pgpv jackrabbit-X.Y.Z-src.zip.asc
+</PRE>
+</DIV></DIV>
+
+<P>or</P>
+
+<DIV class="code panel" style="border-width: 1px;"><DIV class="codeContent panelContent">
+<PRE class="code-java">
+% pgp -ka KEYS
+% pgp jackrabbit-X.Y.Z-src.zip.asc
+</PRE>
+</DIV></DIV>
+
+<P>or</P>
+
+<DIV class="code panel" style="border-width: 1px;"><DIV class="codeContent panelContent">
+<PRE class="code-java">
+% gpg --<SPAN class="code-keyword">import</SPAN> KEYS
+% gpg --verify jackrabbit-X.Y.Z-src.zip.asc
+</PRE>
+</DIV></DIV>
+
+<P>Alternatively, you can verify the MD5 or SHA1 checksums on the files. For checking the MD5 checksums, use the program called <TT>md5</TT> or <TT>md5sum</TT> included in many Unix distributions. The similar program for SHA1 is called <TT>sha1sum</TT>. It is also available as part of the <A href="http://www.gnu.org/software/coreutils/" class="external-link">GNU core utilities</A>. Windows users can get binary md5 programs from <A href="http://www.fourmilab.ch/md5/" class="external-link">here</A>, <A href="http://www.pc-tools.net/win32/md5sums/" class="external-link">here</A>, or <A href="http://www.slavasoft.com/fsum/" class="external-link">here</A>.</P>
+        </DIV>
+        <DIV id="end"></DIV>
+      </DIV>
+      <DIV id="footer">
+        <P>
+          &copy; 2004-2010 The Apache Software Foundation.
+          - <A href="http://jackrabbit.apache.org/privacy-policy.html">Privacy Policy</A> -
+          [<A href="https://cwiki.apache.org/confluence/pages/editpage.action?pageId=75615">edit this page</A>]
+          <BR>
+          Apache Jackrabbit, Jackrabbit, Apache, the Apache feather logo, and the Apache
+          Jackrabbit project logo are trademarks of The Apache Software Foundation.
+        </P>
+      </DIV>
+    </DIV>
+<!-- JCR- 1315: Add Google Analytics to Jackrabbit web site -->
+<SCRIPT type="text/javascript">
+var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
+document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
+</SCRIPT>
+<SCRIPT type="text/javascript">
+var pageTracker = _gat._getTracker("UA-837900-2");
+pageTracker._initData();
+pageTracker._trackPageview();
+</SCRIPT>
+  </BODY>
+</HTML>

Added: jackrabbit/site/trunk/content/JCR/embedded-repository.html
URL: http://svn.apache.org/viewvc/jackrabbit/site/trunk/content/JCR/embedded-repository.html?rev=1427110&view=auto
==============================================================================
--- jackrabbit/site/trunk/content/JCR/embedded-repository.html (added)
+++ jackrabbit/site/trunk/content/JCR/embedded-repository.html Mon Dec 31 12:40:09 2012
@@ -0,0 +1,342 @@
+
+<!-- 
+  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 HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<HTML>
+  <HEAD>
+    <TITLE>Embedded Repository</TITLE>
+    <LINK type="text/css" rel="stylesheet" href="http://jackrabbit.apache.org/style/site.css">
+  <META http-equiv="Content-Type" content="text/html;charset=UTF-8"></HEAD>
+  <BODY>
+    <DIV id="page">
+      <DIV id="header">
+        <P id="jcr"><A href="http://jackrabbit.apache.org/"><IMG src="http://jackrabbit.apache.org/style/jlogo.gif" alt="Apache Jackrabbit" height="100" width="336"></A></P>
+        <P id="asf"><A href="http://www.apache.org/"><IMG src="http://jackrabbit.apache.org/style/asf-logo.gif" alt="Apache Software Foundation" height="100" width="387"></A></P>
+      </DIV>
+      <DIV id="body">
+        <DIV id="navigation">
+  <UL>
+	<LI>Apache Jackrabbit
+	<UL>
+		<LI><A href="welcome-to-apache-jackrabbit.html" title="Welcome to Apache Jackrabbit">Welcome</A></LI>
+		<LI><A href="downloads.html" title="Downloads">Downloads</A></LI>
+		<LI><A href="frequently-asked-questions.html" title="Frequently Asked Questions">FAQ</A></LI>
+		<LI><A href="http://wiki.apache.org/jackrabbit/FrontPage" class="external-link">Jackrabbit Wiki</A></LI>
+		<LI><A href="jackrabbit-history.html" title="Jackrabbit History">Jackrabbit History</A></LI>
+	</UL>
+	</LI>
+	<LI>Documentation
+	<UL>
+		<LI><A href="getting-started-with-apache-jackrabbit.html" title="Getting Started with Apache Jackrabbit">Getting Started</A></LI>
+		<LI><A href="standalone-server.html" title="Standalone Server">Standalone Server</A></LI>
+		<LI><A href="jackrabbit-components.html" title="Jackrabbit Components">Jackrabbit Components</A></LI>
+		<LI><A href="first-hops.html" title="First Hops">First Hops</A></LI>
+		<LI><A href="jcr-api.html" title="JCR & API">JCR &amp; API</A></LI>
+		<LI><A href="jackrabbit-architecture.html" title="Jackrabbit Architecture">Jackrabbit Architecture</A></LI>
+		<LI><A href="deployment-models.html" title="Deployment Models">Deployment Models</A></LI>
+		<LI><A href="jackrabbit-configuration.html" title="Jackrabbit Configuration">Jackrabbit Configuration</A></LI>
+		<LI><A href="node-types.html" title="Node Types">Node Types</A></LI>
+		<LI><A href="object-content-mapping.html" title="Object Content Mapping">Object Content Mapping</A></LI>
+	</UL>
+	</LI>
+	<LI>Development
+	<UL>
+		<LI><A href="jackrabbit-team.html" title="Jackrabbit Team">Jackrabbit Team</A></LI>
+		<LI><A href="jackrabbit-roadmap.html" title="Jackrabbit Roadmap">Jackrabbit Roadmap</A></LI>
+		<LI><A href="building-jackrabbit.html" title="Building Jackrabbit">Building Jackrabbit</A></LI>
+		<LI><A href="mailing-lists.html" title="Mailing Lists">Mailing Lists</A></LI>
+		<LI><A href="issue-tracker.html" title="Issue Tracker">Issue Tracker</A></LI>
+		<LI><A href="source-repository.html" title="Source Repository">Source Repository</A></LI>
+		<LI><A href="continuous-integration.html" title="Continuous Integration">Continuous Integration</A></LI>
+		<LI><A href="website.html" title="Website">Website</A></LI>
+		<LI><A href="creating-releases.html" title="Creating Releases">Creating Releases</A></LI>
+		<LI><A href="supporting-software-attribution.html" title="Supporting software attribution">Attribution</A></LI>
+	</UL>
+	</LI>
+	<LI>Apache Software Foundation
+	<UL>
+		<LI><A href="http://www.apache.org/foundation/how-it-works.html" class="external-link">Introduction</A></LI>
+		<LI><A href="http://www.apache.org/foundation/sponsorship.html" class="external-link">Sponsorship</A></LI>
+		<LI><A href="http://www.apache.org/foundation/thanks.html" class="external-link">Current Sponsors</A></LI>
+	</UL>
+	</LI>
+</UL>
+        </DIV>
+        <DIV id="content">
+          <H1>Embedded Repository</H1>
+  <P>You can run Jackrabbit in embedded mode inside your application if you only (or mostly) access a repository from that one application. In this deployment model the Jackrabbit dependencies are included directly in your classpath and your application is in full control of the repository lifecycle. To use this deployment model you need to add the appropriate dependencies to your application and include a few lines of Jackrabbit-specific code to start and stop a repository. You can then use the standard JCR API to access and manage content inside the repository.</P>
+
+<P>This page describes how to embed Jackrabbit in your application.</P>
+
+<DIV>
+<UL>
+    <LI><A href="#EmbeddedRepository-Jackrabbitdependencies">Jackrabbit dependencies</A></LI>
+    <LI><A href="#EmbeddedRepository-Startingtherepository">Starting the repository</A></LI>
+    <LI><A href="#EmbeddedRepository-Shuttingdowntherepository">Shutting down the repository</A></LI>
+    <LI><A href="#EmbeddedRepository-TheTransientRepositoryclass">The TransientRepository class</A></LI>
+    <LI><A href="#EmbeddedRepository-Enablingremoteaccess">Enabling remote access</A></LI>
+    <LI><A href="#EmbeddedRepository-Embeddedrepositoryinawebapplication">Embedded repository in a web application</A></LI>
+</UL></DIV>
+
+<H2><A name="EmbeddedRepository-Jackrabbitdependencies"></A>Jackrabbit dependencies</H2>
+
+<P>To use Jackrabbit in embedded mode you need to make sure that the JCR API and all required Jackrabbit libraries are included in your classpath. If you use <A href="http://maven.apache.org/" class="external-link">Maven 2</A>, you can achieve this by specifying the following dependencies.</P>
+
+<DIV class="code panel" style="border-width: 1px;"><DIV class="codeContent panelContent">
+<PRE class="code-xml">
+<SPAN class="code-tag">&lt;dependency&gt;</SPAN>
+  <SPAN class="code-tag">&lt;groupId&gt;</SPAN>javax.jcr<SPAN class="code-tag">&lt;/groupId&gt;</SPAN>
+  <SPAN class="code-tag">&lt;artifactId&gt;</SPAN>jcr<SPAN class="code-tag">&lt;/artifactId&gt;</SPAN>
+  <SPAN class="code-tag">&lt;version&gt;</SPAN>1.0<SPAN class="code-tag">&lt;/version&gt;</SPAN>
+<SPAN class="code-tag">&lt;/dependency&gt;</SPAN>
+<SPAN class="code-tag">&lt;dependency&gt;</SPAN>
+  <SPAN class="code-tag">&lt;groupId&gt;</SPAN>org.apache.jackrabbit<SPAN class="code-tag">&lt;/groupId&gt;</SPAN>
+  <SPAN class="code-tag">&lt;artifactId&gt;</SPAN>jackrabbit-core<SPAN class="code-tag">&lt;/artifactId&gt;</SPAN>
+  <SPAN class="code-tag">&lt;version&gt;</SPAN>1.5.0<SPAN class="code-tag">&lt;/version&gt;</SPAN>
+  <SPAN class="code-tag">&lt;exclusions&gt;</SPAN>
+    <SPAN class="code-tag">&lt;exclusion&gt;</SPAN>
+      <SPAN class="code-tag">&lt;groupId&gt;</SPAN>commons-logging<SPAN class="code-tag">&lt;/groupId&gt;</SPAN>
+      <SPAN class="code-tag">&lt;artifactId&gt;</SPAN>commons-logging<SPAN class="code-tag">&lt;/artifactId&gt;</SPAN>
+    <SPAN class="code-tag">&lt;/exclusion&gt;</SPAN>
+  <SPAN class="code-tag">&lt;/exclusions&gt;</SPAN>
+<SPAN class="code-tag">&lt;/dependency&gt;</SPAN>
+<SPAN class="code-tag">&lt;dependency&gt;</SPAN>
+  <SPAN class="code-tag">&lt;groupId&gt;</SPAN>org.slf4j<SPAN class="code-tag">&lt;/groupId&gt;</SPAN>
+  <SPAN class="code-tag">&lt;artifactId&gt;</SPAN>jcl-over-slf4j<SPAN class="code-tag">&lt;/artifactId&gt;</SPAN>
+  <SPAN class="code-tag">&lt;version&gt;</SPAN>1.5.3<SPAN class="code-tag">&lt;/version&gt;</SPAN>
+<SPAN class="code-tag">&lt;/dependency&gt;</SPAN>
+<SPAN class="code-tag">&lt;dependency&gt;</SPAN>
+  <SPAN class="code-tag">&lt;groupId&gt;</SPAN>org.slf4j<SPAN class="code-tag">&lt;/groupId&gt;</SPAN>
+  <SPAN class="code-tag">&lt;artifactId&gt;</SPAN>slf4j-log4j12<SPAN class="code-tag">&lt;/artifactId&gt;</SPAN>
+  <SPAN class="code-tag">&lt;version&gt;</SPAN>1.5.3<SPAN class="code-tag">&lt;/version&gt;</SPAN>
+<SPAN class="code-tag">&lt;/dependency&gt;</SPAN>
+</PRE>
+</DIV></DIV>
+
+<P>The jcr dependency includes the JCR 1.0 API in your classpath. You need to explicitly declare this dependency as in jackrabbit-core the JCR API dependency scope is <EM>provided</EM> to work better in deployment models where the JCR API is shared between multiple applications.</P>
+
+<P>The jackrabbit-core dependency pulls in the Jackrabbit content repository implementation and a set of transitive dependencies needed by Jackrabbit. See the <A href="downloads.html" title="Downloads">Downloads</A> page for the latest available version.</P>
+
+<P>Jackrabbit uses the <A href="http://www.slf4j.org/" class="external-link">SLF4J</A> for logging and leaves it up to the embedding application to decide which underlying logging library to use. In the example above we use the slf4j-log4j12 library which uses <A href="http://logging.apache.org/log4j/1.2/" class="external-link">log4j 1.2</A> for handling the log messages. Note that the commons-logging dependency (which is a transitive dependency from <A href="http://poi.apache.org/" class="external-link">Apache POI</A>) is explicitly replaced with the jcl-over-slf4j dependency that routes also all <A href="http://commons.apache.org/logging/" class="external-link">Commons Logging</A> log messages through the selected SLF4J implementation. Jackrabbit 1.5.x uses SLF4J version 1.5.3.</P>
+
+<P>The full set of compile-scope dependencies included by the above declaration is shown below. If you use a build tool like <A href="http://ant.apache.org/" class="external-link">Ant</A> where you need to explicitly include all dependencies, you can use this list to correctly configure your classpath.</P>
+
+<DIV class="code panel" style="border-width: 1px;"><DIV class="codeContent panelContent">
+<PRE class="code-java">
++- javax.jcr:jcr:jar:1.0:compile
++- org.apache.jackrabbit:jackrabbit-core:jar:1.5.0:compile
+|  +- concurrent:concurrent:jar:1.3.4:compile
+|  +- commons-collections:commons-collections:jar:3.1:compile
+|  +- commons-io:commons-io:jar:1.4:compile
+|  +- org.apache.jackrabbit:jackrabbit-api:jar:1.5.0:compile
+|  +- org.apache.jackrabbit:jackrabbit-jcr-commons:jar:1.5.0:compile
+|  +- org.apache.jackrabbit:jackrabbit-spi-commons:jar:1.5.0:compile
+|  +- org.apache.jackrabbit:jackrabbit-spi:jar:1.5.0:compile
+|  +- org.apache.jackrabbit:jackrabbit-text-extractors:jar:1.5.0:compile
+|  |  +- org.apache.poi:poi:jar:3.0.2-FINAL:compile
+|  |  +- org.apache.poi:poi-scratchpad:jar:3.0.2-FINAL:compile
+|  |  +- pdfbox:pdfbox:jar:0.7.3:compile
+|  |  |  +- org.fontbox:fontbox:jar:0.1.0:compile
+|  |  |  \- org.jempbox:jempbox:jar:0.2.0:compile
+|  |  \- net.sourceforge.nekohtml:nekohtml:jar:1.9.7:compile
+|  |     \- xerces:xercesImpl:jar:2.8.1:compile
+|  |        \- xml-apis:xml-apis:jar:1.3.03:compile
+|  +- org.slf4j:slf4j-api:jar:1.5.3:compile
+|  +- org.apache.lucene:lucene-core:jar:2.3.2:compile
+|  \- org.apache.derby:derby:jar:10.2.1.6:compile
++- org.slf4j:jcl-over-slf4j:jar:1.5.3:compile
+\- org.slf4j:slf4j-log4j12:jar:1.5.3:compile
+   \- log4j:log4j:jar:1.2.14:compile
+</PRE>
+</DIV></DIV>
+
+<P>Note that some of the transitive dependencies listed above may conflict with some other dependencies of our application. In such cases you may want to consider switching to a deployment model that uses separate class loaders for your application and the Jackrabbit content repository.</P>
+
+<H2><A name="EmbeddedRepository-Startingtherepository"></A>Starting the repository</H2>
+
+<P>Once you have your classpath configured you can start the repository with the following piece of code.</P>
+
+<DIV class="code panel" style="border-width: 1px;"><DIV class="codeContent panelContent">
+<PRE class="code-java">
+<SPAN class="code-keyword">import</SPAN> javax.jcr.Repository;
+<SPAN class="code-keyword">import</SPAN> org.apache.jackrabbit.core.RepositoryImpl;
+<SPAN class="code-keyword">import</SPAN> org.apache.jackrabbit.core.config.RepositoryConfig;
+
+<SPAN class="code-object">String</SPAN> xml = <SPAN class="code-quote">&quot;/path/to/repository/configuration.xml&quot;</SPAN>;
+<SPAN class="code-object">String</SPAN> dir = <SPAN class="code-quote">&quot;/path/to/repository/directory&quot;</SPAN>;
+RepositoryConfig config = RepositoryConfig.create(xml, dir);
+Repository repository = RepositoryImpl.create(config);
+</PRE>
+</DIV></DIV>
+
+<P>See the <A href="jackrabbit-configuration.html" title="Jackrabbit Configuration">Jackrabbit Configuration</A> page for more information on repository configuration. See the <A href="http://jackrabbit.apache.org/api/1.5/org/apache/jackrabbit/core/config/RepositoryConfig.html" class="external-link">RepositoryConfig</A> and <A href="http://jackrabbit.apache.org/api/1.5/org/apache/jackrabbit/core/RepositoryImpl.html" class="external-link">RepositoryImpl</A> javadocs for more details on these classes.</P>
+
+<H2><A name="EmbeddedRepository-Shuttingdowntherepository"></A>Shutting down the repository</H2>
+
+<P>When your application no longer needs the content repository, you can shut it down with the following code.</P>
+
+<DIV class="code panel" style="border-width: 1px;"><DIV class="codeContent panelContent">
+<PRE class="code-java">
+((RepositoryImpl) repository).shutdown();
+</PRE>
+</DIV></DIV>
+
+<P>This will forcibly close all open sessions and make sure that all repository content is safely stored on disk.</P>
+
+<H2><A name="EmbeddedRepository-TheTransientRepositoryclass"></A>The TransientRepository class</H2>
+
+<P>Jackrabbit comes with a <A href="http://jackrabbit.apache.org/api/1.5/org/apache/jackrabbit/core/TransientRepository.html" class="external-link">TransientRepository</A> class that makes it even easier to get started with a content repository. This class is especially handy for quick prototyping, but using the RepositoryImpl class as described above gives you better control over the repository lifecycle and is typically a better alternative for production code.</P>
+
+<DIV class="code panel" style="border-width: 1px;"><DIV class="codeContent panelContent">
+<PRE class="code-java">
+<SPAN class="code-keyword">import</SPAN> javax.jcr.Repository;
+<SPAN class="code-keyword">import</SPAN> org.apache.jackrabbit.core.TransientRepository;
+
+Repository repository = <SPAN class="code-keyword">new</SPAN> TransientRepository();
+</PRE>
+</DIV></DIV>
+
+<P>This creates a repository instance that starts up when the first session is created and automatically shuts down when the last session is closed. By default the repository will be created in a &quot;jackrabbit&quot; subdirectory using a default configuration file in &quot;jackrabbit/repository.xml&quot;. See the TransientRepository javadocs for the ways to override these defaults.</P>
+
+<H2><A name="EmbeddedRepository-Enablingremoteaccess"></A>Enabling remote access</H2>
+
+<P>Even if you mostly use the content repository in embedded mode within your application, it may occasionally be useful to be able to access the repository for example from an external administration tool while your application is still running. You can use the jackrabbit-jcr-rmi library to make this possible. To do this, you first need to add the appropriate dependency.</P>
+
+<DIV class="code panel" style="border-width: 1px;"><DIV class="codeContent panelContent">
+<PRE class="code-xml">
+<SPAN class="code-tag">&lt;dependency&gt;</SPAN>
+  <SPAN class="code-tag">&lt;groupId&gt;</SPAN>org.apache.jackrabbit<SPAN class="code-tag">&lt;/groupId&gt;</SPAN>
+  <SPAN class="code-tag">&lt;artifactId&gt;</SPAN>jackrabbit-jcr-rmi<SPAN class="code-tag">&lt;/artifactId&gt;</SPAN>
+  <SPAN class="code-tag">&lt;version&gt;</SPAN>1.5.0<SPAN class="code-tag">&lt;/version&gt;</SPAN>
+<SPAN class="code-tag">&lt;/dependency&gt;</SPAN>
+</PRE>
+</DIV></DIV>
+
+<P>Make sure that you have <A href="http://java.sun.com/j2se/1.5.0/docs/tooldocs/solaris/rmiregistry.html" class="external-link">rmiregistry</A> running, and use the following code to export the repository. Note that you need to include the JCR API and the jackrabbit-jcr-rmi libraries in the rmiregistry classpath for the binding to work without extra RMI codebase settings.</P>
+
+<DIV class="code panel" style="border-width: 1px;"><DIV class="codeContent panelContent">
+<PRE class="code-java">
+<SPAN class="code-keyword">import</SPAN> java.rmi.Naming;
+<SPAN class="code-keyword">import</SPAN> org.apache.jackrabbit.rmi.server.RemoteAdapterFactory;
+<SPAN class="code-keyword">import</SPAN> org.apache.jackrabbit.rmi.server.RemoteRepository;
+<SPAN class="code-keyword">import</SPAN> org.apache.jackrabbit.rmi.jackrabbit.JackrabbitRemoteAdapterFactory;
+
+<SPAN class="code-object">String</SPAN> url = <SPAN class="code-quote">&quot;<SPAN class="code-comment">//localhost/javax/jcr/Repository&quot;</SPAN>; // RMI URL of the repository
+</SPAN>RemoteAdapterFactory factory = <SPAN class="code-keyword">new</SPAN> JackrabbitRemoteAdapterFactory();
+RemoteRepository remote = factory.getRemoteRepository(repository);
+Naming.bind(url, remote);
+</PRE>
+</DIV></DIV>
+
+<P>Use the following code to remote the repository binding from the RMI registry before you shutdown the repository.</P>
+
+<DIV class="code panel" style="border-width: 1px;"><DIV class="codeContent panelContent">
+<PRE class="code-java">
+Naming.unbind(url);
+</PRE>
+</DIV></DIV>
+
+<P>You need to keep a direct reference to the RemoteRepository instance in your code until you call Naming.unbind as otherwise it could get garbage collected before a remote client connects to it.</P>
+
+<P>See the <A href="https://cwiki.apache.org/confluence/pages/createpage.action?spaceKey=JCR&title=Repository%20Server&linkCreation=true&fromPageId=106665" class="createlink">Repository Server</A> page for instructions on how to access such a remote repository.</P>
+
+<H2><A name="EmbeddedRepository-Embeddedrepositoryinawebapplication"></A>Embedded repository in a web application</H2>
+
+<P>If your want to embed Jackrabbit in a web application, you can use the classes in the jackrabbit-jcr-servlet library to avoid the above startup and shutdown code. To do this, you first need to include jackrabbit-jcr-servlet as a dependency.</P>
+
+<DIV class="code panel" style="border-width: 1px;"><DIV class="codeContent panelContent">
+<PRE class="code-xml">
+<SPAN class="code-tag">&lt;dependency&gt;</SPAN>
+  <SPAN class="code-tag">&lt;groupId&gt;</SPAN>org.apache.jackrabbit<SPAN class="code-tag">&lt;/groupId&gt;</SPAN>
+  <SPAN class="code-tag">&lt;artifactId&gt;</SPAN>jackrabbit-jcr-servlet<SPAN class="code-tag">&lt;/artifactId&gt;</SPAN>
+  <SPAN class="code-tag">&lt;version&gt;</SPAN>1.5.0<SPAN class="code-tag">&lt;/version&gt;</SPAN>
+<SPAN class="code-tag">&lt;/dependency&gt;</SPAN>
+</PRE>
+</DIV></DIV>
+
+<P>Then you can instruct the servlet container to automatically start and stop the repository as a part of your webapp lifecycle by including the following servlet configuration in your web.xml file.</P>
+
+<DIV class="code panel" style="border-width: 1px;"><DIV class="codeContent panelContent">
+<PRE class="code-xml">
+<SPAN class="code-tag">&lt;servlet&gt;</SPAN>
+  <SPAN class="code-tag">&lt;servlet-name&gt;</SPAN>ContentRepository<SPAN class="code-tag">&lt;/servlet-name&gt;</SPAN>
+  <SPAN class="code-tag">&lt;servlet-class&gt;</SPAN>org.apache.jackrabbit.servlet.jackrabbit.JackrabbitRepositoryServlet<SPAN class="code-tag">&lt;/servlet-class&gt;</SPAN>
+  <SPAN class="code-tag">&lt;load-on-startup&gt;</SPAN>1<SPAN class="code-tag">&lt;/load-on-startup&gt;</SPAN>
+<SPAN class="code-tag">&lt;/servlet&gt;</SPAN>
+</PRE>
+</DIV></DIV>
+
+<P>See the <A href="http://jackrabbit.apache.org/api/1.5/org/apache/jackrabbit/servlet/jackrabbit/JackrabbitRepositoryServlet.html" class="external-link">JackrabbitRepositoryServlet</A> javadocs for the available configuration options.</P>
+
+<P>You can then access the repository in your own servlet classes using the following piece of code without worrying about the repository lifecycle.</P>
+
+<DIV class="code panel" style="border-width: 1px;"><DIV class="codeContent panelContent">
+<PRE class="code-java">
+<SPAN class="code-keyword">import</SPAN> javax.jcr.Repository;
+<SPAN class="code-keyword">import</SPAN> org.apache.jackrabbit.servlet.ServletRepository;
+
+Repository repository = <SPAN class="code-keyword">new</SPAN> ServletRepository(<SPAN class="code-keyword">this</SPAN>); <SPAN class="code-comment">// <SPAN class="code-quote">&quot;<SPAN class="code-keyword">this</SPAN>&quot;</SPAN> is the containing servlet</SPAN>
+</PRE>
+</DIV></DIV>
+
+<P>The benefit of this approach over directly using the RepositoryImpl or TransientRepository classes as described above is that you can later on switch to a different deployment model without any code changes simply by modifying the servlet configuration in your web.xml.</P>
+
+<P>With this approach it is also easier to make your repository remotely available. Add the following configuration to your web.xml and your repository is automatically made available as a remote repository at .../rmi in the URL space of your webapp.</P>
+
+<DIV class="code panel" style="border-width: 1px;"><DIV class="codeContent panelContent">
+<PRE class="code-xml">
+<SPAN class="code-tag">&lt;servlet&gt;</SPAN>
+  <SPAN class="code-tag">&lt;servlet-name&gt;</SPAN>RemoteRepository<SPAN class="code-tag">&lt;/servlet-name&gt;</SPAN>
+  <SPAN class="code-tag">&lt;servlet-class&gt;</SPAN>org.apache.jackrabbit.servlet.remote.RemoteBindingServlet<SPAN class="code-tag">&lt;/servlet-class&gt;</SPAN>
+<SPAN class="code-tag">&lt;/servlet&gt;</SPAN>
+<SPAN class="code-tag">&lt;servlet-mapping&gt;</SPAN>
+  <SPAN class="code-tag">&lt;servlet-name&gt;</SPAN>RemoteRepository<SPAN class="code-tag">&lt;/servlet-name&gt;</SPAN>
+  <SPAN class="code-tag">&lt;url-pattern&gt;</SPAN>/rmi<SPAN class="code-tag">&lt;/url-pattern&gt;</SPAN>
+<SPAN class="code-tag">&lt;/servlet-mapping&gt;</SPAN>
+</PRE>
+</DIV></DIV>
+
+<P>Note that you also need the jackrabbit-jcr-rmi dependency in your application for the above configuration to work.</P>
+        </DIV>
+        <DIV id="end"></DIV>
+      </DIV>
+      <DIV id="footer">
+        <P>
+          &copy; 2004-2010 The Apache Software Foundation.
+          - <A href="http://jackrabbit.apache.org/privacy-policy.html">Privacy Policy</A> -
+          [<A href="https://cwiki.apache.org/confluence/pages/editpage.action?pageId=106665">edit this page</A>]
+          <BR>
+          Apache Jackrabbit, Jackrabbit, Apache, the Apache feather logo, and the Apache
+          Jackrabbit project logo are trademarks of The Apache Software Foundation.
+        </P>
+      </DIV>
+    </DIV>
+<!-- JCR- 1315: Add Google Analytics to Jackrabbit web site -->
+<SCRIPT type="text/javascript">
+var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
+document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
+</SCRIPT>
+<SCRIPT type="text/javascript">
+var pageTracker = _gat._getTracker("UA-837900-2");
+pageTracker._initData();
+pageTracker._trackPageview();
+</SCRIPT>
+  </BODY>
+</HTML>



Mime
View raw message