chemistry-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From f...@apache.org
Subject svn commit: r787327 - in /websites/production/chemistry: ./ content/ content/java/ content/java/developing/ content/java/examples/ content/java/how-to/
Date Mon, 21 Mar 2011 15:57:23 GMT
Author: fmui
Date: Mon Mar 21 15:57:22 2011
New Revision: 787327

Log:
clean ups

Removed:
    websites/production/chemistry/content/java/examples/example-read-file.html
    websites/production/chemistry/content/java/examples/example-read-props.html
Modified:
    websites/production/chemistry/   (props changed)
    websites/production/chemistry/content/index.html
    websites/production/chemistry/content/java/developing/dev-binding-differences.html
    websites/production/chemistry/content/java/developing/dev-known-repo-issues.html
    websites/production/chemistry/content/java/developing/dev-operation-context.html
    websites/production/chemistry/content/java/developing/dev-url.html
    websites/production/chemistry/content/java/developing/dev-use-with-maven.html
    websites/production/chemistry/content/java/download.html
    websites/production/chemistry/content/java/examples/example-connect-dotnet.html
    websites/production/chemistry/content/java/examples/example-create-session.html
    websites/production/chemistry/content/java/examples/example-create-update.html
    websites/production/chemistry/content/java/examples/example-get-extension.html
    websites/production/chemistry/content/java/examples/example-get-id-from-path.html
    websites/production/chemistry/content/java/examples/example-list-folder.html
    websites/production/chemistry/content/java/examples/example-osgi.html
    websites/production/chemistry/content/java/examples/example-read-meta-content.html
    websites/production/chemistry/content/java/examples/example-read-root.html
    websites/production/chemistry/content/java/examples/index.html
    websites/production/chemistry/content/java/how-to/how-to-build.html
    websites/production/chemistry/content/java/how-to/how-to-connect.html
    websites/production/chemistry/content/java/how-to/how-to-tune-perfomance.html
    websites/production/chemistry/content/java/how-to/index.html
    websites/production/chemistry/content/java/opencmis.html

Propchange: websites/production/chemistry/
------------------------------------------------------------------------------
--- svn:mergeinfo (original)
+++ svn:mergeinfo Mon Mar 21 15:57:22 2011
@@ -1 +1 @@
-/websites/staging/chemistry/trunk:785583-787313
+/websites/staging/chemistry/trunk:785583-787326

Modified: websites/production/chemistry/content/index.html
==============================================================================
--- websites/production/chemistry/content/index.html (original)
+++ websites/production/chemistry/content/index.html Mon Mar 21 15:57:22 2011
@@ -189,7 +189,7 @@ Apache Chemistry - Index
 
 <p>Apache Chemistry provides open source implementations of the
  <a href="http://docs.oasis-open.org/cmis/CMIS/v1.0/cmis-spec-v1.0.html">Content Management Interoperability Services (CMIS)</a>
- specification.</p>
+ specification. See the <a href="project/cmis.html">What is CMIS?</a> page for more information about the standard.</p>
 <p>The project currently consists of the following sub-projects:</p>
 <ul>
 <li><a href="java/opencmis.html">OpenCMIS</a> - CMIS client and server libraries for Java </li>
@@ -211,9 +211,9 @@ inclusion of the C.M.I.S. letters, "CheM
 <li>2011-03-07 First TLP release of the cmislib Python client, <a href="python/cmislib.html#cmislib-0.4.1FullDownloadpage">cmislib 0.4.1</a>.</li>
 <li>2011-02-16 Project graduates to Top Level Project!</li>
 <li>2011-02-07 First Apache release of the cmislib Python client, <a href="python/cmislib.html#cmislib-0.4FullDownloadpage">cmislib 0.4-incubating</a>.</li>
-<li>2011-01-21 Second release of the OpenCMIS Java client and server, <a href="java/opencmis.html#OpenCMIS-0.2.0FullDownloadpage">OpenCMIS 0.2.0-incubating</a>.</li>
+<li>2011-01-21 Second release of the OpenCMIS Java client and server, <a href="java/download.html#OpenCMIS-0.2.0FullDownloadpage">OpenCMIS 0.2.0-incubating</a>.</li>
 <li>2011-01-18 <a href="dotnet/dotcmis.html">DotCMIS</a> implementation in .Net started.</li>
-<li>2010-09-17 First release of the OpenCMIS Java client and server, <a href="java/opencmis.html#OpenCMIS-0.1.0FullDownloadpage">OpenCMIS 0.1.0-incubating</a>.</li>
+<li>2010-09-17 First release of the OpenCMIS Java client and server, <a href="java/download.html#OpenCMIS-0.1.0FullDownloadpage">OpenCMIS 0.1.0-incubating</a>.</li>
 <li>2010-06-08 php-cmis-lib contribution accepted.</li>
 <li>2010-02-10 cmislib contribution accepted.</li>
 </ul></div>

Modified: websites/production/chemistry/content/java/developing/dev-binding-differences.html
==============================================================================
--- websites/production/chemistry/content/java/developing/dev-binding-differences.html (original)
+++ websites/production/chemistry/content/java/developing/dev-binding-differences.html Mon Mar 21 15:57:22 2011
@@ -197,7 +197,7 @@ services:</p>
 <li>AclService</li>
 <li>DiscoveryService</li>
 <li>ObjectService</li>
-<li>MultifFlingService</li>
+<li>MulitfilingService</li>
 <li>NavigationService</li>
 <li>PolicyService</li>
 <li>RelationshipService</li>

Modified: websites/production/chemistry/content/java/developing/dev-known-repo-issues.html
==============================================================================
--- websites/production/chemistry/content/java/developing/dev-known-repo-issues.html (original)
+++ websites/production/chemistry/content/java/developing/dev-known-repo-issues.html Mon Mar 21 15:57:22 2011
@@ -25,7 +25,7 @@
     <meta name="description" content="Apache Chemistry, CMIS Implementation" />
     <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
     <title>
-Apache Chemistry - 
+Apache Chemistry - Known repository issues
     </title>
   </head>
 <body onload="init()">
@@ -64,7 +64,7 @@ Apache Chemistry - 
               <td>
                 <div align="left">
                 <!-- Breadcrumbs -->
-<a href="/">Home</a>&nbsp;&raquo&nbsp;<a href="/java">Java</a>&nbsp;&raquo&nbsp;<a href="/java/developing">Developing</a>&nbsp;&raquo&nbsp;<a href="/java/developing/dev-known-repo-issues.html">Dev-known-repo-issues.html</a>
+<a href="/">Home</a>&nbsp;&raquo&nbsp;<a href="/java">Java</a>&nbsp;&raquo&nbsp;<a href="/java/developing">Developing</a>&nbsp;&raquo&nbsp;<a href="/java/developing/dev-known-repo-issues.html">Known repository issues</a>
                 <!-- Breadcrumbs -->
                 </div>
               </td>
@@ -183,11 +183,27 @@ Apache Chemistry - 
            </td>
            <td height="100%">
              <!-- Content -->
-             <div class="wiki-content"><p>Title: Known repository issues</p>
-<h1 id="known_repository_issues">Known repository issues</h1>
+             <div class="wiki-content"><h1 id="known_repository_issues">Known repository issues</h1>
 <p>This is a loose collection of current known issues, bugs, limitations and unusual behaviors 
 of existing CMIS repositories.</p>
-<p>TODO</p></div>
+<p>TODO</p>
+<h2 id="connecting_to_sharepoint_2010">Connecting to SharePoint 2010</h2>
+<p>While connecting via AtomPub is straight forward, connecting via Web Services is a bit tricky.</p>
+<h3 id="atompub">AtomPub</h3>
+<p>The service document URL is <code>http://&lt;host&gt;/_vti_bin/cmis/rest/&lt;SPList&gt;?getrepositoryinfo</code>.
+Since this sends the password as plain text, HTTPS is strongly recommended.</p>
+<h3 id="web_services">Web Services</h3>
+<ol>
+<li>Download the WSDL with a web browser and store it on your local disk. The WSDL URL is <code>http://&lt;host&gt;/_vti_bin/cmissoapwsdl.aspx?wsdl</code>.</li>
+<li>Provide <code>file://</code>... URLs to the downloaded WSDL for all OpenCMIS WSDL session parameters.</li>
+<li>
+<p>Activate the OpenCMIS NTLM authentication provider.</p>
+<p>:::java
+parameters.put(SessionParameter.AUTHENTICATION_PROVIDER_CLASS, CmisBindingFactory.NTLM_AUTHENTICATION_PROVIDER);</p>
+</li>
+</ol>
+<p>(The NTLM authentication provider uses <a href="http://download-llnw.oracle.com/javase/6/docs/api/java/net/Authenticator.html">java.net.Authenticator</a>
+ under the hood. If this interferes with your environment, you are on your own.)</p></div>
              <!-- Content -->
            </td>
           </tr>

Modified: websites/production/chemistry/content/java/developing/dev-operation-context.html
==============================================================================
--- websites/production/chemistry/content/java/developing/dev-operation-context.html (original)
+++ websites/production/chemistry/content/java/developing/dev-operation-context.html Mon Mar 21 15:57:22 2011
@@ -25,7 +25,7 @@
     <meta name="description" content="Apache Chemistry, CMIS Implementation" />
     <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
     <title>
-Apache Chemistry - 
+Apache Chemistry - Understanding the Operation Context
     </title>
   </head>
 <body onload="init()">
@@ -64,7 +64,7 @@ Apache Chemistry - 
               <td>
                 <div align="left">
                 <!-- Breadcrumbs -->
-<a href="/">Home</a>&nbsp;&raquo&nbsp;<a href="/java">Java</a>&nbsp;&raquo&nbsp;<a href="/java/developing">Developing</a>&nbsp;&raquo&nbsp;<a href="/java/developing/dev-operation-context.html">Dev-operation-context.html</a>
+<a href="/">Home</a>&nbsp;&raquo&nbsp;<a href="/java">Java</a>&nbsp;&raquo&nbsp;<a href="/java/developing">Developing</a>&nbsp;&raquo&nbsp;<a href="/java/developing/dev-operation-context.html">Understanding the Operation Context</a>
                 <!-- Breadcrumbs -->
                 </div>
               </td>
@@ -183,8 +183,7 @@ Apache Chemistry - 
            </td>
            <td height="100%">
              <!-- Content -->
-             <div class="wiki-content"><p>Title: Understanding the Operation Context</p>
-<h1 id="understanding_the_operation_context">Understanding the Operation Context</h1>
+             <div class="wiki-content"><h1 id="understanding_the_operation_context">Understanding the Operation Context</h1>
 <p>TODO</p></div>
              <!-- Content -->
            </td>

Modified: websites/production/chemistry/content/java/developing/dev-url.html
==============================================================================
--- websites/production/chemistry/content/java/developing/dev-url.html (original)
+++ websites/production/chemistry/content/java/developing/dev-url.html Mon Mar 21 15:57:22 2011
@@ -188,7 +188,7 @@ Apache Chemistry - URLs for AtomPub
 the AtomPub binding. This can be helpful when analyzing log files or if
 you want to debug sepcific requests.</p>
 <h2 id="syntax">Syntax</h2>
