Index: docs/gettingstarted/src/main/docbook/en-US/content/author_group.xml =================================================================== --- docs/gettingstarted/src/main/docbook/en-US/content/author_group.xml (revision 989) +++ docs/gettingstarted/src/main/docbook/en-US/content/author_group.xml Thu Jan 14 09:01:45 CET 2010 @@ -1,6 +1,6 @@ - + - - - + + + - - - + + + - - - + + + workspace2 - - + + - - - Image metadata sequencer - /foo/source => /foo/target - /bar/source => /bar/target - - + + + Image metadata sequencer + /foo/source => /foo/target + /bar/source => /bar/target + + - - - + + + ]]> Loading from a configuration repository - Loading the JBoss DNA configuration from an existing repository is also pretty straightforward. Simply create and configure the + Loading the ModeShape configuration from an existing repository is also pretty straightforward. Simply create and configure the &RepositorySource; instance to point to the desired repository, and then call the loadFrom(&RepositorySource; source) method: @@ -289,10 +289,10 @@ .addNodeTypes("myCustomNodeTypes.cnd") .setSource("source 1") .registerNamespace("acme","http://www.example.com/acme") - .setOption(JcrRepository.Option.JAAS_LOGIN_CONFIG_NAME, "dna-jcr"); + .setOption(JcrRepository.Option.JAAS_LOGIN_CONFIG_NAME, "modeshape-jcr"); /* - * As a convenience, DNA allows guest users full access by default. In a production system, + * As a convenience, ModeShape allows guest users full access by default. In a production system, * you would want to limit this access by adding one of the lines below to modify this option: * .setOption(JcrRepository.Option.ANONYMOUS_USER_ROLES, ""); // No access * .setOption(JcrRepository.Option.ANONYMOUS_USER_ROLES, "readonly"); // Read-only access @@ -302,7 +302,7 @@ a database store, or any other source). Additionally, this example adds the node types in the "myCustomNodeTypes.cnd" file as those that will be made available when the repository is accessed. It also defines the "http://www.example.com/acme" namespace, and finally sets the "JAAS_LOGIN_CONFIG_NAME" option to define the name of the JAAS login configuration that should be used by - the JBoss DNA repository. + the ModeShape repository. Each time repository(String) is called, it will either load the existing definition with the supplied @@ -319,7 +319,7 @@ of the input path expression). + .usingClass(org.modeshape.graph.mimetype.ExtensionBasedMimeTypeDetector.class);]]> Of course, the class can be specified as Class reference or a string (followed by whether the class should be loaded from the classpath or from a specific classpath). @@ -363,19 +363,19 @@ - - Deploying JBoss DNA via JNDI + + Deploying ModeShape via JNDI Sometimes your applications can simply define a &JcrConfiguration; and instantiate the &JcrEngine; instance directly. - This is very straightforward, and this is what the JBoss DNA examples do. + This is very straightforward, and this is what the ModeShape examples do. Web applications are a different story. Often, you may not want your web application to contain the code that initializes - a JBoss DNA engine. Or, you may want the same &JcrEngine; instance to be reused in multiple web applications deployed + a ModeShape engine. Or, you may want the same &JcrEngine; instance to be reused in multiple web applications deployed to the same web/application server. In these cases, it is possible to configure the web/app server's JNDI instance to instantiate the &JcrEngine;, meaning the web applications need only use the standard JNDI and JCR APIs. - + Example application using JCR and JNDI Here's an example of how such a web application would obtain a JCR &Repository; instance, use it to create a &JcrSession;, @@ -409,11 +409,11 @@ the web server so that the &Repository; instance is available in JNDI. - + Configuring JCR and JNDI Each kind of web server or application server is different, but all servlet containers do provide a way of configuring - objects and placing them into JNDI. JBoss DNA provides a &JndiRepositoryFactory; class that implements &ObjectFactory; + objects and placing them into JNDI. ModeShape provides a &JndiRepositoryFactory; class that implements &ObjectFactory; and that can be used in the server's configuration. The &JndiRepositoryFactory; requires two properties: @@ -436,7 +436,7 @@ ]]> @@ -444,13 +444,13 @@ that only one &JcrEngine; is instantiated, but that a &Repository; instance is registered for each entry. - Before the server can start, however, all of the JBoss DNA jars need to be placed on the classpath for the server. + Before the server can start, however, all of the ModeShape jars need to be placed on the classpath for the server. JAAS also needs to be configured, and this can be done using the application server's configuration or in your web application if you're using a simple servlet container. For more details, see the &ReferenceGuide;. - The JBoss DNA community has solicited input on how we can make it easier to consume and use JBoss DNA in applications + The ModeShape community has solicited input on how we can make it easier to consume and use ModeShape in applications that do not use Maven. Check out the discussion thread, and please add any suggestions or opinions! @@ -517,54 +517,54 @@ - - Using JBoss DNA via Maven + + Using ModeShape via Maven - JBoss DNA is a Maven-based project. If your application is using Maven, it is very easy to add a dependency on - JBoss DNA's JCR library (plus any extensions), and Maven will ensure your application has access to all - of the JBoss DNA artifacts and all 3rd-party libraries upon which DNA depends. + ModeShape is a Maven-based project. If your application is using Maven, it is very easy to add a dependency on + ModeShape's JCR library (plus any extensions), and Maven will ensure your application has access to all + of the ModeShape artifacts and all 3rd-party libraries upon which ModeShape depends. Simply add a dependency in your application's POM: - org.jboss.dna - dna-jcr - 0.7 + org.modeshape + modeshape-jcr + 1.0.0.Beta1 ]]> plus dependencies for each optional extension (sequencers, connectors, MIME type detectors, etc.): - org.jboss.dna - dna-connector-store-jpa - 0.7 + org.modeshape + modeshape-connector-store-jpa + 1.0.0.Beta1 ... - org.jboss.dna - dna-sequencer-java - 0.7 + org.modeshape + modeshape-sequencer-java + 1.0.0.Beta1 ]]> Then, continue by defining a &JcrConfiguration; and building the engine, as discussed earlier. - This is very straightforward, and this is exactly what the JBoss DNA examples do. + This is very straightforward, and this is exactly what the ModeShape examples do. - The JBoss DNA community has solicited input on how we can make it easier to consume and use JBoss DNA in applications + The ModeShape community has solicited input on how we can make it easier to consume and use ModeShape in applications that do not use Maven. Check out the discussion thread, and please add any suggestions or opinions! - + What's next - This chapter outline how you configure JBoss DNA, how you then access a javax.jcr.Repository instance, + This chapter outline how you configure ModeShape, how you then access a javax.jcr.Repository instance, and use the standard JCR API to interact with the repository. The next chapter walks you through downloading - and running the JBoss DNA examples. + and running the ModeShape examples. Index: docs/gettingstarted/src/main/docbook/en-US/content/repository_example.xml =================================================================== --- docs/gettingstarted/src/main/docbook/en-US/content/repository_example.xml (revision 1584) +++ docs/gettingstarted/src/main/docbook/en-US/content/repository_example.xml Thu Jan 14 09:22:32 CET 2010 @@ -1,6 +1,6 @@ - org.jboss.dna + org.modeshape getting-started-en 1.0.0.Beta1-SNAPSHOT jdocbook - JBoss DNA Getting Started manual - The JBoss DNA Getting Started manual + ModeShape Getting Started manual + The ModeShape Getting Started manual @@ -101,4 +101,4 @@ file://${jboss.repository.root} - \ No newline at end of file + Index: docs/gettingstarted/src/main/docbook/en-US/content/conclusion.xml =================================================================== --- docs/gettingstarted/src/main/docbook/en-US/content/conclusion.xml (revision 1570) +++ docs/gettingstarted/src/main/docbook/en-US/content/conclusion.xml Thu Jan 14 09:19:37 CET 2010 @@ -1,6 +1,6 @@ - + - - - + + + - - - - + + + + - + @@ -53,13 +53,13 @@ Credentials"> SimpleCredentials"> - + Logger"> ClassLoaderFactory"> StandardClassLoaderFactory"> - + Graph"> Graph.Batch"> @@ -103,10 +103,10 @@ MockSequencerOutput"> MockSequencerContext"> - + -DnaEngine"> -DnaConfiguration"> +ModeShapeEngine"> +ModeShapeConfiguration"> RepositoryLibrary"> RepositoryService"> ServiceAdministrator"> @@ -120,7 +120,7 @@ MimeTypeDetectorConfig"> - + JcrEngine"> JcrConfiguration"> Index: docs/gettingstarted/src/main/docbook/en-US/master.xml =================================================================== --- docs/gettingstarted/src/main/docbook/en-US/master.xml (revision 1026) +++ docs/gettingstarted/src/main/docbook/en-US/master.xml Thu Jan 14 09:18:41 CET 2010 @@ -1,6 +1,6 @@