You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@manifoldcf.apache.org by kw...@apache.org on 2011/08/12 15:54:04 UTC

svn commit: r1157110 - in /incubator/lcf/trunk: CHANGES.txt site/src/documentation/content/xdocs/how-to-build-and-deploy.xml

Author: kwright
Date: Fri Aug 12 13:54:04 2011
New Revision: 1157110

URL: http://svn.apache.org/viewvc?rev=1157110&view=rev
Log:
Document how to integrate ManifoldCF into an application.  Part of CONNECTORS-61.

Modified:
    incubator/lcf/trunk/CHANGES.txt
    incubator/lcf/trunk/site/src/documentation/content/xdocs/how-to-build-and-deploy.xml

Modified: incubator/lcf/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/incubator/lcf/trunk/CHANGES.txt?rev=1157110&r1=1157109&r2=1157110&view=diff
==============================================================================
--- incubator/lcf/trunk/CHANGES.txt (original)
+++ incubator/lcf/trunk/CHANGES.txt Fri Aug 12 13:54:04 2011
@@ -3,6 +3,10 @@ $Id$
 
 ======================= 0.3-dev =========================
 
+CONNECTORS-61: Make it easy (and document) how to integrate
+ManifoldCF into an application.
+(Karl Wright)
+
 CONNECTORS-226: Clean up usage of REPOSITORY_CONNECTION_ERROR
 ManifoldCFException type.
 (Karl Wright)

Modified: incubator/lcf/trunk/site/src/documentation/content/xdocs/how-to-build-and-deploy.xml
URL: http://svn.apache.org/viewvc/incubator/lcf/trunk/site/src/documentation/content/xdocs/how-to-build-and-deploy.xml?rev=1157110&r1=1157109&r2=1157110&view=diff
==============================================================================
--- incubator/lcf/trunk/site/src/documentation/content/xdocs/how-to-build-and-deploy.xml (original)
+++ incubator/lcf/trunk/site/src/documentation/content/xdocs/how-to-build-and-deploy.xml Fri Aug 12 13:54:04 2011
@@ -689,6 +689,30 @@ mvn exec:exec
 
     </section>
 
+    <section>
+      <title>Integrating ManifoldCF into another application</title>
+      <p></p>
+      <p>ManifoldCF can be integrated into another application through a variety of methods.  We'll cover these below.</p>
+      <p></p>
+
+      <section>
+        <title>Integrating the Quick Start example</title>
+        <p></p>
+        <p>The Quick Start example can readily be integrated into a single-process application, by using the support methods found in the org.apache.manifoldcf.jettyrunner.ManifoldCFJettyRunner class.
+          For the web application components of ManifoldCF, you can either use this class to start them under Jetty, or you can choose to deploy them yourself.  Please note, however, that if you start the ManifoldCF
+          agents process within a web application, you are effectively not running a single-process version of ManifoldCF anymore, because each web application will effectively
+          have its own set of static classes.</p>
+        <p>If you want to try the single-process integration, you should learn what you need by reading the Javadoc for the ManifoldCFJettyRunner class.</p>
+      </section>
+      
+      <section>
+        <title>Integrating a multi-process setup</title>
+        <p></p>
+        <p>In a multi process setup, all of the ManifoldCF processes might as well exist on their own.  You can learn how to programmatically start the agents process by looking at the code
+          in the AgentRun command class, as described above.  Similarly, the command classes that register connectors are very small and should be easy to understand.</p>
+      </section>
+      
+    </section>
   </body>
 
 </document>