-<div class="codehilite"><pre><span class="n">URL</span> <span class="o">::=</span> <span class="n">http:</span><span class="sr">//&lt;HOST&gt;</span><span class="p">:</span><span class="sr">&lt;PORT&gt;/&lt;SERVLET-PATH&gt;/</span><span class="n">atom</span><span class="sr">/&lt;REPOSITORY-ID&gt;/&lt;RESOURCE&gt;</span><span class="p">?</span><span class="sr">&lt;PARAM=VALUE&gt;</span><span class="o">&amp;</span><span class="sr">&lt;PARAM=VALUE&gt;</span><span class="o">&amp;....</span>
+<div class="codehilite"><pre><span class="n">URL</span> <span class="o">::=</span> <span class="n">http:</span><span class="sr">//&lt;HOST&gt;</span><span class="p">:</span><span class="sr">&lt;PORT&gt;/&lt;SERVLET-PATH&gt;/&lt;REPOSITORY-ID&gt;</span><span class="o">/</span><span class="sr">&lt;RESOURCE&gt;</span><span class="p">?</span><span class="sr">&lt;PARAM=VALUE&gt;</span><span class="o">&amp;</span><span class="sr">&lt;PARAM=VALUE&gt;</span><span class="o">&amp;....</span>
 
 <span class="n">RESOURCE</span> <span class="o">::=</span> <span class="n">RESOURCE_CHILDREN</span> <span class="o">|</span>
     <span class="n">RESOURCE_CHILDREN</span> <span class="o">|</span>

Modified: websites/production/chemistry/content/java/developing/dev-use-with-maven.html
==============================================================================
--- websites/production/chemistry/content/java/developing/dev-use-with-maven.html (original)
+++ websites/production/chemistry/content/java/developing/dev-use-with-maven.html Mon Mar 21 15:57:22 2011
@@ -184,13 +184,10 @@ Apache Chemistry - Using Maven
            <td height="100%">
              <!-- Content -->
              <div class="wiki-content"><h1 id="using_maven">Using Maven</h1>
-<h3 id="use_opencmis_with_maven">Use OpenCMIS with Maven</h3>
 <p>You can use OpenCMIS with <a href="http://maven.apache.org/">Maven</a>.
-Check the latest version available by <a href="https://repository.apache.org/index.html#nexus-search;quick~opencmis">searching the Apache repository</a>.
-You should add the repository declaration:</p>
-<p>Specifically in order to use the client you will need to add the following
-dependencies:</p>
-<p><em>Client:</em></p>
+Check the latest version available by <a href="https://repository.apache.org/index.html#nexus-search;quick~opencmis">searching the Apache repository</a>.</p>
+<h2 id="client">Client</h2>
+<p>Use this fragment to add the OpenCMIS client jars and all dependencies. </p>
 <div class="codehilite"><pre> <span class="nt">&lt;dependency&gt;</span>
     <span class="nt">&lt;groupId&gt;</span>org.apache.chemistry.opencmis<span class="nt">&lt;/groupId&gt;</span>
     <span class="nt">&lt;artifactId&gt;</span>chemistry-opencmis-client-impl<span class="nt">&lt;/artifactId&gt;</span>
@@ -199,16 +196,14 @@ dependencies:</p>
 </pre></div>
 
 
-<p><em>Server:</em></p>
+<h2 id="server">Server</h2>
+<p>Use this fragment to add the OpenCMIS server framework and all dependencies.</p>
 <div class="codehilite"><pre> <span class="nt">&lt;dependency&gt;</span>
     <span class="nt">&lt;groupId&gt;</span>org.apache.chemistry.opencmis<span class="nt">&lt;/groupId&gt;</span>
     <span class="nt">&lt;artifactId&gt;</span>chemistry-opencmis-server-support<span class="nt">&lt;/artifactId&gt;</span>
     <span class="nt">&lt;version&gt;</span>0.2.0-incubating<span class="nt">&lt;/version&gt;</span>
  <span class="nt">&lt;/dependency&gt;</span>
-</pre></div>
-
-
-<p>Please check the full Maven details for OpenCMIS on the <a href="http://incubator.apache.org/chemistry/maven-site/0.2.0-incubating/index.html">Maven generated site</a>.</p></div>
+</pre></div></div>
              <!-- Content -->
            </td>
           </tr>

Modified: websites/production/chemistry/content/java/download.html
==============================================================================
--- websites/production/chemistry/content/java/download.html (original)
+++ websites/production/chemistry/content/java/download.html Mon Mar 21 15:57:22 2011
@@ -25,7 +25,7 @@
     <meta name="description" content="Apache Chemistry, CMIS Implementation" />
     <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
     <title>
-Apache Chemistry - OpenCMIS Downloads
+Apache Chemistry - OpenCMIS Downloads
     </title>
   </head>
 <body onload="init()">
@@ -64,7 +64,7 @@ Apache Chemistry - OpenCMIS Downloads
               <td>
                 <div align="left">
                 <!-- Breadcrumbs -->
-<a href="/">Home</a>&nbsp;&raquo&nbsp;<a href="/java">Java</a>&nbsp;&raquo&nbsp;<a href="/java/download.html">OpenCMIS Downloads
</a>
+<a href="/">Home</a>&nbsp;&raquo&nbsp;<a href="/java">Java</a>&nbsp;&raquo&nbsp;<a href="/java/download.html">OpenCMIS Downloads</a>
                 <!-- Breadcrumbs -->
                 </div>
               </td>
@@ -186,13 +186,15 @@ Apache Chemistry - OpenCMIS Downloads
              <div class="wiki-content"><h1 id="opencmis_downloads">OpenCMIS Downloads</h1>
 <a name="OpenCMIS-0.2.0FullDownloadpage">
 
-<h2 id="incubation_release_020_full_download_pagehttpwwwapacheorgdynclosercgiincubatorchemistryopencmis020-incubating_and_release_noteshttpsissuesapacheorgjirasecureissuenavigatorjsparesettruepid12310936fixfor12315134sorterfieldprioritysorterorderdesc">Incubation Release 0.2.0 <a href="http://www.apache.org/dyn/closer.cgi/incubator/chemistry/opencmis/0.2.0-incubating/">Full Download page</a> and <a href="https://issues.apache.org/jira/secure/IssueNavigator.jspa?reset=true&amp;&amp;pid=12310936&amp;fixfor=12315134&amp;sorter/field=priority&amp;sorter/order=DESC">Release Notes</a></h2>
+<h2 id="incubation_release_020_2011-01-21">Incubation Release 0.2.0 (2011-01-21)</h2>
+<p><a href="http://www.apache.org/dyn/closer.cgi/incubator/chemistry/opencmis/0.2.0-incubating/">Full Download page</a> and <a href="https://issues.apache.org/jira/secure/IssueNavigator.jspa?reset=true&amp;&amp;pid=12310936&amp;fixfor=12315134&amp;sorter/field=priority&amp;sorter/order=DESC">Release Notes</a>. OpenCMIS is also available <a href="developing/dev-use-with-maven.html">via Maven</a>.</p>
 <table>
 <thead>
 <tr>
 <th>Package</th>
 <th>zip</th>
 <th>tar.gz</th>
+<th />
 </tr>
 </thead>
 <tbody>
@@ -200,37 +202,44 @@ Apache Chemistry - OpenCMIS Downloads
 <td>OpenCMIS Client with dependencies</td>
 <td><a href="http://www.apache.org/dyn/closer.cgi/incubator/chemistry/opencmis/0.2.0-incubating/chemistry-opencmis-client-impl-0.2.0-incubating-with-dependencies.zip">Download</a></td>
 <td><a href="http://www.apache.org/dyn/closer.cgi/incubator/chemistry/opencmis/0.2.0-incubating/chemistry-opencmis-client-impl-0.2.0-incubating-with-dependencies.tar.gz">Download</a></td>
+<td>All you need to build a CMIS client.</td>
 </tr>
 <tr>
 <td>OpenCMIS Server Framework</td>
 <td><a href="http://www.apache.org/dyn/closer.cgi/incubator/chemistry/opencmis/0.2.0-incubating/chemistry-opencmis-dist-0.2.0-incubating-server.zip">Download</a></td>
 <td><a href="http://www.apache.org/dyn/closer.cgi/incubator/chemistry/opencmis/0.2.0-incubating/chemistry-opencmis-dist-0.2.0-incubating-server.tar.gz">Download</a></td>
+<td>All you need to build a CMIS server.</td>
 </tr>
 <tr>
 <td>OpenCMIS Server Webapp</td>
 <td><a href="http://www.apache.org/dyn/closer.cgi/incubator/chemistry/opencmis/0.1.0-incubating/chemistry-opencmis-dist-0.1.0-incubating-server-webapps.zip">Download</a></td>
 <td><a href="http://www.apache.org/dyn/closer.cgi/incubator/chemistry/opencmis/0.1.0-incubating/chemistry-opencmis-dist-0.1.0-incubating-server-webapps.tar.gz">Download</a></td>
+<td>Repositories (Fileshare, In-Memory) and CMIS Browser.</td>
 </tr>
 <tr>
 <td>OpenCMIS Workbench</td>
 <td><a href="http://www.apache.org/dyn/closer.cgi/incubator/chemistry/opencmis/0.2.0-incubating/chemistry-opencmis-workbench-0.2.0-incubating-full.zip">Download</a></td>
 <td><a href="http://www.apache.org/dyn/closer.cgi/incubator/chemistry/opencmis/0.2.0-incubating/chemistry-opencmis-workbench-0.2.0-incubating-full.tar.gz">Download</a></td>
+<td>CMIS Workbench desktop client.</td>
 </tr>
 <tr>
 <td>OpenCMIS Docs</td>
 <td><a href="http://www.apache.org/dyn/closer.cgi/incubator/chemistry/opencmis/0.2.0-incubating/chemistry-opencmis-0.2.0-incubating-docs.zip">Download</a></td>
 <td><a href="http://www.apache.org/dyn/closer.cgi/incubator/chemistry/opencmis/0.2.0-incubating/chemistry-opencmis-0.2.0-incubating-docs.tar.gz">Download</a></td>
+<td>Documentation and JavaDoc.</td>
 </tr>
 <tr>
 <td>OpenCMIS Sources</td>
 <td><a href="http://www.apache.org/dyn/closer.cgi/incubator/chemistry/opencmis/0.2.0-incubating/chemistry-opencmis-0.2.0-incubating-source-release.zip">Download</a></td>
 <td><a href="http://www.apache.org/dyn/closer.cgi/incubator/chemistry/opencmis/0.2.0-incubating/chemistry-opencmis-0.2.0-incubating-source-release.tar.gz">Download</a></td>
+<td>OpenCMIS source code.</td>
 </tr>
 </tbody>
 </table>
 <a name="OpenCMIS-0.1.0FullDownloadpage">
 
