You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jackrabbit.apache.org by re...@apache.org on 2022/12/13 13:11:14 UTC

svn commit: r1905958 [4/21] - in /jackrabbit/site/live/jcr: ./ components/ css/ fonts/ js/ ocm/ status/

Modified: jackrabbit/site/live/jcr/deployment-models.html
URL: http://svn.apache.org/viewvc/jackrabbit/site/live/jcr/deployment-models.html?rev=1905958&r1=1905957&r2=1905958&view=diff
==============================================================================
--- jackrabbit/site/live/jcr/deployment-models.html (original)
+++ jackrabbit/site/live/jcr/deployment-models.html Tue Dec 13 13:11:12 2022
@@ -1,40 +1,42 @@
 <!DOCTYPE html>
-
-
 <!--
- | Generated by Apache Maven Doxia Site Renderer 1.11.1 from src\site\markdown/deployment-models.md at 2022-10-16
- | Rendered using Apache Maven Fluido Skin 1.11.1
+ | Generated by Apache Maven Doxia Site Renderer 1.9.2 from src\site\markdown/deployment-models.md at 2022-05-12
+ | Rendered using Apache Maven Fluido Skin 1.9
 -->
 <html xmlns="http://www.w3.org/1999/xhtml" lang="en">
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1" />
-    <meta name="generator" content="Apache Maven Doxia Site Renderer 1.11.1" />
+    <meta name="generator" content="Apache Maven Doxia Site Renderer 1.9.2" />
     <title>Apache Jackrabbit &#x2013; Deployment Models</title>
-    <link rel="stylesheet" href="./css/apache-maven-fluido-1.11.1.min.css" />
+    <link rel="stylesheet" href="./css/apache-maven-fluido-1.9.min.css" />
     <link rel="stylesheet" href="./css/site.css" />
     <link rel="stylesheet" href="./css/print.css" media="print" />
-    <script src="./js/apache-maven-fluido-1.11.1.min.js"></script>
-
-    <!-- Matomo -->
-    <script>
-        var _paq = window._paq = window._paq || [];
-                _paq.push(['disableCookies']);
-                    _paq.push(['trackPageView']);
-                    _paq.push(['enableLinkTracking']);
-        
-        (function() {
-            var u="https://analytics.apache.org";
-            _paq.push(['setTrackerUrl', u+'/matomo.php']);
-            _paq.push(['setSiteId', '4']);
-            var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
-            g.async=true; g.src=u+'/matomo.js'; s.parentNode.insertBefore(g,s);
-        })();
-    </script>
-    <!-- End Matomo Code -->
+    <script src="./js/apache-maven-fluido-1.9.min.js"></script>
+<!-- Matomo -->
+<script>
+  var _paq = window._paq = window._paq || [];
+  /* tracker methods like "setCustomDimension" should be called before "trackPageView" */
+  /* We explicitly disable cookie tracking to avoid privacy issues */
+  _paq.push(['disableCookies']);
+  _paq.push(['trackPageView']);
+  _paq.push(['enableLinkTracking']);
+  (function() {
+    var u="https://matomo.privacy.apache.org/";
+    _paq.push(['setTrackerUrl', u+'matomo.php']);
+    _paq.push(['setSiteId', '4']);
+    var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
+    g.async=true; g.src=u+'matomo.js'; s.parentNode.insertBefore(g,s);
+  })();
+</script>
+<!-- End Matomo Code -->
   </head>
   <body class="topBarEnabled">
-    <a class="github-fork-ribbon right-top" href="https://github.com/apache/jackrabbit" data-ribbon="Fork me on GitHub" title="Fork me on GitHub">Fork me on GitHub</a>
+    <a href="https://github.com/apache/jackrabbit">
+      <img style="position: absolute; top: 0; right: 0; border: 0; z-index: 10000;"
+        src="https://s3.amazonaws.com/github/ribbons/forkme_right_red_aa0000.png"
+        alt="Fork me on GitHub">
+    </a>
     <header id="topbar" class="navbar navbar-fixed-top ">
       <div class="navbar-inner">
         <div class="container-fluid">
@@ -47,7 +49,7 @@
 </a>
             <ul class="nav">
       <li class="dropdown">
-        <a class="dropdown-toggle" data-toggle="dropdown">Apache Jackrabbit <b class="caret"></b></a>
+        <a href="#" class="dropdown-toggle" data-toggle="dropdown">Apache Jackrabbit <b class="caret"></b></a>
         <ul class="dropdown-menu">
             <li><a href="index.html" title="Welcome">Welcome</a></li>
             <li><a href="downloads.html" title="Downloads">Downloads</a></li>
@@ -58,7 +60,7 @@
         </ul>
       </li>
       <li class="dropdown">
-        <a class="dropdown-toggle" data-toggle="dropdown">Documentation <b class="caret"></b></a>
+        <a href="#" class="dropdown-toggle" data-toggle="dropdown">Documentation <b class="caret"></b></a>
         <ul class="dropdown-menu">
             <li><a href="getting-started-with-apache-jackrabbit.html" title="Getting Started">Getting Started</a></li>
             <li><a href="standalone-server.html" title="Standalone Server">Standalone Server</a></li>
@@ -66,14 +68,14 @@
             <li><a href="first-hops.html" title="First Hops">First Hops</a></li>
             <li><a href="jcr-api.html" title="JCR & API">JCR & API</a></li>
             <li><a href="jackrabbit-architecture.html" title="Jackrabbit Architecture">Jackrabbit Architecture</a></li>
