JBoss.orgCommunity Documentation

Part II. ModeShape JCR

The ModeShape project provides an implementation of the JCR 2.0 API, which is built on top of the core libraries discussed earlier. This implementation as well as a number of JCR-related components are described in this part of the document. But before talking about how to use the JCR API with a ModeShape repository, first we need to show how to set up a ModeShape engine.

Table of Contents

6. Configuration
6.1. Configuring ModeShape
6.1.1. Configuration Files
6.1.2. Programmatic Configuration
6.1.3. Loading from a Configuration Repository
6.2. JCR Repository options
6.3. Repository system content
6.4. Query index directory
6.5. Authentication and Authorization
6.5.1. Built-in Providers
6.5.2. Custom Providers
6.6. Clustering
6.6.1. Enabling Clustering in ModeShape
6.6.2. JGroups configuration
6.7. Using ModeShape in Web Applications
6.7.1. Deploying ModeShape to JBoss AS
6.7.2. Deploying ModeShape to Tomcat
6.8. Setting the Classpath
6.8.1. Building against ModeShape via Maven
6.8.2. Add dependencies for logging
6.8.3. Building against ModeShape via JARs
6.9. What's next
7. Using the JCR API with ModeShape
7.1. What's new in JCR 2.0?
7.1.1. Connecting
7.1.2. Identifiers
7.1.3. Binary Values
7.1.4. Node Type Management
7.1.5. Queries
7.1.6. Workspace Management
7.1.7. Observation
7.1.8. Locking
7.1.9. Versioning
7.1.10. Importing and Exporting
7.1.11. Shareable Nodes
7.1.12. Orderable Child Nodes
7.1.13. Paths
7.1.14. getItem(String)
7.2. Obtaining a JCR Repository
7.2.1. Configuration File URLs
7.2.2. Using JNDI URLs
7.2.3. Cleaning Up after JcrRepositoryFactory
7.3. ModeShape's JcrEngine
7.4. Creating JCR Sessions
7.4.1. Using JAAS
7.4.2. Using HTTP Servlet security
7.4.3. Guest (Anonymous) User Access
7.4.4. Using Custom Security
7.5. JCR Specification Support
7.5.1. Required features
7.5.2. Optional features
7.5.3. TCK Compatibility features
7.5.4. JCR Security
7.5.5. Built-In Node Types
7.5.6. Custom Node Type Registration
7.6. Summary
8. Querying and Searching using JCR
8.1. JCR Query API
8.2. JCR XPath Query Language
8.2.1. Column Specifiers
8.2.2. Type Constraints
8.2.3. Property Constraints
8.2.4. Path Constraints
8.2.5. Ordering Specifiers
8.2.6. Miscellaneous
8.3. JCR-SQL Query Language
8.3.1. Queries
8.4. JCR-SQL2 Query Language
8.4.1. Queries
8.4.2. Sources
8.4.3. Joins
8.4.4. Equi-Join Conditions
8.4.5. Same-Node Join Conditions
8.4.6. Child-Node Join Conditions
8.4.7. Descendant-Node Join Conditions
8.4.8. Constraints
8.4.9. And Constraints
8.4.10. Or Constraints
8.4.11. Not Constraints
8.4.12. Comparison Constraints
8.4.13. Between Constraints
8.4.14. Property Existence Constraints
8.4.15. Set Constraints
8.4.16. Full-text Search Constraints
8.4.17. Same-Node Constraint
8.4.18. Child-Node Constraints
8.4.19. Descendant-Node Constraints
8.4.20. Paths and Names
8.4.21. Static Operands
8.4.22. Bind Variables
8.4.23. Subqueries
8.4.24. Dynamic Operands
8.4.25. Ordering
8.4.26. Columns
8.4.27. Limit and Offset
8.4.28. Pseudo-columns
8.4.29. Example JCR-SQL2 queries
8.5. Full-Text Search Language
8.5.1. Full-text Search Language
8.6. JCR Query Object Model (JCR-QOM) API
9. Accessing ModeShape Remotely
9.1. The ModeShape WebDAV Server
9.1.1. Configuring the ModeShape WebDAV Server
9.1.2. Deploying the ModeShape WebDAV Server
9.2. The ModeShape REST Server
9.2.1. Supported Resources and Methods
9.2.2. Configuring the ModeShape REST Server
9.2.3. Deploying the ModeShape REST Server
9.2.4. ModeShape REST Client API
9.3. Repository Providers
9.4. Summary