-<h2 id="incubation_release_010_full_download_pagehttpwwwapacheorgdynclosercgiincubatorchemistryopencmis010-incubating">Incubation Release 0.1.0 <a href="http://www.apache.org/dyn/closer.cgi/incubator/chemistry/opencmis/0.1.0-incubating/">Full Download page</a></h2>
+<h2 id="incubation_release_010_2010-09-17">Incubation Release 0.1.0 (2010-09-17)</h2>
+<p><a href="http://www.apache.org/dyn/closer.cgi/incubator/chemistry/opencmis/0.1.0-incubating/">Full Download page</a></p>
 <table>
 <thead>
 <tr>

Modified: websites/production/chemistry/content/java/examples/example-connect-dotnet.html
==============================================================================
--- websites/production/chemistry/content/java/examples/example-connect-dotnet.html (original)
+++ websites/production/chemistry/content/java/examples/example-connect-dotnet.html Mon Mar 21 15:57:22 2011
@@ -25,7 +25,7 @@
     <meta name="description" content="Apache Chemistry, CMIS Implementation" />
     <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
     <title>
-Apache Chemistry - Connecting from a .Net client
+Apache Chemistry - Connecting from a .NET client
     </title>
   </head>
 <body onload="init()">
@@ -64,7 +64,7 @@ Apache Chemistry - Connecting from a .Ne
               <td>
                 <div align="left">
                 <!-- Breadcrumbs -->
-<a href="/">Home</a>&nbsp;&raquo&nbsp;<a href="/java">Java</a>&nbsp;&raquo&nbsp;<a href="/java/examples">Examples</a>&nbsp;&raquo&nbsp;<a href="/java/examples/example-connect-dotnet.html">Connecting from a .Net client</a>
+<a href="/">Home</a>&nbsp;&raquo&nbsp;<a href="/java">Java</a>&nbsp;&raquo&nbsp;<a href="/java/examples">Examples</a>&nbsp;&raquo&nbsp;<a href="/java/examples/example-connect-dotnet.html">Connecting from a .NET client</a>
                 <!-- Breadcrumbs -->
                 </div>
               </td>
@@ -183,10 +183,8 @@ Apache Chemistry - Connecting from a .Ne
            </td>
            <td height="100%">
              <!-- Content -->
-             <div class="wiki-content"><h1 id="connecting_from_a_net_client_via_the_web_services_binding">Connecting from a .Net client via the Web Services binding</h1>
-<p>This is a very simple C# example that demonstrates how to connect to an
-OpenCMIS server via the Web Services binding. Please note that .Net only
-allows UsernameTokens over HTTPS.
+             <div class="wiki-content"><h1 id="connecting_from_a_net_client_via_the_web_services_binding">Connecting from a .NET client via the Web Services binding</h1>
+<p>This is a very simple C# example that demonstrates how to connect to an OpenCMIS server via the Web Services binding. Please note that .NET only allows UsernameTokens over HTTPS.
 (See also <a href="../../dotnet/dotcmis.html">DotCMIS</a>).</p>
 <div class="codehilite"><pre><span class="n">using</span> <span class="n">System</span><span class="p">;</span>
 <span class="n">using</span> <span class="n">System</span><span class="p">.</span><span class="n">ServiceModel</span><span class="p">;</span>

Modified: websites/production/chemistry/content/java/examples/example-create-session.html
==============================================================================
--- websites/production/chemistry/content/java/examples/example-create-session.html (original)
+++ websites/production/chemistry/content/java/examples/example-create-session.html Mon Mar 21 15:57:22 2011
@@ -25,7 +25,7 @@
     <meta name="description" content="Apache Chemistry, CMIS Implementation" />
     <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
     <title>
-Apache Chemistry - Create a session
+Apache Chemistry - Creating a session
     </title>
   </head>
 <body onload="init()">
@@ -64,7 +64,7 @@ Apache Chemistry - Create a session
               <td>
                 <div align="left">
                 <!-- Breadcrumbs -->
-<a href="/">Home</a>&nbsp;&raquo&nbsp;<a href="/java">Java</a>&nbsp;&raquo&nbsp;<a href="/java/examples">Examples</a>&nbsp;&raquo&nbsp;<a href="/java/examples/example-create-session.html">Create a session</a>
+<a href="/">Home</a>&nbsp;&raquo&nbsp;<a href="/java">Java</a>&nbsp;&raquo&nbsp;<a href="/java/examples">Examples</a>&nbsp;&raquo&nbsp;<a href="/java/examples/example-create-session.html">Creating a session</a>
                 <!-- Breadcrumbs -->
                 </div>
               </td>
@@ -183,13 +183,12 @@ Apache Chemistry - Create a session
            </td>
            <td height="100%">
              <!-- Content -->
-             <div class="wiki-content"><h1 id="create_a_session">Create a session</h1>
-<p>This example explains the first steps required in each client application: 
+             <div class="wiki-content"><h1 id="creating_a_session">Creating a session</h1>
+<p>These examples show the first steps that are required in client applications: 
 How to create a session and connect to a repository.</p>
-<h2 id="session_creation_-_atompub_binding">Session Creation - AtomPub Binding</h2>
-<p><DIV class="codeHeader">Opening a Atom Pub Connection</DIV></p>
-<div class="codehilite"><pre><span class="c1">// default factory implementation of client runtime</span>
-<span class="n">SessionFactory</span> <span class="n">f</span> <span class="o">=</span> <span class="n">SessionFactoryImpl</span><span class="o">.</span><span class="na">newInstance</span><span class="o">();</span>
+<h2 id="atompub_binding">AtomPub binding</h2>
+<div class="codehilite"><pre><span class="c1">// default factory implementation</span>
+<span class="n">SessionFactory</span> <span class="n">factory</span> <span class="o">=</span> <span class="n">SessionFactoryImpl</span><span class="o">.</span><span class="na">newInstance</span><span class="o">();</span>
 <span class="n">Map</span><span class="o">&lt;</span><span class="n">String</span><span class="o">,</span> <span class="n">String</span><span class="o">&gt;</span> <span class="n">parameter</span> <span class="o">=</span> <span class="k">new</span> <span class="n">HashMap</span><span class="o">&lt;</span><span class="n">String</span><span class="o">,</span> <span class="n">String</span><span class="o">&gt;();</span>
 
 <span class="c1">// user credentials</span>
@@ -202,15 +201,13 @@ How to create a session and connect to a
 <span class="n">parameter</span><span class="o">.</span><span class="na">put</span><span class="o">(</span><span class="n">SessionParameter</span><span class="o">.</span><span class="na">REPOSITORY_ID</span><span class="o">,</span> <span class="s">&quot;myRepository&quot;</span><span class="o">);</span>
 
 <span class="c1">// create session</span>
-<span class="n">Session</span> <span class="n">s</span> <span class="o">=</span> <span class="n">f</span><span class="o">.</span><span class="na">createSession</span><span class="o">(</span><span class="n">parameter</span><span class="o">);</span>
+<span class="n">Session</span> <span class="n">session</span> <span class="o">=</span> <span class="n">factory</span><span class="o">.</span><span class="na">createSession</span><span class="o">(</span><span class="n">parameter</span><span class="o">);</span>
 </pre></div>
 
 
-<p><a name="OpenCMISClientAPI-SessionCreation-WebServicesBinding"></a></p>
-<h2 id="session_creation_-_web_services_binding">Session Creation - Web Services Binding</h2>
-<p><DIV class="codeHeader">Opening a Web Services Connection</DIV></p>
-<div class="codehilite"><pre><span class="c1">// default factory implementation of client runtime</span>
-<span class="n">SessionFactory</span> <span class="n">f</span> <span class="o">=</span> <span class="n">SessionFactoryImpl</span><span class="o">.</span><span class="na">newInstance</span><span class="o">();</span>
+<h2 id="web_services_binding">Web Services binding</h2>
+<div class="codehilite"><pre><span class="c1">// default factory implementation</span>
+<span class="n">SessionFactory</span> <span class="n">factory</span> <span class="o">=</span> <span class="n">SessionFactoryImpl</span><span class="o">.</span><span class="na">newInstance</span><span class="o">();</span>
 <span class="n">Map</span><span class="o">&lt;</span><span class="n">String</span><span class="o">,</span> <span class="n">String</span><span class="o">&gt;</span> <span class="n">parameter</span> <span class="o">=</span> <span class="k">new</span> <span class="n">HashMap</span><span class="o">&lt;</span><span class="n">String</span><span class="o">,</span> <span class="n">String</span><span class="o">&gt;();</span>
 
 <span class="c1">// user credentials</span>
@@ -219,7 +216,6 @@ How to create a session and connect to a
 
 <span class="c1">// connection settings</span>
 <span class="n">parameter</span><span class="o">.</span><span class="na">put</span><span class="o">(</span><span class="n">SessionParameter</span><span class="o">.</span><span class="na">BINDING_TYPE</span><span class="o">,</span> <span class="n">BindingType</span><span class="o">.</span><span class="na">WEBSERVICES</span><span class="o">.</span><span class="na">value</span><span class="o">());</span>