-            <li><a title="Deployment Models">Deployment Models</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 class="dropdown">
-        <a class="dropdown-toggle" data-toggle="dropdown">Development <b class="caret"></b></a>
+        <a href="#" class="dropdown-toggle" data-toggle="dropdown">Development <b class="caret"></b></a>
         <ul class="dropdown-menu">
             <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>
@@ -88,7 +90,7 @@
         </ul>
       </li>
       <li class="dropdown">
-        <a class="dropdown-toggle" data-toggle="dropdown">Apache Software Foundation <b class="caret"></b></a>
+        <a href="#" class="dropdown-toggle" data-toggle="dropdown">Apache Software Foundation <b class="caret"></b></a>
         <ul class="dropdown-menu">
             <li><a href="https://www.apache.org/foundation/how-it-works.html" title="Introduction">Introduction</a></li>
             <li><a href="https://www.apache.org/foundation/sponsorship.html" title="Sponsorship">Sponsorship</a></li>
@@ -103,7 +105,7 @@
     <div class="container-fluid">
       <header>
         <div id="banner">
-          <div class="pull-left"><div id="bannerLeft"><h1>Apache Jackrabbit Site</h1>
+          <div class="pull-left"><div id="bannerLeft"><h2>Apache Jackrabbit Site</h2>
 </div>
 </div>
           <div class="pull-right"></div>
@@ -112,7 +114,7 @@
 
         <div id="breadcrumbs">
           <ul class="breadcrumb">
-        <li id="publishDate">Last Published: 2022-10-16</li>
+        <li id="publishDate">Last Published: 2022-05-12</li>
           </ul>
         </div>
       </header>
@@ -134,7 +136,7 @@
     <li><a href="first-hops.html" title="First Hops"><span class="none"></span>First Hops</a></li>
     <li><a href="jcr-api.html" title="JCR & API"><span class="none"></span>JCR & API</a></li>
     <li><a href="jackrabbit-architecture.html" title="Jackrabbit Architecture"><span class="none"></span>Jackrabbit Architecture</a></li>
-    <li class="active"><a><span class="none"></span>Deployment Models</a></li>
+    <li class="active"><a href="#"><span class="none"></span>Deployment Models</a></li>
     <li><a href="jackrabbit-configuration.html" title="Jackrabbit Configuration"><span class="none"></span>Jackrabbit Configuration</a></li>
     <li><a href="node-types.html" title="Node Types"><span class="none"></span>Node Types</a></li>
     <li><a href="object-content-mapping.html" title="Object Content Mapping"><span class="none"></span>Object Content Mapping</a></li>
@@ -157,6 +159,7 @@
   </ul>
           </nav>
           <div class="well sidebar-nav">
+            <hr />
             <div id="poweredBy">
               <div class="clear"></div>
               <div class="clear"></div>
@@ -183,14 +186,9 @@
    limitations under the License.
 -->
 <h1>Deployment Models</h1>
-<p>JSR-170 explicitly allows for numerous different deployment models, meaning
-that it is entirely up to the repository implementation to suggest certain
-models.</p>
-<p>Jackrabbit is built to support a variety of different deployment models,
-some of the possibilities on how to deploy Jackrabbit will be outlined
-here.</p>
-<p>See also the following HOWTO documents for setting up and using the
-different deployment models:</p>
+<p>JSR-170 explicitly allows for numerous different deployment models, meaning that it is entirely up to the repository implementation to suggest certain models.</p>
+<p>Jackrabbit is built to support a variety of different deployment models, some of the possibilities on how to deploy Jackrabbit will be outlined here.</p>
+<p>See also the following HOWTO documents for setting up and using the different deployment models:</p>
 <ul>
 
 <li><a href="jcr-client-application-howto.html">JCR client application HOWTO</a></li>
@@ -199,69 +197,29 @@ different deployment models:</p>
 <li>Model 3: <a href="repository-server-howto.html">Repository Server HOWTO</a></li>
 </ul><section>
 <h2><a name="Model_1:_The_.28Web-.29_Application_Bundle"></a>Model 1: The (Web-) Application Bundle</h2>
-<p>For many applications, usually applications that run in a closed context
-without interacting with other applications or data sources, it might be
-desirable to bundle a content repository with the application itself.</p>
-<p>Jackrabbit is built for this lightweight model and allows obviously through
-the abstraction provided by JSR-170 to move at any point in time to a
-different deployment model in case this should be desirable for the context
-that the application runs in.</p>
-<p>This makes Jackrabbit ideal to be packaged as a lightweight out-of-the-box
-content repository that allows an application vendor to make sure that
-there are no dependencies to a pre-installed content repository.</p>
-<p>The instance of Jackrabbit that is package with the application is running
-in-proc inside the same JVM and cannot be accessed by any other
-application.</p>
-<p>This deployment model is particularly lightweight and does not require a
-network layer.</p>
-<p>The individual repository instances are started and stopped with their
-containing applications, which means that the application is not only
-connecting to the repository but is also in charge of starting and stopping
-the repository.</p>
-<p>As an example of this deployment model we assume a WebApplication packaged
-into a .war file which is deployed into a WebContainer, which not only
-contains the application but also the actual content repository.</p>
+<p>For many applications, usually applications that run in a closed context without interacting with other applications or data sources, it might be desirable to bundle a content repository with the application itself.</p>
+<p>Jackrabbit is built for this lightweight model and allows obviously through the abstraction provided by JSR-170 to move at any point in time to a different deployment model in case this should be desirable for the context that the application runs in.</p>
+<p>This makes Jackrabbit ideal to be packaged as a lightweight out-of-the-box content repository that allows an application vendor to make sure that there are no dependencies to a pre-installed content repository.</p>
+<p>The instance of Jackrabbit that is package with the application is running in-proc inside the same JVM and cannot be accessed by any other application.</p>
+<p>This deployment model is particularly lightweight and does not require a network layer.</p>
+<p>The individual repository instances are started and stopped with their containing applications, which means that the application is not only connecting to the repository but is also in charge of starting and stopping the repository.</p>
+<p>As an example of this deployment model we assume a WebApplication packaged into a .war file which is deployed into a WebContainer, which not only contains the application but also the actual content repository.</p>
 <p><img src="deployment-models-webapp.png" alt="Webapp Deployment" /></p>
