You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jackrabbit.apache.org by mr...@apache.org on 2022/12/15 09:54:28 UTC

svn commit: r1906010 [10/22] - in /jackrabbit/site/live/jcr: ./ components/ css/ fonts/ js/ ocm/ status/

Modified: jackrabbit/site/live/jcr/jcr-client-application-howto.html
URL: http://svn.apache.org/viewvc/jackrabbit/site/live/jcr/jcr-client-application-howto.html?rev=1906010&r1=1906009&r2=1906010&view=diff
==============================================================================
--- jackrabbit/site/live/jcr/jcr-client-application-howto.html (original)
+++ jackrabbit/site/live/jcr/jcr-client-application-howto.html Thu Dec 15 09:54:26 2022
@@ -1,42 +1,40 @@
 <!DOCTYPE html>
+
+
 <!--
- | Generated by Apache Maven Doxia Site Renderer 1.9.2 from src\site\markdown/jcr-client-application-howto.md at 2022-05-12
- | Rendered using Apache Maven Fluido Skin 1.9
+ | Generated by Apache Maven Doxia Site Renderer 1.11.1 from src/site/markdown/jcr-client-application-howto.md at 2022-12-15
+ | Rendered using Apache Maven Fluido Skin 1.11.1
 -->
 <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.9.2" />
+    <meta name="generator" content="Apache Maven Doxia Site Renderer 1.11.1" />
     <title>Apache Jackrabbit &#x2013; JCR client application HOWTO</title>
-    <link rel="stylesheet" href="./css/apache-maven-fluido-1.9.min.css" />
+    <link rel="stylesheet" href="./css/apache-maven-fluido-1.11.1.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.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 -->
+    <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 -->
   </head>
   <body class="topBarEnabled">
-    <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>
+    <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>
     <header id="topbar" class="navbar navbar-fixed-top ">
       <div class="navbar-inner">
         <div class="container-fluid">
@@ -49,7 +47,7 @@
 </a>
             <ul class="nav">
       <li class="dropdown">
-        <a href="#" class="dropdown-toggle" data-toggle="dropdown">Apache Jackrabbit <b class="caret"></b></a>
+        <a 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>
@@ -60,7 +58,7 @@
         </ul>
       </li>
       <li class="dropdown">
-        <a href="#" class="dropdown-toggle" data-toggle="dropdown">Documentation <b class="caret"></b></a>
+        <a 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>
@@ -75,7 +73,7 @@
         </ul>
       </li>
       <li class="dropdown">
-        <a href="#" class="dropdown-toggle" data-toggle="dropdown">Development <b class="caret"></b></a>
+        <a 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>
@@ -90,7 +88,7 @@
         </ul>
       </li>
       <li class="dropdown">
-        <a href="#" class="dropdown-toggle" data-toggle="dropdown">Apache Software Foundation <b class="caret"></b></a>
+        <a 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>
@@ -105,7 +103,7 @@
     <div class="container-fluid">
       <header>
         <div id="banner">
-          <div class="pull-left"><div id="bannerLeft"><h2>Apache Jackrabbit Site</h2>
+          <div class="pull-left"><div id="bannerLeft"><h1>Apache Jackrabbit Site</h1>
 </div>
 </div>
           <div class="pull-right"></div>
@@ -114,7 +112,7 @@
 
         <div id="breadcrumbs">
           <ul class="breadcrumb">
-        <li id="publishDate">Last Published: 2022-05-12</li>
+        <li id="publishDate">Last Published: 2022-12-15</li>
           </ul>
         </div>
       </header>
@@ -159,7 +157,6 @@
   </ul>
           </nav>
           <div class="well sidebar-nav">
-            <hr />
             <div id="poweredBy">
               <div class="clear"></div>
               <div class="clear"></div>
@@ -186,37 +183,50 @@
    limitations under the License.
 -->
 <h1>JCR client application HOWTO</h1>
