ModeShape and Magnolia

16
05.09.2012 at Magnolia Conference 2012 Jozef Chocholacek, Senior Developer Magnolia & ModeShape 1 Beyond the reference implementation jboss.org use case Version 1.1 Magnolia is a registered trademark owned by Magnolia International Ltd.

description

Slides from the Magnolia Conference 2012 session on the ModeShape and Magnolia CMS. Based on my work for the JBoss Community team (which cares for the jboss.org services).

Transcript of ModeShape and Magnolia

Page 1: 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.

Page 2: ModeShape and Magnolia

2 Version 1.1 Magnolia is a registered trademark owned by Magnolia International Ltd.

Concerning Hobbits ModeShape

An IntroductionThe Future

Page 3: ModeShape and Magnolia

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.”

Page 4: ModeShape and Magnolia

4

Database (JPA)DiskFilesystemJCRSubversionInfinispan / JBoss CacheJDBC metadataFederation

Connectors

Version 1.1 Magnolia is a registered trademark owned by Magnolia International Ltd.

Page 5: ModeShape and Magnolia

5

XML, XSD, WSDLZIP filesMS Office documentsJava source/class filesMP3DDLTextTeiid

Sequencers

Version 1.1 Magnolia is a registered trademark owned by Magnolia International Ltd.

Page 6: ModeShape and Magnolia

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.

Page 7: ModeShape and Magnolia

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.

Page 8: ModeShape and Magnolia

8 Version 1.1 Magnolia is a registered trademark owned by Magnolia International Ltd.

Shaping Magnolia

Page 9: ModeShape and 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.

Page 10: ModeShape and Magnolia

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.

Page 11: ModeShape and Magnolia

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.

Page 12: ModeShape and Magnolia

12 Version 1.1 Magnolia is a registered trademark owned by Magnolia International Ltd.

Code & Demo

Page 13: ModeShape and Magnolia

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.

Page 14: ModeShape and Magnolia

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.

Page 15: ModeShape and Magnolia

15

Questions?

Version 1.1 Magnolia is a registered trademark owned by Magnolia International Ltd.

Page 16: ModeShape and Magnolia

05.09.2012 at Magnolia Conference 2012

[email protected]

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.