-<p>Application1 and Application2 both contain their own instances of a Content
-Repository distributed as a part of their .war file and therefore loaded
-with the web application's class loader which makes it invisible to other
-applications.</p>
-<p>This deployment model of course also works for any stand-alone application
-and not just for web applications.</p></section><section>
+<p>Application1 and Application2 both contain their own instances of a Content Repository distributed as a part of their .war file and therefore loaded with the web application&#x2019;s class loader which makes it invisible to other applications.</p>
+<p>This deployment model of course also works for any stand-alone application and not just for web applications.</p></section><section>
 <h2><a name="Model_2:_Shared_J2EE_Resource"></a>Model 2: Shared J2EE Resource</h2>
-<p>A second way to deploy a repository is to make it visible as a resource to
-all the web applications that are running inside a Servlet Container by
-registering the Repository as a Resource Adapter to the Application Server.</p>
-<p>Similar to the first deployment model this deployment model does also not
-require a network layer and therefore would be considered in-proc and is
-running inside the same JVM.</p>
-<p>The repository is started and stopped with the Application Server but is
-visible to all the applications to connect to.</p>
+<p>A second way to deploy a repository is to make it visible as a resource to all the web applications that are running inside a Servlet Container by registering the Repository as a Resource Adapter to the Application Server.</p>
+<p>Similar to the first deployment model this deployment model does also not require a network layer and therefore would be considered in-proc and is running inside the same JVM.</p>
+<p>The repository is started and stopped with the Application Server but is visible to all the applications to connect to.</p>
 <p><img src="deployment-models-j2ee.png" alt="Shared Deployment" /></p>
-<p>This setup also allows to take advantage of the XA facilities of the
-Application Server and could use the application servers single sign-on
-mechanisms that are provided as part of the J2EE framework.</p></section><section>
+<p>This setup also allows to take advantage of the XA facilities of the Application Server and could use the application servers single sign-on mechanisms that are provided as part of the J2EE framework.</p></section><section>
 <h2><a name="Model_3:_The_Repository_Server"></a>Model 3: The Repository Server</h2>
-<p>In enterprise environments the client/server deployment model is widely
-used for relational databases. While with relational databases this is
-probably the only deployment model that is supported by most RDBMS vendors
-for repositories, in particular for Jackrabbit, this is only on various
-options.</p>
-<p>The client/server deployment model will certainly be very popular in
-environments that where it is desirable to physically separate the content
-repository (or data) layer from the application or presentation layer, so
-the content repository can be used from many different applications,
-physically and can be scaled individually.</p>
+<p>In enterprise environments the client/server deployment model is widely used for relational databases. While with relational databases this is probably the only deployment model that is supported by most RDBMS vendors for repositories, in particular for Jackrabbit, this is only on various options.</p>
+<p>The client/server deployment model will certainly be very popular in environments that where it is desirable to physically separate the content repository (or data) layer from the application or presentation layer, so the content repository can be used from many different applications, physically and can be scaled individually.</p>
 <p><img src="deployment-models-server.png" alt="Standalone Deployment" /></p>
-<p>This deployment model assumes that there is a network layer between the
-content repository server and the respective content repository client.</p>
-<p>While the applications communicate through the JSR-170 API with the content
-repository client. The content repository client then communicates through
-any form of transport protocol with the stand-alone content repository
-server.</p>
-<p>The transport protocol between the client and the server is subject to
-implementation and not mandated by JSR-170. Popular choices might include
-RMI over JRMP or IIOP or WebDAV and its extensions.</p></section>
+<p>This deployment model assumes that there is a network layer between the content repository server and the respective content repository client.</p>
+<p>While the applications communicate through the JSR-170 API with the content repository client. The content repository client then communicates through any form of transport protocol with the stand-alone content repository server.</p>
+<p>The transport protocol between the client and the server is subject to implementation and not mandated by JSR-170. Popular choices might include RMI over JRMP or IIOP or WebDAV and its extensions.</p></section>
         </main>
       </div>
     </div>
@@ -273,12 +231,10 @@ RMI over JRMP or IIOP or WebDAV and its
 <a href="https://www.apache.org/">The Apache Software Foundation</a> &vert; <a href="https://privacy.apache.org/policies/privacy-policy-public.html">Privacy Policy</a>
 </p>
         </div>
-      </div>
+    <div id="ohloh" class="pull-right">
+      <script src="https://www.ohloh.net/p/jackrabbit/widgets/project_users_logo.js"></script>
+    </div>
+        </div>
     </footer>
-<script>
-	if(anchors) {
-	  anchors.add();
-	}
-</script>
   </body>
 </html>
\ No newline at end of file