-<p>This document describes the common configuration and initialization code of a client application that uses a JCR content repository. The application setup does not depend on the underlying deployment model, implementation, or configuration of the content repository.</p>
-<p>The instructions in this document apply to a J2EE web application that uses JNDI to access the content repository. It should however be easy to modify the instructions for other container environments.</p><section>
+<p>This document describes the common configuration and initialization code of
+a client application that uses a JCR content repository. The application
+setup does not depend on the underlying deployment model, implementation,
+or configuration of the content repository.</p>
+<p>The instructions in this document apply to a J2EE web application that uses
+JNDI to access the content repository. It should however be easy to modify
+the instructions for other container environments.</p><section>
 <h2><a name="J2EE_web_application_instructions"></a>J2EE web application instructions</h2>
-<p>Follow the steps below to access a JNDI-bound content repository within a J2EE web application. Example code is included after this overview. See the deployment model howtos for instructions on how to create the JNDI bindings for the standard deployment models.</p>
+<p>Follow the steps below to access a JNDI-bound content repository within a
+J2EE web application. Example code is included after this overview. See the
+deployment model howtos for instructions on how to create the JNDI bindings
+for the standard deployment models.</p>
 <ol style="list-style-type: decimal">
 
 <li>Place the JCR API jar in the <code>WEB-INF/lib</code> subdirectory of your web application.</li>
 <li>Declare the JNDI address under which you will request the repository instance in the deployment descriptor.</li>
 <li>Code your application to use the resource.</li>
 </ol>
-<p>Note that that none of your code or configuration needs to depend on the underlying repository implementation or deployment model. All those details are handled by the container and can easily be changed without modifying your application. Just make sure that you have documented the JCR repository level and optional features your application requires so that your application can be deployed in an appropriate environment.</p><section>
+<p>Note that that none of your code or configuration needs to depend on the
+underlying repository implementation or deployment model. All those details
+are handled by the container and can easily be changed without modifying
+your application. Just make sure that you have documented the JCR
+repository level and optional features your application requires so that
+your application can be deployed in an appropriate environment.</p><section>
 <h3><a name="Step_2_-_Deployment_descriptor"></a>Step 2 - Deployment descriptor</h3>
-<p>Add the following snippet in your web.xml deployment descriptor to declare your application&#x2019;s use of a content repository resource.</p>
+<p>Add the following snippet in your web.xml deployment descriptor to declare
+your application's use of a content repository resource.</p>
 
-<div class="source">
-<div class="source"><pre class="prettyprint linenums">&lt;resource-env-ref&gt;
+<div class="source"><pre class="prettyprint linenums"><code>&lt;resource-env-ref&gt;
   &lt;description&gt;Content Repository&lt;/description&gt;
   &lt;resource-env-ref-name&gt;jcr/repository&lt;/resource-env-ref-name&gt;
   &lt;resource-env-ref-type&gt;javax.jcr.Repository&lt;/resource-env-ref-type&gt;
 &lt;/resource-env-ref&gt;
-</pre></div></div>
-
-<p>Note that the <code>java:comp/env/jcr</code> subcontext is the preferred naming context for JCR content repository resources.</p></section><section>
+</code></pre></div>
+<p>Note that the <code>java:comp/env/jcr</code> subcontext is the preferred naming context
+for JCR content repository resources.</p></section><section>
 <h3><a name="Step_3_-_Java_code"></a>Step 3 - Java code</h3>
-<p>Use the following Java code snippet to get a reference to the configured content repository instance.</p>
+<p>Use the following Java code snippet to get a reference to the configured
+content repository instance.</p>
 
-<div class="source">
-<div class="source"><pre class="prettyprint linenums">InitialContext context = new InitialContext();
+<div class="source"><pre class="prettyprint linenums"><code>InitialContext context = new InitialContext();
 Context environment = (Context) context.lookup(&quot;java:comp/env&quot;);
 Repository repository = (Repository) environment.lookup(&quot;jcr/repository&quot;);