-<span class="n">parameter</span><span class="o">.</span><span class="na">put</span><span class="o">(</span><span class="n">SessionParameter</span><span class="o">.</span><span class="na">REPOSITORY_ID</span><span class="o">,</span> <span class="s">&quot;myRepository&quot;</span><span class="o">);</span>
 <span class="n">parameter</span><span class="o">.</span><span class="na">put</span><span class="o">(</span><span class="n">SessionParameter</span><span class="o">.</span><span class="na">WEBSERVICES_ACL_SERVICE</span><span class="o">,</span> <span class="s">&quot;http://&lt;host&gt;:&lt;port&gt;/cmis/services/ACLService?wsdl&quot;</span><span class="o">);</span>
 <span class="n">parameter</span><span class="o">.</span><span class="na">put</span><span class="o">(</span><span class="n">SessionParameter</span><span class="o">.</span><span class="na">WEBSERVICES_DISCOVERY_SERVICE</span><span class="o">,</span> <span class="s">&quot;http://&lt;host&gt;:&lt;port&gt;/cmis/services/DiscoveryService?wsdl&quot;</span><span class="o">);</span>
 <span class="n">parameter</span><span class="o">.</span><span class="na">put</span><span class="o">(</span><span class="n">SessionParameter</span><span class="o">.</span><span class="na">WEBSERVICES_MULTIFILING_SERVICE</span><span class="o">,</span> <span class="s">&quot;http://&lt;host&gt;:&lt;port&gt;/cmis/services/MultiFilingService?wsdl&quot;</span><span class="o">);</span>
@@ -229,9 +225,30 @@ How to create a session and connect to a
 <span class="n">parameter</span><span class="o">.</span><span class="na">put</span><span class="o">(</span><span class="n">SessionParameter</span><span class="o">.</span><span class="na">WEBSERVICES_RELATIONSHIP_SERVICE</span><span class="o">,</span> <span class="s">&quot;http://&lt;host&gt;:&lt;port&gt;/cmis/services/RelationshipService?wsdl&quot;</span><span class="o">);</span>
 <span class="n">parameter</span><span class="o">.</span><span class="na">put</span><span class="o">(</span><span class="n">SessionParameter</span><span class="o">.</span><span class="na">WEBSERVICES_REPOSITORY_SERVICE</span><span class="o">,</span> <span class="s">&quot;http://&lt;host&gt;:&lt;port&gt;/cmis/services/RepositoryService?wsdl&quot;</span><span class="o">);</span>
 <span class="n">parameter</span><span class="o">.</span><span class="na">put</span><span class="o">(</span><span class="n">SessionParameter</span><span class="o">.</span><span class="na">WEBSERVICES_VERSIONING_SERVICE</span><span class="o">,</span> <span class="s">&quot;http://&lt;host&gt;:&lt;port&gt;/cmis/services/VersioningService?wsdl&quot;</span><span class="o">);</span>
+<span class="n">parameter</span><span class="o">.</span><span class="na">put</span><span class="o">(</span><span class="n">SessionParameter</span><span class="o">.</span><span class="na">REPOSITORY_ID</span><span class="o">,</span> <span class="s">&quot;myRepository&quot;</span><span class="o">);</span>
+
+<span class="c1">// create session</span>
+<span class="n">Session</span> <span class="n">session</span> <span class="o">=</span> <span class="n">factory</span><span class="o">.</span><span class="na">createSession</span><span class="o">(</span><span class="n">parameter</span><span class="o">);</span>
+</pre></div>
+
+
+<h2 id="local_binding">Local binding</h2>
+<p>The local binding is specific to OpenCMIS. It lets an OpenCMIS client connect to an OpenCMIS server in the same JVM.</p>
+<div class="codehilite"><pre><span class="c1">// default factory implementation</span>
+<span class="n">SessionFactory</span> <span class="n">factory</span> <span class="o">=</span> <span class="n">SessionFactoryImpl</span><span class="o">.</span><span class="na">newInstance</span><span class="o">();</span>
+<span class="n">Map</span><span class="o">&lt;</span><span class="n">String</span><span class="o">,</span> <span class="n">String</span><span class="o">&gt;</span> <span class="n">parameter</span> <span class="o">=</span> <span class="k">new</span> <span class="n">HashMap</span><span class="o">&lt;</span><span class="n">String</span><span class="o">,</span> <span class="n">String</span><span class="o">&gt;();</span>
+
+<span class="c1">// user credentials</span>
+<span class="n">parameter</span><span class="o">.</span><span class="na">put</span><span class="o">(</span><span class="n">SessionParameter</span><span class="o">.</span><span class="na">USER</span><span class="o">,</span> <span class="s">&quot;Otto&quot;</span><span class="o">);</span>
+<span class="n">parameter</span><span class="o">.</span><span class="na">put</span><span class="o">(</span><span class="n">SessionParameter</span><span class="o">.</span><span class="na">PASSWORD</span><span class="o">,</span> <span class="s">&quot;****&quot;</span><span class="o">);</span>
+
+<span class="c1">// connection settings</span>
+<span class="n">parameter</span><span class="o">.</span><span class="na">put</span><span class="o">(</span><span class="n">SessionParameter</span><span class="o">.</span><span class="na">BINDING_TYPE</span><span class="o">,</span> <span class="n">BindingType</span><span class="o">.</span><span class="na">LOCAL</span><span class="o">.</span><span class="na">value</span><span class="o">());</span>
+<span class="n">parameter</span><span class="o">.</span><span class="na">put</span><span class="o">(</span><span class="n">SessionParameter</span><span class="o">.</span><span class="na">LOCAL_FACTORY</span><span class="o">,</span> <span class="s">&quot;my.local.factory&quot;</span><span class="o">);</span>
+<span class="n">parameter</span><span class="o">.</span><span class="na">put</span><span class="o">(</span><span class="n">SessionParameter</span><span class="o">.</span><span class="na">REPOSITORY_ID</span><span class="o">,</span> <span class="s">&quot;myRepository&quot;</span><span class="o">);</span>
 
 <span class="c1">// create session</span>
-<span class="n">Session</span> <span class="n">s</span> <span class="o">=</span> <span class="n">f</span><span class="o">.</span><span class="na">createSession</span><span class="o">(</span><span class="n">parameter</span><span class="o">);</span>
+<span class="n">Session</span> <span class="n">session</span> <span class="o">=</span> <span class="n">factory</span><span class="o">.</span><span class="na">createSession</span><span class="o">(</span><span class="n">parameter</span><span class="o">);</span>
 </pre></div></div>
              <!-- Content -->
            </td>

Modified: websites/production/chemistry/content/java/examples/example-create-update.html
==============================================================================
--- websites/production/chemistry/content/java/examples/example-create-update.html (original)
+++ websites/production/chemistry/content/java/examples/example-create-update.html Mon Mar 21 15:57:22 2011
@@ -184,7 +184,53 @@ Apache Chemistry - Creating and updating
            <td height="100%">
              <!-- Content -->
              <div class="wiki-content"><h1 id="creating_and_updating_cmis_objects">Creating and updating CMIS objects</h1>
-<p>TODO</p></div>
+<h2 id="creating_a_folder">Creating a folder</h2>
+<p>This example creates a folder under the root folder.</p>
+<div class="codehilite"><pre><span class="n">Folder</span> <span class="n">root</span> <span class="o">=</span> <span class="n">session</span><span class="o">.</span><span class="n">getRootFolder</span><span class="p">();</span>
+
+<span class="sr">//</span> <span class="n">properties</span>
+<span class="sr">//</span> <span class="p">(</span><span class="n">minimal</span> <span class="n">set:</span> <span class="n">name</span> <span class="ow">and</span> <span class="n">object</span> <span class="n">type</span> <span class="n">id</span><span class="p">)</span>
+<span class="n">Map</span><span class="o">&lt;</span><span class="n">String</span><span class="p">,</span> <span class="n">Object</span><span class="o">&gt;</span> <span class="n">properties</span> <span class="o">=</span> <span class="k">new</span> <span class="n">HashMap</span><span class="o">&lt;</span><span class="n">String</span><span class="p">,</span> <span class="n">Object</span><span class="o">&gt;</span><span class="p">();</span>
+<span class="n">properties</span><span class="o">.</span><span class="n">put</span><span class="p">(</span><span class="n">PropertyIds</span><span class="o">.</span><span class="n">OBJECT_TYPE_ID</span><span class="p">,</span> <span class="s">&quot;cmis:folder&quot;</span><span class="p">);</span>
+<span class="n">properties</span><span class="o">.</span><span class="n">put</span><span class="p">(</span><span class="n">PropertyIds</span><span class="o">.</span><span class="n">NAME</span><span class="p">,</span> <span class="s">&quot;a new folder&quot;</span><span class="p">);</span>
+
+<span class="sr">//</span> <span class="n">create</span> <span class="n">the</span> <span class="n">folder</span>
+<span class="n">Folder</span> <span class="n">newFolder</span> <span class="o">=</span> <span class="n">root</span><span class="o">.</span><span class="n">createFolder</span><span class="p">(</span><span class="n">properties</span><span class="p">);</span>
+</pre></div>
+
+
+<h2 id="creating_a_document">Creating a document</h2>
+<p>This example creates a document in the folder <code>parent</code>.</p>
+<div class="codehilite"><pre><span class="n">Folder</span> <span class="n">parent</span> <span class="o">=</span> <span class="o">....</span>
+
+<span class="n">String</span> <span class="n">name</span> <span class="o">=</span> <span class="s">&quot;myNewDocument.txt&quot;</span><span class="p">;</span>
+
+<span class="sr">//</span> <span class="n">properties</span> 
+<span class="sr">//</span> <span class="p">(</span><span class="n">minimal</span> <span class="n">set:</span> <span class="n">name</span> <span class="ow">and</span> <span class="n">object</span> <span class="n">type</span> <span class="n">id</span><span class="p">)</span>
+<span class="n">Map</span><span class="o">&lt;</span><span class="n">String</span><span class="p">,</span> <span class="n">Object</span><span class="o">&gt;</span> <span class="n">properties</span> <span class="o">=</span> <span class="k">new</span> <span class="n">HashMap</span><span class="o">&lt;</span><span class="n">String</span><span class="p">,</span> <span class="n">Object</span><span class="o">&gt;</span><span class="p">();</span>
+<span class="n">properties</span><span class="o">.</span><span class="n">put</span><span class="p">(</span><span class="n">PropertyIds</span><span class="o">.</span><span class="n">OBJECT_TYPE_ID</span><span class="p">,</span> <span class="s">&quot;cmis:document&quot;</span><span class="p">);</span>
+<span class="n">properties</span><span class="o">.</span><span class="n">put</span><span class="p">(</span><span class="s">&quot;PropertyIds.NAME, name);</span>
+
+<span class="s">// content</span>
+<span class="s">byte[] content = &quot;</span><span class="n">Hello</span> <span class="n">World</span><span class="o">!</span><span class="s">&quot;.getBytes();</span>
+<span class="s">InputStream stream = new ByteArrayInputStream(content);</span>
+<span class="s">ContentStream contentStream = new ContentStreamImpl(name, content.length, &quot;</span><span class="n">text</span><span class="o">/</span><span class="n">plain</span><span class="err">&quot;</span><span class="p">,</span> <span class="n">stream</span><span class="p">);</span>
+
+<span class="sr">//</span> <span class="n">create</span> <span class="n">a</span> <span class="n">major</span> <span class="n">version</span>
+<span class="n">Document</span> <span class="n">newDoc</span> <span class="o">=</span> <span class="n">parent</span><span class="o">.</span><span class="n">createDocument</span><span class="p">(</span><span class="n">properties</span><span class="p">,</span> <span class="n">contentStream</span><span class="p">,</span> <span class="n">VersioningState</span><span class="o">.</span><span class="n">MAJOR</span><span class="p">);</span>
+</pre></div>
+
+
+<h2 id="updating_properties">Updating properties</h2>
+<p>This example updates two properties of a CMIS object</p>
+<div class="codehilite"><pre><span class="n">CmisObject</span> <span class="n">cmisobject</span> <span class="o">=</span> <span class="o">....</span>
+
+<span class="n">Map</span><span class="o">&lt;</span><span class="n">String</span><span class="p">,</span> <span class="n">Object</span><span class="o">&gt;</span> <span class="n">updateproperties</span> <span class="o">=</span> <span class="k">new</span> <span class="n">HashMap</span><span class="o">&lt;</span><span class="n">String</span><span class="p">,</span> <span class="n">Object</span><span class="o">&gt;</span><span class="p">();</span>
+<span class="n">updateproperties</span><span class="o">.</span><span class="n">put</span><span class="p">(</span><span class="s">&quot;my:property&quot;</span><span class="p">,</span> <span class="s">&quot;new value&quot;</span><span class="p">);</span>
+<span class="n">updateproperties</span><span class="o">.</span><span class="n">put</span><span class="p">(</span><span class="s">&quot;my:other.property&quot;</span><span class="p">,</span> <span class="mi">42</span><span class="p">);</span>
+
+<span class="n">cmisobject</span><span class="o">.</span><span class="n">updateProperties</span><span class="p">(</span><span class="n">updateproperties</span><span class="p">);</span>
+</pre></div></div>
              <!-- Content -->
            </td>
           </tr>

Modified: websites/production/chemistry/content/java/examples/example-get-extension.html
==============================================================================
--- websites/production/chemistry/content/java/examples/example-get-extension.html (original)
+++ websites/production/chemistry/content/java/examples/example-get-extension.html Mon Mar 21 15:57:22 2011
@@ -185,13 +185,10 @@ Apache Chemistry - Getting CMIS extensio
              <!-- Content -->
              <div class="wiki-content"><h1 id="getting_cmis_extensions">Getting CMIS extensions</h1>
 <p><em>(since OpenCMIS 0.2.0)</em> <br/>
-The CMIS specification allows to add extensions at several points in CMIS
-data structures (object, properties, allowable actions, ACLs, policies,
+The CMIS specification allows to add extensions at several points in CMIS data structures (object, properties, allowable actions, ACLs, policies,
 etc.).
-These extensions are XML fragments for the AtomPub and the Web Services
-binding. (It will be something simpler for the upcoming JSON binding.)
-Think of it as a tree structure with named node and leafs. Only the leafs
-can have a value.</p>
+These extensions are XML fragments for the AtomPub and the Web Services binding. (It will be something simpler for the upcoming JSON binding.)
+Think of it as a tree structure with named node and leafs. Only the leafs can have a value.</p>
 <div class="codehilite"><pre><span class="c1">// get an object from somewhere</span>
 <span class="n">CmisObject</span> <span class="n">object</span> <span class="o">=</span> <span class="o">...</span>
 

Modified: websites/production/chemistry/content/java/examples/example-get-id-from-path.html
==============================================================================
--- websites/production/chemistry/content/java/examples/example-get-id-from-path.html (original)
+++ websites/production/chemistry/content/java/examples/example-get-id-from-path.html Mon Mar 21 15:57:22 2011
@@ -186,7 +186,7 @@ Apache Chemistry - Getting the id from p
              <div class="wiki-content"><h1 id="getting_the_id_of_an_object_from_its_path">Getting the id of an object from its path</h1>
 <p>A code snippet how to get the id of an object when only a path is known:</p>
 <div class="codehilite"><pre><span class="n">String</span> <span class="n">path</span> <span class="o">=</span> <span class="s">&quot;/User Homes/customer1/document.odt&quot;</span>
-<span class="n">CmisObject</span> <span class="n">object</span> <span class="o">=</span> <span class="n">getSession</span><span class="o">().</span><span class="na">getObjectByPath</span><span class="o">(</span><span class="n">path</span><span class="o">);</span>
+<span class="n">CmisObject</span> <span class="n">object</span> <span class="o">=</span> <span class="n">session</span><span class="o">.</span><span class="na">getObjectByPath</span><span class="o">(</span><span class="n">path</span><span class="o">);</span>
 <span class="n">String</span> <span class="n">id</span> <span class="o">=</span> <span class="n">object</span><span class="o">.</span><span class="na">getId</span><span class="o">();</span>
 </pre></div></div>
              <!-- Content -->

Modified: websites/production/chemistry/content/java/examples/example-list-folder.html
==============================================================================
--- websites/production/chemistry/content/java/examples/example-list-folder.html (original)
+++ websites/production/chemistry/content/java/examples/example-list-folder.html Mon Mar 21 15:57:22 2011
@@ -25,7 +25,7 @@
     <meta name="description" content="Apache Chemistry, CMIS Implementation" />
     <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
     <title>
-Apache Chemistry - 
+Apache Chemistry - List a folder with paging
     </title>
   </head>
 <body onload="init()">
@@ -64,7 +64,7 @@ Apache Chemistry - 
               <td>
                 <div align="left">
                 <!-- Breadcrumbs -->
-<a href="/">Home</a>&nbsp;&raquo&nbsp;<a href="/java">Java</a>&nbsp;&raquo&nbsp;<a href="/java/examples">Examples</a>&nbsp;&raquo&nbsp;<a href="/java/examples/example-list-folder.html">Example-list-folder.html</a>
+<a href="/">Home</a>&nbsp;&raquo&nbsp;<a href="/java">Java</a>&nbsp;&raquo&nbsp;<a href="/java/examples">Examples</a>&nbsp;&raquo&nbsp;<a href="/java/examples/example-list-folder.html">List a folder with paging</a>
                 <!-- Breadcrumbs -->
                 </div>
               </td>
@@ -183,13 +183,12 @@ Apache Chemistry - 
            </td>
            <td height="100%">
              <!-- Content -->
-             <div class="wiki-content"><p>Title: List a folder with paging</p>
-<h1 id="showing_a_folders_items_with_results_paging">Showing a folder's items, with results paging</h1>
+             <div class="wiki-content"><h1 id="showing_a_folders_items_with_results_paging">Showing a folder's items, with results paging</h1>
 <div class="codehilite"><pre><span class="kt">int</span> <span class="n">maxItemsPerPage</span> <span class="o">=</span> <span class="mi">5</span><span class="o">;</span>
 <span class="kt">int</span> <span class="n">skipCount</span> <span class="o">=</span> <span class="mi">10</span><span class="o">;</span>
 
 <span class="n">CmisObject</span> <span class="n">object</span> <span class="o">=</span> <span class="n">session</span><span class="o">.</span><span class="na">getObject</span><span class="o">(</span><span class="n">session</span><span class="o">.</span><span class="na">createObjectId</span><span class="o">(</span><span class="n">folderId</span><span class="o">));</span>
-<span class="n">Folder</span> <span class="n">folder</span> <span class="o">=</span> <span class="o">(</span><span class="n">Folder</span><span class="o">)</span><span class="n">object</span><span class="o">;</span>
+<span class="n">Folder</span> <span class="n">folder</span> <span class="o">=</span> <span class="o">(</span><span class="n">Folder</span><span class="o">)</span> <span class="n">object</span><span class="o">;</span>
 <span class="n">OperationContext</span> <span class="n">operationContext</span> <span class="o">=</span> <span class="n">session</span><span class="o">.</span><span class="na">createOperationContext</span><span class="o">();</span>
 <span class="n">operationContext</span><span class="o">.</span><span class="na">setMaxItemsPerPage</span><span class="o">(</span><span class="n">maxItemsPerPage</span><span class="o">);</span>
 

Modified: websites/production/chemistry/content/java/examples/example-osgi.html
==============================================================================
--- websites/production/chemistry/content/java/examples/example-osgi.html (original)
+++ websites/production/chemistry/content/java/examples/example-osgi.html Mon Mar 21 15:57:22 2011
@@ -25,7 +25,7 @@
     <meta name="description" content="Apache Chemistry, CMIS Implementation" />
     <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
     <title>
-Apache Chemistry - 
+Apache Chemistry - Using OSGI with OpenCMIS
     </title>
   </head>
 <body onload="init()">
@@ -64,7 +64,7 @@ Apache Chemistry - 
               <td>
                 <div align="left">
                 <!-- Breadcrumbs -->
-<a href="/">Home</a>&nbsp;&raquo&nbsp;<a href="/java">Java</a>&nbsp;&raquo&nbsp;<a href="/java/examples">Examples</a>&nbsp;&raquo&nbsp;<a href="/java/examples/example-osgi.html">Example-osgi.html</a>
+<a href="/">Home</a>&nbsp;&raquo&nbsp;<a href="/java">Java</a>&nbsp;&raquo&nbsp;<a href="/java/examples">Examples</a>&nbsp;&raquo&nbsp;<a href="/java/examples/example-osgi.html">Using OSGI with OpenCMIS</a>
                 <!-- Breadcrumbs -->
                 </div>
               </td>
@@ -183,8 +183,7 @@ Apache Chemistry - 
            </td>
            <td height="100%">
              <!-- Content -->
-             <div class="wiki-content"><p>Title: Using OSGI with OpenCMIS</p>
-<h1 id="using_osgi_with_opencmis">Using OSGI with OpenCMIS</h1>
+             <div class="wiki-content"><h1 id="using_osgi_with_opencmis">Using OSGI with OpenCMIS</h1>
 <p>This example shows how to use OpenCMIS with OSGI bundles.</p>
 <p>TODO</p></div>
              <!-- Content -->

Modified: websites/production/chemistry/content/java/examples/example-read-meta-content.html
==============================================================================
--- websites/production/chemistry/content/java/examples/example-read-meta-content.html (original)
+++ websites/production/chemistry/content/java/examples/example-read-meta-content.html Mon Mar 21 15:57:22 2011
@@ -25,7 +25,7 @@
     <meta name="description" content="Apache Chemistry, CMIS Implementation" />
     <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
     <title>
-Apache Chemistry - Reading metadata and content from a CMIS repository
+Apache Chemistry - Reading metadata and content
     </title>
   </head>
 <body onload="init()">
@@ -64,7 +64,7 @@ Apache Chemistry - Reading metadata and 
               <td>
                 <div align="left">
                 <!-- Breadcrumbs -->
-<a href="/">Home</a>&nbsp;&raquo&nbsp;<a href="/java">Java</a>&nbsp;&raquo&nbsp;<a href="/java/examples">Examples</a>&nbsp;&raquo&nbsp;<a href="/java/examples/example-read-meta-content.html">Reading metadata and content from a CMIS repository</a>
+<a href="/">Home</a>&nbsp;&raquo&nbsp;<a href="/java">Java</a>&nbsp;&raquo&nbsp;<a href="/java/examples">Examples</a>&nbsp;&raquo&nbsp;<a href="/java/examples/example-read-meta-content.html">Reading metadata and content</a>
                 <!-- Breadcrumbs -->
                 </div>
               </td>
@@ -183,8 +183,44 @@ Apache Chemistry - Reading metadata and 
            </td>
            <td height="100%">
              <!-- Content -->
-             <div class="wiki-content"><h1 id="reading_metadata_and_content_from_a_cmis_repository">Reading metadata and content from a CMIS repository</h1>
-<p>TODO</p></div>
+             <div class="wiki-content"><h1 id="reading_metadata_and_content">Reading metadata and content</h1>
+<h2 id="reading_metadata">Reading metadata</h2>
+<h3 id="reading_properties_-_single_property">Reading Properties - Single Property</h3>
+<div class="codehilite"><pre><span class="n">ObjectId</span> <span class="n">id</span> <span class="o">=</span> <span class="n">session</span><span class="o">.</span><span class="na">createObjectId</span><span class="o">(</span><span class="s">&quot;4711&quot;</span><span class="o">);</span>
+<span class="n">Document</span> <span class="n">document</span> <span class="o">=</span> <span class="o">(</span><span class="n">Document</span><span class="o">)</span> <span class="n">session</span><span class="o">.</span><span class="na">getObject</span><span class="o">(</span><span class="n">id</span><span class="o">);</span>
+<span class="n">Property</span><span class="o">&lt;</span><span class="n">String</span><span class="o">&gt;</span> <span class="n">p</span> <span class="o">=</span> <span class="n">document</span><span class="o">.</span><span class="na">getProperty</span><span class="o">(</span><span class="n">PropertyIds</span><span class="o">.</span><span class="na">OBJECT_ID</span><span class="o">);</span>
+
+<span class="n">String</span> <span class="n">s</span> <span class="o">=</span> <span class="n">p</span><span class="o">.</span><span class="na">getValue</span><span class="o">();</span>
+</pre></div>
+
+
+<h3 id="reading_properties_-_all_properties">Reading Properties - All Properties</h3>
+<div class="codehilite"><pre><span class="n">ObjectId</span> <span class="n">id</span> <span class="o">=</span> <span class="n">session</span><span class="o">.</span><span class="na">createObjectId</span><span class="o">(</span><span class="s">&quot;4711&quot;</span><span class="o">);</span>
+<span class="n">Document</span> <span class="n">document</span> <span class="o">=</span> <span class="o">(</span><span class="n">Document</span><span class="o">)</span> <span class="n">session</span><span class="o">.</span><span class="na">getObject</span><span class="o">(</span><span class="n">id</span><span class="o">);</span>
+<span class="n">List</span><span class="o">&lt;</span><span class="n">Property</span><span class="o">&lt;?&gt;&gt;</span> <span class="n">l</span> <span class="o">=</span> <span class="n">document</span><span class="o">.</span><span class="na">getProperties</span><span class="o">();</span>
+<span class="n">Iterator</span><span class="o">&lt;</span><span class="n">Property</span><span class="o">&lt;?&gt;&gt;</span> <span class="n">i</span> <span class="o">=</span> <span class="n">l</span><span class="o">.</span><span class="na">iterator</span><span class="o">();</span>
+<span class="k">while</span> <span class="o">(</span><span class="n">i</span><span class="o">.</span><span class="na">hasNext</span><span class="o">())</span> <span class="o">{</span>
+  <span class="n">Property</span><span class="o">&lt;?&gt;</span> <span class="n">p</span> <span class="o">=</span> <span class="n">i</span><span class="o">.</span><span class="na">next</span><span class="o">();</span>
+  <span class="n">Object</span> <span class="n">value</span> <span class="o">=</span> <span class="n">p</span><span class="o">.</span><span class="na">getValue</span><span class="o">();</span>
+  <span class="n">PropertyType</span> <span class="n">t</span> <span class="o">=</span> <span class="n">p</span><span class="o">.</span><span class="na">getType</span><span class="o">();</span>
+
+  <span class="k">switch</span> <span class="o">(</span><span class="n">t</span><span class="o">)</span> <span class="o">{</span>
+    <span class="k">case</span> <span class="nl">INTEGER:</span>
+      <span class="n">Integer</span> <span class="n">n</span> <span class="o">=</span> <span class="o">(</span><span class="n">Integer</span><span class="o">)</span> <span class="n">value</span><span class="o">;</span>
+      <span class="n">System</span><span class="o">.</span><span class="na">out</span><span class="o">.</span><span class="na">println</span><span class="o">(</span><span class="n">p</span><span class="o">.</span><span class="na">getName</span><span class="o">()</span> <span class="o">+</span> <span class="s">&quot; = &quot;</span> <span class="o">+</span> <span class="n">n</span><span class="o">);</span>
+      <span class="k">break</span><span class="o">;</span>
+    <span class="k">case</span> <span class="nl">STRING:</span>
+ <span class="o">[...]</span>
+<span class="o">}</span>
+</pre></div>
+
+
+<h2 id="retrieving_content">Retrieving content</h2>
+<div class="codehilite"><pre><span class="n">CmisObject</span> <span class="n">object</span> <span class="o">=</span> <span class="n">session</span><span class="o">.</span><span class="na">getObject</span><span class="o">(</span><span class="n">session</span><span class="o">.</span><span class="na">createObjectId</span><span class="o">(</span><span class="n">docId</span><span class="o">));</span>
+<span class="n">Document</span> <span class="n">document</span> <span class="o">=</span> <span class="o">(</span><span class="n">Document</span><span class="o">)</span> <span class="n">object</span><span class="o">;</span>
+<span class="n">String</span> <span class="n">filename</span> <span class="o">=</span> <span class="n">document</span><span class="o">.</span><span class="na">getName</span><span class="o">();</span>
+<span class="n">InputStream</span> <span class="n">stream</span> <span class="o">=</span> <span class="n">document</span><span class="o">.</span><span class="na">getContentStream</span><span class="o">().</span><span class="na">getStream</span><span class="o">();</span>
+</pre></div></div>
              <!-- Content -->
            </td>
           </tr>

Modified: websites/production/chemistry/content/java/examples/example-read-root.html
==============================================================================
--- websites/production/chemistry/content/java/examples/example-read-root.html (original)
+++ websites/production/chemistry/content/java/examples/example-read-root.html Mon Mar 21 15:57:22 2011
@@ -25,7 +25,7 @@
     <meta name="description" content="Apache Chemistry, CMIS Implementation" />
     <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
     <title>
-Apache Chemistry - Reading the Root Fodler
+Apache Chemistry - Reading the Root Folder
     </title>
   </head>
 <body onload="init()">
@@ -64,7 +64,7 @@ Apache Chemistry - Reading the Root Fodl
               <td>
                 <div align="left">
                 <!-- Breadcrumbs -->
-<a href="/">Home</a>&nbsp;&raquo&nbsp;<a href="/java">Java</a>&nbsp;&raquo&nbsp;<a href="/java/examples">Examples</a>&nbsp;&raquo&nbsp;<a href="/java/examples/example-read-root.html">Reading the Root Fodler</a>
+<a href="/">Home</a>&nbsp;&raquo&nbsp;<a href="/java">Java</a>&nbsp;&raquo&nbsp;<a href="/java/examples">Examples</a>&nbsp;&raquo&nbsp;<a href="/java/examples/example-read-root.html">Reading the Root Folder</a>
                 <!-- Breadcrumbs -->
                 </div>
               </td>
@@ -184,13 +184,25 @@ Apache Chemistry - Reading the Root Fodl
            <td height="100%">
              <!-- Content -->
              <div class="wiki-content"><h1 id="reading_the_root_folder">Reading the Root Folder</h1>
-<DIV class="codeHeader">Reading the Root Collection</DIV>
+<h2 id="listing_all_children">Listing all children</h2>
+<p>This example lists all objects in the root folder.</p>
+<div class="codehilite"><pre><span class="n">Folder</span> <span class="n">root</span> <span class="o">=</span> <span class="n">session</span><span class="o">.</span><span class="na">getRootFolder</span><span class="o">();</span>
 
-<div class="codehilite"><pre><span class="n">Folder</span> <span class="n">root</span> <span class="o">=</span> <span class="k">this</span><span class="o">.</span><span class="na">session</span><span class="o">.</span><span class="na">getRootFolder</span><span class="o">();</span>
+<span class="n">ItemIterable</span><span class="o">&lt;</span><span class="n">CmisObject</span><span class="o">&gt;</span> <span class="n">children</span> <span class="o">=</span> <span class="n">root</span><span class="o">.</span><span class="na">getChildren</span><span class="o">();</span>
 
-<span class="n">ItemIterable</span><span class="o">&lt;</span><span class="n">CmisObject</span><span class="o">&gt;</span> <span class="n">pl</span> <span class="o">=</span> <span class="n">root</span><span class="o">.</span><span class="na">getChildren</span><span class="o">();</span>
+<span class="k">for</span> <span class="o">(</span><span class="n">CmisObject</span> <span class="n">o</span> <span class="o">:</span> <span class="n">children</span><span class="o">)</span> <span class="o">{</span>
+  <span class="n">System</span><span class="o">.</span><span class="na">out</span><span class="o">.</span><span class="na">println</span><span class="o">(</span><span class="n">o</span><span class="o">.</span><span class="na">getName</span><span class="o">());</span>
+<span class="o">}</span>
+</pre></div>
+
+
+<h2 id="retrieving_a_page">Retrieving a page</h2>
+<p>This example retrieves a page of 10 objects starting at the 20th child.</p>
+<div class="codehilite"><pre><span class="n">Folder</span> <span class="n">root</span> <span class="o">=</span> <span class="n">session</span><span class="o">.</span><span class="na">getRootFolder</span><span class="o">();</span>
+
+<span class="n">ItemIterable</span><span class="o">&lt;</span><span class="n">CmisObject</span><span class="o">&gt;</span> <span class="n">page</span> <span class="o">=</span> <span class="n">root</span><span class="o">.</span><span class="na">getChildren</span><span class="o">().</span><span class="na">skipTo</span><span class="o">(</span><span class="mi">20</span><span class="o">).</span><span class="na">getPage</span><span class="o">(</span><span class="mi">10</span><span class="o">);</span>
 
-<span class="k">for</span> <span class="o">(</span><span class="n">CmisObject</span> <span class="n">o</span> <span class="o">:</span> <span class="n">pl</span><span class="o">)</span> <span class="o">{</span>
+<span class="k">for</span> <span class="o">(</span><span class="n">CmisObject</span> <span class="n">o</span> <span class="o">:</span> <span class="n">page</span><span class="o">)</span> <span class="o">{</span>
   <span class="n">System</span><span class="o">.</span><span class="na">out</span><span class="o">.</span><span class="na">println</span><span class="o">(</span><span class="n">o</span><span class="o">.</span><span class="na">getName</span><span class="o">());</span>
 <span class="o">}</span>
 </pre></div></div>

Modified: websites/production/chemistry/content/java/examples/index.html
==============================================================================
--- websites/production/chemistry/content/java/examples/index.html (original)
+++ websites/production/chemistry/content/java/examples/index.html Mon Mar 21 15:57:22 2011
@@ -25,7 +25,7 @@
     <meta name="description" content="Apache Chemistry, CMIS Implementation" />
     <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
     <title>
-Apache Chemistry - Debugging OpenCMIS
+Apache Chemistry - Example code for OpenCMIS clients
     </title>
   </head>
 <body onload="init()">
@@ -183,20 +183,22 @@ Apache Chemistry - Debugging OpenCMIS
            </td>
            <td height="100%">
              <!-- Content -->
-             <div class="wiki-content"><h1 id="examples_for_opencmis_clients">Examples for OpenCMIS Clients</h1>
-<p>Example code and code fragments for the OpenCMIS client API</p>
+             <div class="wiki-content"><h1 id="example_code_for_opencmis_clients">Example code for OpenCMIS clients</h1>
+<p>Example code and code fragments for the OpenCMIS client API.</p>
+<h2 id="basics">Basics</h2>
 <ul>
-<li><a href="example-connect-dotnet.html">Connecting from .Net</a></li>
 <li><a href="example-create-session.html">Creating a session</a></li>
-<li><a href="example-create-update.html">Create and update a document</a></li>
-<li><a href="example-get-extension.html">Get extension</a></li>
+<li><a href="example-create-update.html">Creating and updating a CMIS object</a></li>
 <li><a href="example-list-folder.html">Listing a folder</a></li>
 <li><a href="example-process-query-results.html">Processing a query</a></li>
-<li><a href="example-read-file.html">Reading a file</a></li>
 <li><a href="example-read-meta-content.html">Reading metadata and content</a></li>
-<li><a href="example-read-props.html">Reading properties</a></li>
 <li><a href="example-read-root.html">Reading the root folder</a></li>
 <li><a href="example-get-id-from-path.html">Retrieving the id from path</a></li>
+</ul>
+<h2 id="advanced">Advanced</h2>
+<ul>
+<li><a href="example-connect-dotnet.html">Connecting from .NET</a></li>
+<li><a href="example-get-extension.html">Getting extensions</a></li>
 <li><a href="example-osgi.html">Using OSGI bundles</a></li>
 </ul></div>
              <!-- Content -->

Modified: websites/production/chemistry/content/java/how-to/how-to-build.html
==============================================================================
--- websites/production/chemistry/content/java/how-to/how-to-build.html (original)
+++ websites/production/chemistry/content/java/how-to/how-to-build.html Mon Mar 21 15:57:22 2011
@@ -183,23 +183,8 @@ Apache Chemistry - OpenCMIS how-to-build
            </td>
            <td height="100%">
              <!-- Content -->
-             <div class="wiki-content"><div class="toc">
-<ul>
-<li><a href="#how_to_build_opencmis">How to build OpenCMIS</a><ul>
-<li><a href="#the_client_libraries">The Client Libraries</a></li>
-<li><a href="#the_server_framework">The Server Framework</a></li>
-<li><a href="#javadocs">JavaDocs</a><ul>
-<li><a href="#releases_javadocs">Releases Javadocs</a></li>
-<li><a href="#latest_javadocs">Latest Javadocs</a></li>
-</ul>
-</li>
-</ul>
-</li>
-</ul>
-</div>
-<h1 id="how_to_build_opencmis">How to build OpenCMIS</h1>
-<p><a name="OpenCMIShow-to-build-HowtobuildOpenCMIS"></a></p>
-<p>OpenCMIS releases are available <a href="../../download.html">here</a>.
+             <div class="wiki-content"><h1 id="how_to_build_opencmis">How to build OpenCMIS</h1>
+<p>OpenCMIS releases are available <a href="../download.html">here</a>.
 If you want to build the latest and greatest instead, follow these simple steps:</p>
 <ul>
 <li>Make sure you have JDK 1.5 or higher, Maven 2.2.1 and a Subversion client installed. <br/>(The CMIS Workbench requires JDK 1.6!)</li>
@@ -221,17 +206,12 @@ If you want to build the latest and grea
 </pre></div>
 
 
-<p><a name="OpenCMIShow-to-build-TheClientLibraries"></a></p>
 <h2 id="the_client_libraries">The Client Libraries</h2>
 <p>After the build, the OpenCMIS client libraries (with all dependencies) reside in the
 <code>/chemistry-opencmis-client/chemistry-opencmis-client-impl/target</code>
-directory. The zip file contains all libraries necessary to build a CMIS
-client.</p>
-<p><a name="OpenCMIShow-to-build-TheServerFramework"></a></p>
+directory. The zip file contains all libraries necessary to build a CMIS client.</p>
 <h2 id="the_server_framework">The Server Framework</h2>
-<p>Please refer to the <a href="../../developing/dev-server.html">Server Framework</a>
- page for more information where to find it and how to use it.</p>
-<p><a name="OpenCMIShow-to-build-BuildJavaDoc"></a></p>
+<p>Please refer to the <a href="../developing/dev-server.html">Server Framework</a> page for more information where to find it and how to use it.</p>
 <h2 id="javadocs">JavaDocs</h2>
 <h3 id="releases_javadocs">Releases Javadocs</h3>
 <p>You can access OpenCMIS releases Javadocs in the following ways:</p>

Modified: websites/production/chemistry/content/java/how-to/how-to-connect.html
==============================================================================
--- websites/production/chemistry/content/java/how-to/how-to-connect.html (original)
+++ websites/production/chemistry/content/java/how-to/how-to-connect.html Mon Mar 21 15:57:22 2011
@@ -183,68 +183,13 @@ Apache Chemistry - Connecting to a repos
            </td>
            <td height="100%">
              <!-- Content -->
-             <div class="wiki-content"><h1 id="connecting_to_a_repository_client">Connecting to a repository (Client)</h1>
-<p>This section explains how to use the client API to connect to a repository using the
-different bindings. Authentication, cookie handling and special considerations for 
-MS Sharepoint are considered.</p>
-<p><a name="OpenCMISCookbook-ConnectingtoaCMISrepositorybyAtomPub"></a></p>
-<h2 id="connecting_to_a_cmis_repository_by_atompub">Connecting to a CMIS repository by AtomPub</h2>
-<div class="codehilite"><pre><span class="c1">// Default factory implementation of client runtime.</span>
-<span class="n">SessionFactory</span> <span class="n">sessionFactory</span> <span class="o">=</span> <span class="n">SessionFactoryImpl</span><span class="o">.</span><span class="na">newInstance</span><span class="o">();</span>
-<span class="n">Map</span><span class="o">&lt;</span><span class="n">String</span><span class="o">,</span> <span class="n">String</span><span class="o">&gt;</span> <span class="n">parameter</span> <span class="o">=</span> <span class="k">new</span> <span class="n">HashMap</span><span class="o">&lt;</span><span class="n">String</span><span class="o">,</span> <span class="n">String</span><span class="o">&gt;();</span>
-
-<span class="c1">// User credentials.</span>
-<span class="n">parameter</span><span class="o">.</span><span class="na">put</span><span class="o">(</span><span class="n">SessionParameter</span><span class="o">.</span><span class="na">USER</span><span class="o">,</span> <span class="s">&quot;user&quot;</span><span class="o">);</span>
-<span class="n">parameter</span><span class="o">.</span><span class="na">put</span><span class="o">(</span><span class="n">SessionParameter</span><span class="o">.</span><span class="na">PASSWORD</span><span class="o">,</span> <span class="s">&quot;password&quot;</span><span class="o">);</span>
-
-<span class="c1">// Connection settings.</span>
-<span class="n">parameter</span><span class="o">.</span><span class="na">put</span><span class="o">(</span><span class="n">SessionParameter</span><span class="o">.</span><span class="na">ATOMPUB_URL</span><span class="o">,</span> <span class="s">&quot;http://localhost:8080/alfresco/service/cmis&quot;</span><span class="o">);</span> <span class="c1">// URL to your CMIS server.</span>
-<span class="c1">// parameter.put(SessionParameter.REPOSITORY_ID, &quot;myRepository&quot;); // Only necessary if there is more than one repository.</span>
-<span class="n">parameter</span><span class="o">.</span><span class="na">put</span><span class="o">(</span><span class="n">SessionParameter</span><span class="o">.</span><span class="na">BINDING_TYPE</span><span class="o">,</span> <span class="n">BindingType</span><span class="o">.</span><span class="na">ATOMPUB</span><span class="o">.</span><span class="na">value</span><span class="o">());</span>
-
-<span class="c1">// Create session.</span>
-<span class="n">Session</span> <span class="n">session</span> <span class="o">=</span> <span class="kc">null</span><span class="o">;</span>
-<span class="k">try</span> <span class="o">{</span>
-    <span class="c1">// This supposes only one repository is available at the URL.</span>
-    <span class="n">Repository</span> <span class="n">soleRepository</span> <span class="o">=</span> <span class="n">sessionFactory</span><span class="o">.</span><span class="na">getRepositories</span><span class="o">(</span><span class="n">parameter</span><span class="o">).</span><span class="na">get</span><span class="o">(</span><span class="mi">0</span><span class="o">);</span>
-    <span class="n">session</span> <span class="o">=</span> <span class="n">soleRepository</span><span class="o">.</span><span class="na">createSession</span><span class="o">();</span>
-<span class="o">}</span>
-<span class="k">catch</span><span class="o">(</span><span class="n">CmisConnectionException</span> <span class="n">e</span><span class="o">)</span> <span class="o">{</span> 
-    <span class="c1">// The server is unreachable</span>
-<span class="o">}</span>
-<span class="k">catch</span><span class="o">(</span><span class="n">CmisRuntimeException</span> <span class="n">e</span><span class="o">)</span> <span class="o">{</span>
-    <span class="c1">// The user/password have probably been rejected by the server.</span>
-<span class="o">}</span>
-</pre></div>
-
-
-<h2 id="connecting_to_sharepoint_2010">Connecting to SharePoint 2010</h2>
-<p>While connecting via AtomPub is straight forward, connecting via Web
-Services is a bit tricky.</p>
-<h3 id="atompub">AtomPub</h3>
-<p>The service document URL is <code>http://&lt;host&gt;/_vti_bin/cmis/rest/&lt;SPList&gt;?getrepositoryinfo</code>.
-Since this sends the password as plain text, HTTPS is strongly recommended.</p>
-<h3 id="web_services">Web Services</h3>
-<ol>
-<li>Download the WSDL with a web browser and store it on your local disk. The WSDL URL is <code>http://&lt;host&gt;/_vti_bin/cmissoapwsdl.aspx?wsdl</code>.</li>
-<li>Provide <code>file://</code>... URLs to the downloaded WSDL for all OpenCMIS WSDL session parameters.</li>
-<li>Activate the OpenCMIS NTLM authentication provider.</li>
-</ol>
-&nbsp;
-
-<div class="codehilite"><pre><span class="n">parameters</span><span class="o">.</span><span class="na">put</span><span class="o">(</span><span class="n">SessionParameter</span><span class="o">.</span><span class="na">AUTHENTICATION_PROVIDER_CLASS</span><span class="o">,</span> <span class="n">CmisBindingFactory</span><span class="o">.</span><span class="na">NTLM_AUTHENTICATION_PROVIDER</span><span class="o">);</span>
-</pre></div>
-
-
-<p>(The NTLM authentication provider uses <a href="http://download-llnw.oracle.com/javase/6/docs/api/java/net/Authenticator.html">java.net.Authenticator</a>
- under the hood. If this interferes with your environment, you are on your own.)</p>
+             <div class="wiki-content"><h1 id="connecting_to_a_repository">Connecting to a repository</h1>
+<p>In order to connect to a CMIS repository you have to <a href="../examples/example-create-session.html">create a session</a>.</p>
+<p>A few repositories need <a href="../developing/dev-known-repo-issues.html">special treatment</a>.</p>
 <h2 id="using_cookies">Using Cookies</h2>
-<p>Some repositories are sending HTTP cookies to maintain state (although CMIS
-is stateless) or accelerate authentication for subsequent calls. OpenCMIS
-ignores these cookies by default. The following code snippet activates
-cookies for your application and OpenCMIS.
-See <a href="http://java.sun.com/docs/books/tutorial/networking/cookies/cookiemanager.html">this page</a>
- for details.</p>
+<p>Some repositories are sending HTTP cookies to maintain state (although CMIS is stateless) or accelerate authentication for subsequent calls. OpenCMIS
+ignores these cookies by default. The following code snippet activates cookies for your application and OpenCMIS.
+See <a href="http://java.sun.com/docs/books/tutorial/networking/cookies/cookiemanager.html">this page</a> for details.</p>
 <div class="codehilite"><pre><span class="n">CookieManager</span> <span class="n">cm</span> <span class="o">=</span> <span class="k">new</span> <span class="n">CookieManager</span><span class="o">(</span><span class="kc">null</span><span class="o">,</span> <span class="n">CookiePolicy</span><span class="o">.</span><span class="na">ACCEPT_ALL</span><span class="o">);</span>
 <span class="n">CookieHandler</span><span class="o">.</span><span class="na">setDefault</span><span class="o">(</span><span class="n">cm</span><span class="o">);</span>
 </pre></div></div>

Modified: websites/production/chemistry/content/java/how-to/how-to-tune-perfomance.html
==============================================================================
--- websites/production/chemistry/content/java/how-to/how-to-tune-perfomance.html (original)
+++ websites/production/chemistry/content/java/how-to/how-to-tune-perfomance.html Mon Mar 21 15:57:22 2011
@@ -183,62 +183,47 @@ Apache Chemistry - Tuning the performanc
            </td>
            <td height="100%">
              <!-- Content -->
-             <div class="wiki-content"><h1 id="tuning_the_performance_client">Tuning the performance (Client)</h1>
-<p>The client performance relies on two aspects: Caching and the requested data.</p>
+             <div class="wiki-content"><h1 id="tuning_the_client_performance">Tuning the client performance</h1>
+<p>The client performance relies on two aspects: <strong>Caching</strong> and the <strong>requested data</strong>.</p>
 <p>The OpenCMIS Session object does a lot of caching for you and tries to avoid calls to the repository wherever
 possible. In order to be effective, you have to reuse the Session object whenever possible. Creating a new Session
 object for each call decreases the performance drastically. Session objects and CMIS objects are thread-safe and
 can/should be reused across threads.</p>
-<p>OperationContext objects control which data (properties, renditions, relationships, allowable actions, ACLs,
+<p><a href="../developing/dev-operation-context.html">OperationContext</a> objects control which data (properties, renditions, relationships, allowable actions, ACLs,
 policies, etc.) is requested from the repository. The more data is requested, the longer it takes to transmit and
 process it. By default, OpenCMIS fetches more data than most applications need. Tuning the OperationContext,
 and especially the property filter, can result in a significant performance improvement.</p>
 <h2 id="understanding_the_client_side_cache">Understanding the client side cache</h2>
-<p>Client side caching is turned on by default. That is, <code>getObject()</code> will
-first look into the session cache if the object already exists there. If
-this is the case, it returns the object without talking to the repository.
-So it might return stale objects.<br />
+<p>Client side caching is turned on by default. That is, <code>getObject()</code> will first look into the session cache if the object already exists there. 
+If this is the case, it returns the object without talking to the repository. So it might return stale objects.<br />
 </p>
 <p>There are multiple ways to deal with that:</p>
 <ul>
-<li>Refresh the object data that is returned from <code>getObject()</code>.</li>
-</ul>
-&nbsp;
-
-<div class="codehilite"><pre><span class="n">CmisObject</span> <span class="n">object</span> <span class="o">=</span> <span class="n">session</span><span class="o">.</span><span class="na">getObject</span><span class="o">(</span><span class="n">id</span><span class="o">);</span>
-<span class="n">object</span><span class="o">.</span><span class="na">refresh</span><span class="o">();</span> <span class="c1">// contacts the repository and refreshes the object</span>
-<span class="n">object</span><span class="o">.</span><span class="na">refreshIfOld</span><span class="o">(</span><span class="mi">60</span> <span class="o">*</span> <span class="mi">1000</span><span class="o">);</span> <span class="c1">// ... or refreshes the object only if the data is older than a minute</span>
-</pre></div>
-
-
-<ul>
-<li>Turn off the session cache completely.</li>
-</ul>
-&nbsp;
-
-<div class="codehilite"><pre><span class="n">session</span><span class="o">.</span><span class="na">getDefaultContext</span><span class="o">().</span><span class="na">setCacheEnabled</span><span class="o">(</span><span class="kc">false</span><span class="o">);</span>
-</pre></div>
-
-
-<ul>
-<li>Turn off caching for this <code>getObject()</code> call.</li>
-</ul>
-&nbsp;
-
-<div class="codehilite"><pre><span class="n">OperationContext</span> <span class="n">oc</span> <span class="o">=</span> <span class="n">session</span><span class="o">.</span><span class="na">createOperationContext</span><span class="o">();</span>
-<span class="n">oc</span><span class="o">.</span><span class="na">setCacheEnabled</span><span class="o">(</span><span class="kc">false</span><span class="o">);</span>
-
-<span class="n">CmisObject</span> <span class="n">object</span> <span class="o">=</span> <span class="n">session</span><span class="o">.</span><span class="na">getObject</span><span class="o">(</span><span class="n">id</span><span class="o">,</span> <span class="n">oc</span><span class="o">);</span>
-</pre></div>
-
-
-<ul>
-<li>Clear the session cache (not recommended).</li>
-</ul>
-&nbsp;
-
-<div class="codehilite"><pre><span class="n">session</span><span class="o">.</span><span class="na">clear</span><span class="o">();</span>
-</pre></div></div>
+<li>
+<p>Refresh the object data that is returned from <code>getObject()</code>:</p>
+<p>:::java
+CmisObject object = session.getObject(id);
+object.refresh(); // contacts the repository and refreshes the object
+object.refreshIfOld(60 * 1000); // ... or refreshes the object only if the data is older than a minute</p>
+</li>
+<li>
+<p>Turn off the session cache completely:</p>
+<p>:::java
+session.getDefaultContext().setCacheEnabled(false);</p>
+</li>
+<li>
+<p>Turn off caching for this <code>getObject()</code> call:</p>
+<p>:::java
+OperationContext oc = session.createOperationContext();
+oc.setCacheEnabled(false);</p>
+<p>CmisObject object = session.getObject(id, oc);</p>
+</li>
+<li>
+<p>Clear the session cache (not recommended!):</p>
+<p>:::java
+session.clear();</p>
+</li>
+</ul></div>
              <!-- Content -->
            </td>
           </tr>

Modified: websites/production/chemistry/content/java/how-to/index.html
==============================================================================
--- websites/production/chemistry/content/java/how-to/index.html (original)
+++ websites/production/chemistry/content/java/how-to/index.html Mon Mar 21 15:57:22 2011
@@ -25,7 +25,7 @@
     <meta name="description" content="Apache Chemistry, CMIS Implementation" />
     <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
     <title>
-Apache Chemistry - Debugging OpenCMIS
+Apache Chemistry - OpenCMIS HowTos
     </title>
   </head>
 <body onload="init()">
@@ -183,13 +183,19 @@ Apache Chemistry - Debugging OpenCMIS
            </td>
            <td height="100%">
              <!-- Content -->
-             <div class="wiki-content"><h1 id="opencmis_how_tos">OpenCMIS How Tos</h1>
-<p>Instructions how to perform frequently occuring tasks with OpenCMIS</p>
-<p>Common How to...</p>
+             <div class="wiki-content"><h1 id="opencmis_howtos">OpenCMIS HowTos</h1>
+<p>Instructions how to perform frequently occuring tasks with OpenCMIS.</p>
+<h2 id="common_howtos">Common HowTos</h2>
 <ul>
 <li><a href="how-to-build.html">Build OpenCMIS</a></li>
 </ul>
-<p>Server How to...</p>
+<h2 id="client_howtos">Client HowTos</h2>
+<ul>
+<li><a href="how-to-connect.html">Connect to a repository</a>          <br />
+</li>
+<li><a href="how-to-tune-perfomance.html">Tune performance</a></li>
+</ul>
+<h2 id="server_howtos">Server HowTos</h2>
 <ul>
 <li><a href="how-to-add-extension.html">Add CMIS Extensions</a>    <br />
 </li>
@@ -197,12 +203,6 @@ Apache Chemistry - Debugging OpenCMIS
 <li><a href="how-to-integrate-spring.html">Integrate with Spring</a> <br />
 </li>
 <li><a href="how-to-process-query.html">Process a Query</a></li>
-</ul>
-<p>Client How to...</p>
-<ul>
-<li><a href="how-to-connect.html">Connect to a repository</a>          <br />
-</li>
-<li><a href="how-to-tune-perfomance.html">Tune performance</a></li>
 </ul></div>
              <!-- Content -->
            </td>

Modified: websites/production/chemistry/content/java/opencmis.html
==============================================================================
--- websites/production/chemistry/content/java/opencmis.html (original)
+++ websites/production/chemistry/content/java/opencmis.html Mon Mar 21 15:57:22 2011
@@ -25,7 +25,7 @@
     <meta name="description" content="Apache Chemistry, CMIS Implementation" />
     <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
     <title>
-Apache Chemistry - OpenCMIS Overview
+Apache Chemistry - OpenCMIS Overview
     </title>
   </head>
 <body onload="init()">
@@ -64,7 +64,7 @@ Apache Chemistry - OpenCMIS Overview
               <td>
                 <div align="left">
                 <!-- Breadcrumbs -->
-<a href="/">Home</a>&nbsp;&raquo&nbsp;<a href="/java">Java</a>&nbsp;&raquo&nbsp;<a href="/java/opencmis.html">OpenCMIS Overview
</a>
+<a href="/">Home</a>&nbsp;&raquo&nbsp;<a href="/java">Java</a>&nbsp;&raquo&nbsp;<a href="/java/opencmis.html">OpenCMIS Overview</a>
                 <!-- Breadcrumbs -->
                 </div>
               </td>
@@ -194,15 +194,14 @@ repository developers and client applica
 <h1 id="table_of_contents_for_the_documentation">Table of Contents for the documentation</h1>
 <p>The OpenCMIS documentation is structured in the following sections:</p>
 <ul>
-<li><a href="developing/index.html">Developing with OpenCMIs</a></li>
 <li><a href="download.html">Downloads</a></li>
+<li><a href="developing/index.html">Developing with OpenCMIS</a></li>
 <li><a href="examples/index.html">Example Code</a></li>
 <li><a href="how-to/index.html">OpenCMIS HowTos</a></li>
 </ul>
 <h1 id="getting_opencmis">Getting OpenCMIS</h1>
-<p>You can get opencmis from the <a href="download.html">Download-Page</a></p>
-<h1 id="releases">Releases</h1>
-<p>Currently the following opencmis releases exist:</p>
+<p>You can get OpenCMIS from the <a href="download.html">Download page</a>.</p>
+<h2 id="opencmis_releases">OpenCMIS releases</h2>
 <table>
 <thead>
 <tr>
@@ -221,13 +220,13 @@ repository developers and client applica
 </tr>
 <tr>
 <td>Incubation Release 0.2.0</td>
-<td>Jan/21/2011</td>
+<td>2011-01-21</td>
 <td><a href="https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12310936&amp;version=12315134">0.2.0</a></td>
 <td><a href="https://issues.apache.org/jira/secure/IssueNavigator.jspa?reset=true&amp;mode=hide&amp;jqlQuery=project+%3D+CMIS+AND+fixVersion+%3D+%220.2.0-incubating%22">0.2.0</a></td>
 </tr>
 <tr>
 <td>Incubation Release 0.1.0</td>
-<td>Sep/17/2010</td>
+<td>2010-09-17</td>
 <td><a href="https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12310936&amp;version=12315133">0.1.0</a></td>
 <td><a href="https://issues.apache.org/jira/secure/IssueNavigator.jspa?reset=true&amp;mode=hide&amp;jqlQuery=project+%3D+CMIS+AND+fixVersion+%3D+%220.1.0-incubating%22">0.1.0</a></td>
 </tr>



Mime
View raw message