Modified: jackrabbit/site/live/jcr/documentation.html
URL: http://svn.apache.org/viewvc/jackrabbit/site/live/jcr/documentation.html?rev=1905958&r1=1905957&r2=1905958&view=diff
==============================================================================
--- jackrabbit/site/live/jcr/documentation.html (original)
+++ jackrabbit/site/live/jcr/documentation.html Tue Dec 13 13:11:12 2022
@@ -1,40 +1,42 @@
 <!DOCTYPE html>
-
-
 <!--
- | Generated by Apache Maven Doxia Site Renderer 1.11.1 from src\site\markdown/documentation.md at 2022-10-16
- | Rendered using Apache Maven Fluido Skin 1.11.1
+ | Generated by Apache Maven Doxia Site Renderer 1.9.2 from src\site\markdown/documentation.md at 2022-05-12
+ | Rendered using Apache Maven Fluido Skin 1.9
 -->
 <html xmlns="http://www.w3.org/1999/xhtml" lang="en">
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1" />
-    <meta name="generator" content="Apache Maven Doxia Site Renderer 1.11.1" />
+    <meta name="generator" content="Apache Maven Doxia Site Renderer 1.9.2" />
     <title>Apache Jackrabbit &#x2013; Documentation</title>
-    <link rel="stylesheet" href="./css/apache-maven-fluido-1.11.1.min.css" />
+    <link rel="stylesheet" href="./css/apache-maven-fluido-1.9.min.css" />
     <link rel="stylesheet" href="./css/site.css" />
     <link rel="stylesheet" href="./css/print.css" media="print" />
-    <script src="./js/apache-maven-fluido-1.11.1.min.js"></script>
-
-    <!-- Matomo -->
-    <script>
-        var _paq = window._paq = window._paq || [];
-                _paq.push(['disableCookies']);
-                    _paq.push(['trackPageView']);
-                    _paq.push(['enableLinkTracking']);
-        
-        (function() {
-            var u="https://analytics.apache.org";
-            _paq.push(['setTrackerUrl', u+'/matomo.php']);
-            _paq.push(['setSiteId', '4']);
-            var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
-            g.async=true; g.src=u+'/matomo.js'; s.parentNode.insertBefore(g,s);
-        })();
-    </script>
-    <!-- End Matomo Code -->
+    <script src="./js/apache-maven-fluido-1.9.min.js"></script>
+<!-- Matomo -->
+<script>
+  var _paq = window._paq = window._paq || [];
+  /* tracker methods like "setCustomDimension" should be called before "trackPageView" */
+  /* We explicitly disable cookie tracking to avoid privacy issues */
+  _paq.push(['disableCookies']);
+  _paq.push(['trackPageView']);
+  _paq.push(['enableLinkTracking']);
+  (function() {
+    var u="https://matomo.privacy.apache.org/";
+    _paq.push(['setTrackerUrl', u+'matomo.php']);
+    _paq.push(['setSiteId', '4']);
+    var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
+    g.async=true; g.src=u+'matomo.js'; s.parentNode.insertBefore(g,s);
+  })();
+</script>
+<!-- End Matomo Code -->
   </head>
   <body class="topBarEnabled">
-    <a class="github-fork-ribbon right-top" href="https://github.com/apache/jackrabbit" data-ribbon="Fork me on GitHub" title="Fork me on GitHub">Fork me on GitHub</a>
+    <a href="https://github.com/apache/jackrabbit">
+      <img style="position: absolute; top: 0; right: 0; border: 0; z-index: 10000;"
+        src="https://s3.amazonaws.com/github/ribbons/forkme_right_red_aa0000.png"
+        alt="Fork me on GitHub">
+    </a>
     <header id="topbar" class="navbar navbar-fixed-top ">
       <div class="navbar-inner">
         <div class="container-fluid">
@@ -47,7 +49,7 @@
 </a>
             <ul class="nav">
       <li class="dropdown">
-        <a class="dropdown-toggle" data-toggle="dropdown">Apache Jackrabbit <b class="caret"></b></a>
+        <a href="#" class="dropdown-toggle" data-toggle="dropdown">Apache Jackrabbit <b class="caret"></b></a>
         <ul class="dropdown-menu">
             <li><a href="index.html" title="Welcome">Welcome</a></li>
             <li><a href="downloads.html" title="Downloads">Downloads</a></li>
@@ -58,7 +60,7 @@
         </ul>
       </li>
       <li class="dropdown">
-        <a class="dropdown-toggle" data-toggle="dropdown">Documentation <b class="caret"></b></a>
+        <a href="#" class="dropdown-toggle" data-toggle="dropdown">Documentation <b class="caret"></b></a>
         <ul class="dropdown-menu">
             <li><a href="getting-started-with-apache-jackrabbit.html" title="Getting Started">Getting Started</a></li>
             <li><a href="standalone-server.html" title="Standalone Server">Standalone Server</a></li>
@@ -73,7 +75,7 @@
         </ul>
       </li>
       <li class="dropdown">
-        <a class="dropdown-toggle" data-toggle="dropdown">Development <b class="caret"></b></a>
+        <a href="#" class="dropdown-toggle" data-toggle="dropdown">Development <b class="caret"></b></a>
         <ul class="dropdown-menu">
             <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>
@@ -88,7 +90,7 @@
         </ul>
       </li>
       <li class="dropdown">
-        <a class="dropdown-toggle" data-toggle="dropdown">Apache Software Foundation <b class="caret"></b></a>
+        <a href="#" class="dropdown-toggle" data-toggle="dropdown">Apache Software Foundation <b class="caret"></b></a>
         <ul class="dropdown-menu">
             <li><a href="https://www.apache.org/foundation/how-it-works.html" title="Introduction">Introduction</a></li>
             <li><a href="https://www.apache.org/foundation/sponsorship.html" title="Sponsorship">Sponsorship</a></li>