-</pre></div></div></section></section>
+</code></pre></div></section></section>
         </main>
       </div>
     </div>
@@ -228,10 +238,12 @@ Repository repository = (Repository) env
 <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 id="ohloh" class="pull-right">
-      <script src="https://www.ohloh.net/p/jackrabbit/widgets/project_users_logo.js"></script>
-    </div>
-        </div>
+      </div>
     </footer>
+<script>
+	if(anchors) {
+	  anchors.add();
+	}
+</script>
   </body>
 </html>
\ No newline at end of file

Modified: jackrabbit/site/live/jcr/jcr.html
URL: http://svn.apache.org/viewvc/jackrabbit/site/live/jcr/jcr.html?rev=1906010&r1=1906009&r2=1906010&view=diff
==============================================================================
--- jackrabbit/site/live/jcr/jcr.html (original)
+++ jackrabbit/site/live/jcr/jcr.html Thu Dec 15 09:54:26 2022
@@ -1,42 +1,40 @@
 <!DOCTYPE html>
+
+
 <!--
- | Generated by Apache Maven Doxia Site Renderer 1.9.2 from src\site\markdown/jcr.md at 2022-05-12
- | Rendered using Apache Maven Fluido Skin 1.9
+ | Generated by Apache Maven Doxia Site Renderer 1.11.1 from src/site/markdown/jcr.md at 2022-12-15
+ | Rendered using Apache Maven Fluido Skin 1.11.1
 -->
 <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.9.2" />
+    <meta name="generator" content="Apache Maven Doxia Site Renderer 1.11.1" />
     <title>Apache Jackrabbit &#x2013; JCR</title>
-    <link rel="stylesheet" href="./css/apache-maven-fluido-1.9.min.css" />
+    <link rel="stylesheet" href="./css/apache-maven-fluido-1.11.1.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.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 -->
+    <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 -->
   </head>
   <body class="topBarEnabled">
-    <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>
+    <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>
     <header id="topbar" class="navbar navbar-fixed-top ">
       <div class="navbar-inner">
         <div class="container-fluid">
@@ -49,7 +47,7 @@
 </a>
             <ul class="nav">
       <li class="dropdown">
-        <a href="#" class="dropdown-toggle" data-toggle="dropdown">Apache Jackrabbit <b class="caret"></b></a>
+        <a 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>
@@ -60,7 +58,7 @@
         </ul>
       </li>
       <li class="dropdown">
-        <a href="#" class="dropdown-toggle" data-toggle="dropdown">Documentation <b class="caret"></b></a>
+        <a 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>
@@ -75,7 +73,7 @@
         </ul>
       </li>
       <li class="dropdown">
-        <a href="#" class="dropdown-toggle" data-toggle="dropdown">Development <b class="caret"></b></a>
+        <a 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>
@@ -90,7 +88,7 @@
         </ul>
       </li>
       <li class="dropdown">
-        <a href="#" class="dropdown-toggle" data-toggle="dropdown">Apache Software Foundation <b class="caret"></b></a>
+        <a 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>
@@ -105,7 +103,7 @@
     <div class="container-fluid">
       <header>
         <div id="banner">
-          <div class="pull-left"><div id="bannerLeft"><h2>Apache Jackrabbit Site</h2>
+          <div class="pull-left"><div id="bannerLeft"><h1>Apache Jackrabbit Site</h1>
 </div>
 </div>
           <div class="pull-right"></div>
@@ -114,7 +112,7 @@
 
         <div id="breadcrumbs">
           <ul class="breadcrumb">
-        <li id="publishDate">Last Published: 2022-05-12</li>
+        <li id="publishDate">Last Published: 2022-12-15</li>
           </ul>
         </div>
       </header>
@@ -159,7 +157,6 @@
   </ul>
           </nav>
           <div class="well sidebar-nav">
