ModeShape
discontinuedby Red Hat (JBoss Community) · since 2008 · also known as JBoss DNA
Red Hat's open-source JCR 2.0 hierarchical content repository for Java; no release since 2017.
discontinued. No release since 5.4.1.Final (April 2017) and no commits since 2019; Red Hat no longer develops it. Use Apache Jackrabbit Oak.
Overview
ModeShape is a Java implementation of the JCR 2.0 (JSR-283) content-repository standard: a transactional, hierarchical store of nodes and properties with versioning, references, observation events, full-text search and JCR-SQL2 queries, plus a REST API and a JDBC driver. Sponsored by Red Hat in the JBoss community, it could also federate external systems such as file systems, Git repositories and JDBC metadata into one virtual tree, and the 5.x line persists content to relational databases or the file system. The last release, 5.4.1.Final, shipped in April 2017 and the repository has had no commits since March 2019. For new JCR work, Apache Jackrabbit (Oak) is the maintained option.
Strengths & trade-offs
Strengths
- +Standard JCR 2.0 API, so applications can move between JCR implementations
- +Hierarchical model with versioning, references and observation built in
- +Federation connectors exposed external systems as part of the content tree
Trade-offs
- −Unmaintained since 2019; dependencies are years out of date
- −JCR is a niche API outside Java CMS products
- −Performance tuning depended heavily on the chosen persistence store
Great for
- +Maintaining legacy Java CMS or repository applications built on it
- +Reference implementation when studying JCR semantics
Think twice for
- −New projects
- −Non-Java stacks
- −High-throughput transactional workloads
Capabilities
Native or official first-party support · 7 of 25 tracked
Scale & consistency
- Comfortable data size
- Small · ≤ 100 GB
- Horizontal scaling
- None
- Multi-region
- No
- Transactions
- Full ACID
- Consistency
- Strong
- Schema
- Flexible
- Architecture
- Embedded, Client server
- Query languages
- JCR-SQL2, JCR-JQOM, XPath
Clustering was supported, but capacity depends on the persistence store underneath.
Deployment
Ecosystem
Alternatives to ModeShape
Apache's Java Content Repository: a hierarchical, versioned node store with search, behind many Java CMSs.
modeshape vs jackrabbit →The extensible, standards-first open-source relational database.
modeshape vs postgresql →The default document database: flexible BSON documents, rich queries and built-in sharding.
modeshape vs mongodb →The original coordination service: hierarchical znodes, watches and ephemeral nodes for clusters.
modeshape vs apache-zookeeper →A drop-in MySQL build that ships enterprise features (thread pool, audit, encryption) as free GPL code.
modeshape vs percona-server-mysql →CNCF-graduated sharding and clustering layer that makes a fleet of MySQL servers look like one database.
modeshape vs vitess →ModeShape FAQ
What is ModeShape?
ModeShape is a hierarchical database by Red Hat (JBoss Community), first released in 2008. ModeShape is a Java implementation of the JCR 2.0 (JSR-283) content-repository standard: a transactional, hierarchical store of nodes and properties with versioning, references, observation events, full-text search and JCR-SQL2 queries, plus a REST API and a JDBC driver. Sponsored by Red Hat in the JBoss community, it could also federate external systems such as file systems, Git repositories and JDBC metadata into one virtual tree, and the 5.x line persists content to relational databases or the file system. The last release, 5.4.1.Final, shipped in April 2017 and the repository has had no commits since March 2019. For new JCR work, Apache Jackrabbit (Oak) is the maintained option.
Is ModeShape open source?
Yes. ModeShape is open source. License: Apache License 2.0.
Does ModeShape support ACID transactions?
Yes. ModeShape supports full ACID transactions, with strong consistency.
Does ModeShape scale horizontally?
ModeShape does not scale horizontally; it runs on a single node, so you scale it up rather than out. It is comfortable at small scale (≤ 100 GB).
How can I run ModeShape?
You can self-host it and embed it in your application.
What is ModeShape best for?
ModeShape is a strong fit for maintaining legacy Java CMS or repository applications built on it and reference implementation when studying JCR semantics. Think twice for new projects.
What are the best alternatives to ModeShape?
Common alternatives to ModeShape include Apache Jackrabbit, PostgreSQL, MongoDB, Apache ZooKeeper and Percona Server for MySQL. The right choice depends on your workload, scale and hosting; WhichDB's smart match ranks them against your requirements.
Is ModeShape still maintained?
ModeShape is discontinued. No release since 5.4.1.Final (April 2017) and no commits since 2019; Red Hat no longer develops it. Use Apache Jackrabbit Oak.
How popular is ModeShape?
ModeShape ranks #481 of 844 databases on the WhichDB Score (2.3/100), and #7 among hierarchical databases. The score combines public adoption signals such as package downloads, GitHub activity, job posts and developer discussion.