@@ -103,7 +105,7 @@
     <div class="container-fluid">
       <header>
         <div id="banner">
-          <div class="pull-left"><div id="bannerLeft"><h1>Apache Jackrabbit Site</h1>
+          <div class="pull-left"><div id="bannerLeft"><h2>Apache Jackrabbit Site</h2>
 </div>
 </div>
           <div class="pull-right"></div>
@@ -112,7 +114,7 @@
 
         <div id="breadcrumbs">
           <ul class="breadcrumb">
-        <li id="publishDate">Last Published: 2022-10-16</li>
+        <li id="publishDate">Last Published: 2022-05-12</li>
           </ul>
         </div>
       </header>
@@ -157,6 +159,7 @@
   </ul>
           </nav>
           <div class="well sidebar-nav">
+            <hr />
             <div id="poweredBy">
               <div class="clear"></div>
               <div class="clear"></div>
@@ -206,12 +209,10 @@
 <a href="https://www.apache.org/">The Apache Software Foundation</a> &vert; <a href="https://privacy.apache.org/policies/privacy-policy-public.html">Privacy Policy</a>
 </p>
         </div>
-      </div>
+    <div id="ohloh" class="pull-right">
+      <script src="https://www.ohloh.net/p/jackrabbit/widgets/project_users_logo.js"></script>
+    </div>
+        </div>
     </footer>
-<script>
-	if(anchors) {
-	  anchors.add();
-	}
-</script>
   </body>
 </html>
\ No newline at end of file

Modified: jackrabbit/site/live/jcr/downloads.html
URL: http://svn.apache.org/viewvc/jackrabbit/site/live/jcr/downloads.html?rev=1905958&r1=1905957&r2=1905958&view=diff
==============================================================================
--- jackrabbit/site/live/jcr/downloads.html (original)
+++ jackrabbit/site/live/jcr/downloads.html Tue Dec 13 13:11:12 2022
@@ -2,7 +2,7 @@
 
 
 <!--
- | Generated by Apache Maven Doxia Site Renderer 1.11.1 from src\site\markdown/downloads.md at 2022-12-08
+ | Generated by Apache Maven Doxia Site Renderer 1.11.1 from src\site\markdown/downloads.md at 2022-12-13
  | Rendered using Apache Maven Fluido Skin 1.11.1
 -->
 <html xmlns="http://www.w3.org/1999/xhtml" lang="en">
@@ -112,7 +112,7 @@
 
         <div id="breadcrumbs">
           <ul class="breadcrumb">
-        <li id="publishDate">Last Published: 2022-12-08</li>
+        <li id="publishDate">Last Published: 2022-12-13</li>
           </ul>
         </div>
       </header>

Modified: jackrabbit/site/live/jcr/embedded-repository.html
URL: http://svn.apache.org/viewvc/jackrabbit/site/live/jcr/embedded-repository.html?rev=1905958&r1=1905957&r2=1905958&view=diff
==============================================================================
--- jackrabbit/site/live/jcr/embedded-repository.html (original)
+++ jackrabbit/site/live/jcr/embedded-repository.html Tue Dec 13 13:11:12 2022
@@ -1,40 +1,42 @@
 <!DOCTYPE html>
-
-
 <!--
- | Generated by Apache Maven Doxia Site Renderer 1.11.1 from src\site\markdown/embedded-repository.md at 2022-10-16
- | Rendered using Apache Maven Fluido Skin 1.11.1
+ | Generated by Apache Maven Doxia Site Renderer 1.9.2 from src\site\markdown/embedded-repository.md at 2022-05-12
+ | Rendered using Apache Maven Fluido Skin 1.9
 -->
 <html xmlns="http://www.w3.org/1999/xhtml" lang="en">
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1" />
-    <meta name="generator" content="Apache Maven Doxia Site Renderer 1.11.1" />
+    <meta name="generator" content="Apache Maven Doxia Site Renderer 1.9.2" />
     <title>Apache Jackrabbit &#x2013; Embedded Repository</title>
-    <link rel="stylesheet" href="./css/apache-maven-fluido-1.11.1.min.css" />
+    <link rel="stylesheet" href="./css/apache-maven-fluido-1.9.min.css" />
     <link rel="stylesheet" href="./css/site.css" />
     <link rel="stylesheet" href="./css/print.css" media="print" />
-    <script src="./js/apache-maven-fluido-1.11.1.min.js"></script>
-
-    <!-- Matomo -->
-    <script>
-        var _paq = window._paq = window._paq || [];
-                _paq.push(['disableCookies']);
-                    _paq.push(['trackPageView']);
-                    _paq.push(['enableLinkTracking']);
-        
-        (function() {
-            var u="https://analytics.apache.org";
-            _paq.push(['setTrackerUrl', u+'/matomo.php']);
-            _paq.push(['setSiteId', '4']);
-            var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
-            g.async=true; g.src=u+'/matomo.js'; s.parentNode.insertBefore(g,s);
-        })();
-    </script>
-    <!-- End Matomo Code -->
+    <script src="./js/apache-maven-fluido-1.9.min.js"></script>
+<!-- Matomo -->
+<script>
+  var _paq = window._paq = window._paq || [];
+  /* tracker methods like "setCustomDimension" should be called before "trackPageView" */
+  /* We explicitly disable cookie tracking to avoid privacy issues */
+  _paq.push(['disableCookies']);
+  _paq.push(['trackPageView']);
+  _paq.push(['enableLinkTracking']);
+  (function() {
+    var u="https://matomo.privacy.apache.org/";
+    _paq.push(['setTrackerUrl', u+'matomo.php']);
+    _paq.push(['setSiteId', '4']);
+    var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
+    g.async=true; g.src=u+'matomo.js'; s.parentNode.insertBefore(g,s);
+  })();
+</script>
+<!-- End Matomo Code -->
   </head>
   <body class="topBarEnabled">