-            <hr />
             <div id="poweredBy">
               <div class="clear"></div>
               <div class="clear"></div>
@@ -176,11 +173,14 @@
 
 <li>
 
-<p>The <i>jcr-1.0.jar</i> file contains all the <a class="externalLink" href="https://s.apache.org/jcr-1.0-javadoc/">javax.jcr interfaces</a> specified by <a class="externalLink" href="http://jcp.org/en/jsr/detail?id=170">JSR 170</a></p>
+<p>The <i>jcr-1.0.jar</i> file contains all the <a class="externalLink" href="https://s.apache.org/jcr-1.0-javadoc/">javax.jcr interfaces</a>
+specified by <a class="externalLink" href="http://jcp.org/en/jsr/detail?id=170">JSR 170</a></p>
 </li>
 <li>
 
-<p>The JCR API library is available under the <a class="externalLink" href="https://s.apache.org/jcr-1.0-spec/license.html">Day Spec License</a> and can be downloaded either from the <a class="externalLink" href="http://jcp.org/aboutJava/communityprocess/final/jsr170/index.html">JCP web site</a> or the <a class="externalLink" href="http://repo1.maven.org/maven2/javax/jcr/jcr/1.0/">central Maven repository</a></p>
+<p>The JCR API library is available under the <a class="externalLink" href="https://s.apache.org/jcr-1.0-spec/license.html">Day Spec License</a>
+and can be downloaded either from the <a class="externalLink" href="http://jcp.org/aboutJava/communityprocess/final/jsr170/index.html">JCP web site</a>
+or the <a class="externalLink" href="http://repo1.maven.org/maven2/javax/jcr/jcr/1.0/">central Maven repository</a></p>
 </li>
 </ul></section><section>
 <h2><a name="JCR_2.0"></a>JCR 2.0</h2>
@@ -188,11 +188,14 @@
 
 <li>
 
-<p>The <i>jcr-2.0.jar</i> file contains all the <a class="externalLink" href="https://s.apache.org/jcr-2.0-javadoc/">javax.jcr interfaces</a> specified by <a class="externalLink" href="http://jcp.org/en/jsr/detail?id=283">JSR 283</a></p>
+<p>The <i>jcr-2.0.jar</i> file contains all the <a class="externalLink" href="https://s.apache.org/jcr-2.0-javadoc/">javax.jcr interfaces</a>
+specified by <a class="externalLink" href="http://jcp.org/en/jsr/detail?id=283">JSR 283</a></p>
 </li>
 <li>
 
-<p>The JCR API library is available under the <a class="externalLink" href="https://s.apache.org/jcr-2.0-spec/license.html">Day Spec License</a> and can be downloaded either from the <a class="externalLink" href="http://jcp.org/aboutJava/communityprocess/final/jsr283/index.html">JCP web site</a> or the <a class="externalLink" href="http://repo1.maven.org/maven2/javax/jcr/jcr/2.0/">central Maven repository</a></p>
+<p>The JCR API library is available under the <a class="externalLink" href="https://s.apache.org/jcr-2.0-spec/license.html">Day Spec License</a>
+and can be downloaded either from the <a class="externalLink" href="http://jcp.org/aboutJava/communityprocess/final/jsr283/index.html">JCP web site</a>
+or the <a class="externalLink" href="http://repo1.maven.org/maven2/javax/jcr/jcr/2.0/">central Maven repository</a></p>
 </li>
 </ul></section>
         </main>
@@ -206,10 +209,12 @@
 <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 id="ohloh" class="pull-right">
-      <script src="https://www.ohloh.net/p/jackrabbit/widgets/project_users_logo.js"></script>
-    </div>
-        </div>
+      </div>
     </footer>
+<script>
+	if(anchors) {
+	  anchors.add();
+	}
+</script>
   </body>
 </html>
\ No newline at end of file