ModeShape and Magnolia
-
Upload
jozef-chocholacek -
Category
Technology
-
view
1.340 -
download
0
description
Transcript of ModeShape and Magnolia
05.09.2012 at Magnolia Conference 2012
Jozef Chocholacek, Senior Developer
1
Magnolia & ModeShapeBeyond the reference implementationjboss.org use case
Version 1.1 Magnolia is a registered trademark owned by Magnolia International Ltd.
2 Version 1.1 Magnolia is a registered trademark owned by Magnolia International Ltd.
Concerning Hobbits ModeShape
An IntroductionThe Future
3
A JCR 2.0 implementationProvides various storage optionsJCR access to the existing contentAutomatic meta-data extractionFederationLightweight, embeddable, clusterableRESTful API, WebDAV serverOpen-source
What is ModeShape
Version 1.1 Magnolia is a registered trademark owned by Magnolia International Ltd.
“ModeShape is a distributed, hierarchical, transactional, and consistent data store with support for queries, full-text search, events, versioning, references, and flexible and dynamic schemas. It is very fast, highly available, extremely scalable, and it is 100% open source and written in Java. Clients use the (JSR-283) standard Java API for content repositories (aka, JCR) or ModeShape's REST API, and can query content through JDBC and SQL.”
4
Database (JPA)DiskFilesystemJCRSubversionInfinispan / JBoss CacheJDBC metadataFederation
Connectors
Version 1.1 Magnolia is a registered trademark owned by Magnolia International Ltd.
5
XML, XSD, WSDLZIP filesMS Office documentsJava source/class filesMP3DDLTextTeiid
Sequencers
Version 1.1 Magnolia is a registered trademark owned by Magnolia International Ltd.
6
Leave the data where it is (i.e. your legacy app)Use JCR API to access
Federation
Version 1.1 Magnolia is a registered trademark owned by Magnolia International Ltd.
7
Much, much, MUCH fasterLarger repositoriesInfinispan basedJSON Schema for configurationHibernate SearchJTA support (use in EJB, MDB, CDI, …)Cloud storageSimplier SPI…
Coming Soon: ModeShape 3.0
Version 1.1 Magnolia is a registered trademark owned by Magnolia International Ltd.
8 Version 1.1 Magnolia is a registered trademark owned by Magnolia International Ltd.
Shaping Magnolia
9
JBoss Community Team, early 2010May 2010: Magnolia developers involvedAugust 2010: proof-of-concept*January 2011: modeshape-support module released (flagged “experimental”)Obstacle: bad performance on big repos (ver.2.4, not tested since that time)
* https://community.jboss.org/wiki/HowToMakeMagnoliaCMSShapedTomcatVersion
First Steps
Version 1.1 Magnolia is a registered trademark owned by Magnolia International Ltd.
10
End of 2011Use ModeShape side-by-side with Jackrabbit to access the filesystemMotivation: move projects’ files from SourceForge to downloads.jboss.org
The Goal Redefined
Version 1.1 Magnolia is a registered trademark owned by Magnolia International Ltd.
11
Lucene version:
• Jackrabbit: Lucene 2.4.x
• ModeShape: Lucene 3.xCan’t work together (without classloading black-magic)Solution: an independent (web)app to start the MS Engine and use via JNDIIn production: June 13th, 2012
The Problem & The Solution
Version 1.1 Magnolia is a registered trademark owned by Magnolia International Ltd.
12 Version 1.1 Magnolia is a registered trademark owned by Magnolia International Ltd.
Code & Demo
13
Magnolia 5 is the priorityWaiting for the final version of the ModeShape 3.0Not a mere Jackrabbit replacement!• Accessing the legacy data
• On-the-fly metadata processing
• Cloud storage
• …
The Future Of This Relation
Version 1.1 Magnolia is a registered trademark owned by Magnolia International Ltd.
14
ModeShape: http://jboss.org/modeshape My blogpost on the implementation: http://bit.ly/T9XSUx Jan’s blogpost on modeshape-support: http://bit.ly/OgC847 My old “Shaping Magnolia” blogpost: http://bit.ly/SdyIFo The Git repo: https://git.magnolia-cms.com/gitweb/?p=modules/modeshape-support.git Twitter: @modeshape, @magnolia_cms, @jchochol
Links
Version 1.1 Magnolia is a registered trademark owned by Magnolia International Ltd.
15
Questions?
Version 1.1 Magnolia is a registered trademark owned by Magnolia International Ltd.
05.09.2012 at Magnolia Conference 2012
Jozef Chocholacek, Senior DeveloperMagnolia International Ltd.
16
www.magnolia-cms.com
Thank you!
Version 1.1 Magnolia is a registered trademark owned by Magnolia International Ltd.