-    <a class="github-fork-ribbon right-top" href="https://github.com/apache/jackrabbit" data-ribbon="Fork me on GitHub" title="Fork me on GitHub">Fork me on GitHub</a>
+    <a href="https://github.com/apache/jackrabbit">
+      <img style="position: absolute; top: 0; right: 0; border: 0; z-index: 10000;"
+        src="https://s3.amazonaws.com/github/ribbons/forkme_right_red_aa0000.png"
+        alt="Fork me on GitHub">
+    </a>
     <header id="topbar" class="navbar navbar-fixed-top ">
       <div class="navbar-inner">
         <div class="container-fluid">
@@ -47,7 +49,7 @@
 </a>
             <ul class="nav">
       <li class="dropdown">
-        <a class="dropdown-toggle" data-toggle="dropdown">Apache Jackrabbit <b class="caret"></b></a>
+        <a href="#" class="dropdown-toggle" data-toggle="dropdown">Apache Jackrabbit <b class="caret"></b></a>
         <ul class="dropdown-menu">
             <li><a href="index.html" title="Welcome">Welcome</a></li>
             <li><a href="downloads.html" title="Downloads">Downloads</a></li>
@@ -58,7 +60,7 @@
         </ul>
       </li>
       <li class="dropdown">
-        <a class="dropdown-toggle" data-toggle="dropdown">Documentation <b class="caret"></b></a>
+        <a href="#" class="dropdown-toggle" data-toggle="dropdown">Documentation <b class="caret"></b></a>
         <ul class="dropdown-menu">
             <li><a href="getting-started-with-apache-jackrabbit.html" title="Getting Started">Getting Started</a></li>
             <li><a href="standalone-server.html" title="Standalone Server">Standalone Server</a></li>
@@ -73,7 +75,7 @@
         </ul>
       </li>
       <li class="dropdown">
-        <a class="dropdown-toggle" data-toggle="dropdown">Development <b class="caret"></b></a>
+        <a href="#" class="dropdown-toggle" data-toggle="dropdown">Development <b class="caret"></b></a>
         <ul class="dropdown-menu">
             <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>
@@ -88,7 +90,7 @@
         </ul>
       </li>
       <li class="dropdown">
-        <a class="dropdown-toggle" data-toggle="dropdown">Apache Software Foundation <b class="caret"></b></a>
+        <a href="#" class="dropdown-toggle" data-toggle="dropdown">Apache Software Foundation <b class="caret"></b></a>
         <ul class="dropdown-menu">
             <li><a href="https://www.apache.org/foundation/how-it-works.html" title="Introduction">Introduction</a></li>
             <li><a href="https://www.apache.org/foundation/sponsorship.html" title="Sponsorship">Sponsorship</a></li>
@@ -103,7 +105,7 @@
     <div class="container-fluid">
       <header>
         <div id="banner">
-          <div class="pull-left"><div id="bannerLeft"><h1>Apache Jackrabbit Site</h1>
+          <div class="pull-left"><div id="bannerLeft"><h2>Apache Jackrabbit Site</h2>
 </div>
 </div>
           <div class="pull-right"></div>
@@ -112,7 +114,7 @@
 
         <div id="breadcrumbs">
           <ul class="breadcrumb">
-        <li id="publishDate">Last Published: 2022-10-16</li>
+        <li id="publishDate">Last Published: 2022-05-12</li>
           </ul>
         </div>
       </header>
@@ -157,6 +159,7 @@
   </ul>
           </nav>
           <div class="well sidebar-nav">
+            <hr />
             <div id="poweredBy">
               <div class="clear"></div>
               <div class="clear"></div>
@@ -183,22 +186,13 @@
    limitations under the License.
 -->
 <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>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><section>
 <h2><a name="Jackrabbit_dependencies"></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 class="externalLink" href="http://maven.apache.org/">Maven 2</a>
-, you can achieve this by specifying the following dependencies.</p>
+<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 class="externalLink" href="http://maven.apache.org/">Maven 2</a> , you can achieve this by specifying the following dependencies.</p>
 
-<div class="source"><pre class="prettyprint linenums"><code>&lt;dependency&gt;
+<div class="source">
+<div class="source"><pre class="prettyprint linenums">&lt;dependency&gt;
   &lt;groupId&gt;javax.jcr&lt;/groupId&gt;
   &lt;artifactId&gt;jcr&lt;/artifactId&gt;
   &lt;version&gt;1.0&lt;/version&gt;
@@ -224,31 +218,15 @@ you use <a class="externalLink" href="ht
   &lt;artifactId&gt;slf4j-log4j12&lt;/artifactId&gt;
   &lt;version&gt;1.5.3&lt;/version&gt;
 &lt;/dependency&gt;
-</code></pre></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 <i>provided</i> 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">Downloads</a>
-page for the latest available version.</p>
-<p>Jackrabbit uses the <a class="externalLink" href="http://www.slf4j.org/">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 class="externalLink" href="http://logging.apache.org/log4j/1.2/">log4j 1.2</a>
-for handling the log messages. Note that the commons-logging dependency
-(which is a transitive dependency from <a class="externalLink" href="http://poi.apache.org/">Apache POI</a>
-) is explicitly replaced with the jcl-over-slf4j dependency that routes
-also all <a class="externalLink" href="http://commons.apache.org/logging/">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 class="externalLink" href="http://ant.apache.org/">Ant</a>
-where you need to explicitly include all dependencies, you can use this
-list to correctly configure your classpath.</p>
+</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 <i>provided</i> 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">Downloads</a> page for the latest available version.</p>
+<p>Jackrabbit uses the <a class="externalLink" href="http://www.slf4j.org/">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 class="externalLink" href="http://logging.apache.org/log4j/1.2/">log4j 1.2</a> for handling the log messages. Note that the commons-logging dependency (which is a transitive dependency from <a class="externalLink" href="http://poi.apache.org/">Apache POI</a> ) is explicitly replaced with the jcl-over-slf4j dependency that routes also all <a class="externalLink" href="http://commons.apache.org/logging/">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 class="externalLink" href="http://ant.apache.org/">Ant</a> where you need to explicitly include all dependencies, you can use this list to correctly configure your classpath.</p>
 
-<div class="source"><pre class="prettyprint linenums"><code>+- javax.jcr:jcr:jar:1.0:compile
+<div class="source">
+<div class="source"><pre class="prettyprint linenums">+- 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
@@ -272,16 +250,14 @@ list to correctly configure your classpa
 +- 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
-</code></pre></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></section><section>
+</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></section><section>
 <h2><a name="Starting_the_repository"></a>Starting the repository</h2>
-<p>Once you have your classpath configured you can start the repository with
-the following piece of code.</p>
+<p>Once you have your classpath configured you can start the repository with the following piece of code.</p>
 
-<div class="source"><pre class="prettyprint linenums"><code>import javax.jcr.Repository;
+<div class="source">
+<div class="source"><pre class="prettyprint linenums">import javax.jcr.Repository;
 import org.apache.jackrabbit.core.RepositoryImpl;
 import org.apache.jackrabbit.core.config.RepositoryConfig;
 
@@ -289,57 +265,43 @@ String xml = &quot;/path/to/repository/c
 String dir = &quot;/path/to/repository/directory&quot;;
 RepositoryConfig config = RepositoryConfig.create(xml, dir);
 Repository repository = RepositoryImpl.create(config);
-</code></pre></div>
-<p>See the [Jackrabbit Configuration]
-page for more information on repository configuration. See the <a class="externalLink" href="http://jackrabbit.apache.org/api/1.5/org/apache/jackrabbit/core/config/RepositoryConfig.html">RepositoryConfig</a>
-and <a class="externalLink" href="http://jackrabbit.apache.org/api/1.5/org/apache/jackrabbit/core/RepositoryImpl.html">RepositoryImpl</a>
-javadocs for more details on these classes.</p></section><section>
+</pre></div></div>
+
+<p>See the [Jackrabbit Configuration] page for more information on repository configuration. See the <a class="externalLink" href="http://jackrabbit.apache.org/api/1.5/org/apache/jackrabbit/core/config/RepositoryConfig.html">RepositoryConfig</a> and <a class="externalLink" href="http://jackrabbit.apache.org/api/1.5/org/apache/jackrabbit/core/RepositoryImpl.html">RepositoryImpl</a> javadocs for more details on these classes.</p></section><section>
 <h2><a name="Shutting_down_the_repository"></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="source"><pre class="prettyprint linenums"><code>((RepositoryImpl) repository).shutdown();
-</code></pre></div>
-<p>This will forcibly close all open sessions and make sure that all
-repository content is safely stored on disk.</p></section><section>
+<div class="source">
+<div class="source"><pre class="prettyprint linenums">((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></section><section>
 <h2><a name="The_TransientRepository_class"></a>The TransientRepository class</h2>
-<p>Jackrabbit comes with a <a class="externalLink" href="http://jackrabbit.apache.org/api/1.5/org/apache/jackrabbit/core/TransientRepository.html">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>
+<p>Jackrabbit comes with a <a class="externalLink" href="http://jackrabbit.apache.org/api/1.5/org/apache/jackrabbit/core/TransientRepository.html">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="source"><pre class="prettyprint linenums"><code>import javax.jcr.Repository;
+<div class="source">
+<div class="source"><pre class="prettyprint linenums">import javax.jcr.Repository;
 import org.apache.jackrabbit.core.TransientRepository;
 
 Repository repository = new TransientRepository();
-</code></pre></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 &#x201c;jackrabbit&#x201d; subdirectory using
-a default configuration file in <code>jackrabbit/repository.xml</code>. See the
-TransientRepository javadocs for the ways to override these defaults.</p></section><section>
+</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 &#x201c;jackrabbit&#x201d; subdirectory using a default configuration file in <code>jackrabbit/repository.xml</code>. See the TransientRepository javadocs for the ways to override these defaults.</p></section><section>
 <h2><a name="Enabling_remote_access"></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>
+<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="source"><pre class="prettyprint linenums"><code>&lt;dependency&gt;
+<div class="source">
+<div class="source"><pre class="prettyprint linenums">&lt;dependency&gt;
   &lt;groupId&gt;org.apache.jackrabbit&lt;/groupId&gt;
   &lt;artifactId&gt;jackrabbit-jcr-rmi&lt;/artifactId&gt;
   &lt;version&gt;1.5.0&lt;/version&gt;
 &lt;/dependency&gt;
-</code></pre></div>
-<p>Make sure that you have <a class="externalLink" href="http://java.sun.com/j2se/1.5.0/docs/tooldocs/solaris/rmiregistry.html">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>
+</pre></div></div>
+
+<p>Make sure that you have <a class="externalLink" href="http://java.sun.com/j2se/1.5.0/docs/tooldocs/solaris/rmiregistry.html">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="source"><pre class="prettyprint linenums"><code>import java.rmi.Naming;
+<div class="source">
+<div class="source"><pre class="prettyprint linenums">import java.rmi.Naming;
 import org.apache.jackrabbit.rmi.server.RemoteAdapterFactory;
 import org.apache.jackrabbit.rmi.server.RemoteRepository;
 import org.apache.jackrabbit.rmi.jackrabbit.JackrabbitRemoteAdapterFactory;
@@ -349,59 +311,51 @@ repository
 RemoteAdapterFactory factory = new JackrabbitRemoteAdapterFactory();
 RemoteRepository remote = factory.getRemoteRepository(repository);
 Naming.bind(url, remote);
-</code></pre></div>
-<p>Use the following code to remote the repository binding from the RMI
-registry before you shutdown the repository.</p>
-
-<div class="source"><pre class="prettyprint linenums"><code>Naming.unbind(url);
-</code></pre></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="repository-server.html">Repository Server</a>
-page for instructions on how to access such a remote repository.</p></section><section>
+</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="source">
+<div class="source"><pre class="prettyprint linenums">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="repository-server.html">Repository Server</a> page for instructions on how to access such a remote repository.</p></section><section>
 <h2><a name="Embedded_repository_in_a_web_application"></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>
+<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="source"><pre class="prettyprint linenums"><code>&lt;dependency&gt;
+<div class="source">
+<div class="source"><pre class="prettyprint linenums">&lt;dependency&gt;
   &lt;groupId&gt;org.apache.jackrabbit&lt;/groupId&gt;
   &lt;artifactId&gt;jackrabbit-jcr-servlet&lt;/artifactId&gt;
   &lt;version&gt;1.5.0&lt;/version&gt;
 &lt;/dependency&gt;
-</code></pre></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>
+</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="source"><pre class="prettyprint linenums"><code>&lt;servlet&gt;
+<div class="source">
+<div class="source"><pre class="prettyprint linenums">&lt;servlet&gt;
     &lt;servlet-name&gt;ContentRepository&lt;/servlet-name&gt;
     &lt;servlet-class&gt;org.apache.jackrabbit.servlet.jackrabbit.JackrabbitRepositoryServlet&lt;/servlet-class&gt;
     &lt;load-on-startup&gt;1&lt;/load-on-startup&gt;
 &lt;/servlet&gt;
-</code></pre></div>
-<p>See the <a class="externalLink" href="http://jackrabbit.apache.org/api/1.5/org/apache/jackrabbit/servlet/jackrabbit/JackrabbitRepositoryServlet.html">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>
+</pre></div></div>
 
-<div class="source"><pre class="prettyprint linenums"><code>import javax.jcr.Repository;
+<p>See the <a class="externalLink" href="http://jackrabbit.apache.org/api/1.5/org/apache/jackrabbit/servlet/jackrabbit/JackrabbitRepositoryServlet.html">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="source">
+<div class="source"><pre class="prettyprint linenums">import javax.jcr.Repository;
 import org.apache.jackrabbit.servlet.ServletRepository;
-</code></pre></div>
-<p>Repository repository = new ServletRepository(this); // &#x201c;this&#x201d; is the
-containing servlet</p>
-<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
-&#x2026;/rmi in the URL space of your webapp.</p>
+</pre></div></div>
+
+<p>Repository repository = new ServletRepository(this); // &#x201c;this&#x201d; is the containing servlet</p>
+<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 &#x2026;/rmi in the URL space of your webapp.</p>
 
-<div class="source"><pre class="prettyprint linenums"><code>&lt;servlet&gt;
+<div class="source">
+<div class="source"><pre class="prettyprint linenums">&lt;servlet&gt;
     &lt;servlet-name&gt;RemoteRepository&lt;/servlet-name&gt;
     &lt;servlet-class&gt;org.apache.jackrabbit.servlet.remote.RemoteBindingServlet&lt;/servlet-class&gt;
 &lt;/servlet&gt;
@@ -409,9 +363,9 @@ repository is automatically made availab
     &lt;servlet-name&gt;RemoteRepository&lt;/servlet-name&gt;
     &lt;url-pattern&gt;/rmi&lt;/url-pattern&gt;
 &lt;/servlet-mapping&gt;
-</code></pre></div>
-<p>Note that you also need the jackrabbit-jcr-rmi dependency in your
-application for the above configuration to work.</p></section>
+</pre></div></div>
+
+<p>Note that you also need the jackrabbit-jcr-rmi dependency in your application for the above configuration to work.</p></section>
         </main>
       </div>
     </div>
@@ -423,12 +377,10 @@ application for the above configuration
 <a href="https://www.apache.org/">The Apache Software Foundation</a> &vert; <a href="https://privacy.apache.org/policies/privacy-policy-public.html">Privacy Policy</a>
 </p>
         </div>
-      </div>
+    <div id="ohloh" class="pull-right">
+      <script src="https://www.ohloh.net/p/jackrabbit/widgets/project_users_logo.js"></script>
+    </div>
+        </div>
     </footer>
-<script>
-	if(anchors) {
-	  anchors.add();
-	}
-</script>
   </body>
 </html>
\ No newline at end of file