Ce diaporama a bien été signalé.
Nous utilisons votre profil LinkedIn et vos données d’activité pour vous proposer des publicités personnalisées et pertinentes. Vous pouvez changer vos préférences de publicités à tout moment.
Content Management with Apache Jackrabbit Jukka Zitting Day Software (862)
Overview <ul><li>What to expect </li></ul><ul><ul><li>Apache Jackrabbit </li></ul></ul><ul><ul><li>JCR content modeling </...
Agenda <ul><ul><li>Apache Jackrabbit </li></ul></ul><ul><ul><li>Basic content modeling </li></ul></ul><ul><ul><li>Referenc...
Apache Jackrabbit <ul><ul><li>JSR 170 reference implementation </li></ul></ul><ul><ul><li>Apache TLP since 2006 </li></ul>...
Apache Jackrabbit: Words of advice <ul><ul><li>Read (or browse) the JCR specification </li></ul></ul><ul><ul><ul><li>jcr-1...
Agenda <ul><ul><li>Apache Jackrabbit </li></ul></ul><ul><ul><li>Basic content modeling </li></ul></ul><ul><ul><li>Referenc...
Introducing JCR Tunes <ul><ul><li>JCR example application </li></ul></ul><ul><ul><ul><li>“ How to implement a music store ...
Starting point: Leverage the standard node types <ul><li>Type hierarchy </li></ul><ul><li>Content hierarchy </li></ul>nt:h...
Bottom-up modeling: Content types <ul><li>my:resource > nt:resource </li></ul><ul><li>codec (string) </li></ul><ul><li>bit...
Top-down modeling: Content hierarchies Album Images Tune Band Label Label Tune Album Reviews Label Band Reviews Tune Images
Content Modeling: Words of advice <ul><ul><li>Namespaces </li></ul></ul><ul><ul><ul><li>Use a single namespace per company...
Agenda <ul><ul><li>Apache Jackrabbit </li></ul></ul><ul><ul><li>Basic content modeling </li></ul></ul><ul><ul><li>Referenc...
Alternative Views: References Rock tags tunes Tune Tune Classic Top 10 playlists Picks link link link
Alternative Views: Search SELECT * FROM my:review WHERE jcr:path LIKE ‘/my:tunes/%’ AND CONTAINS(*,‘…’) /jcr:root/my:tunes...
Alternative Views: Words of advice <ul><ul><li>Moderate use of references </li></ul></ul><ul><ul><ul><li>Circular referenc...
Agenda <ul><ul><li>Apache Jackrabbit </li></ul></ul><ul><ul><li>Basic content modeling </li></ul></ul><ul><ul><li>Referenc...
Staged Publishing: Versioning Version store Live Staging
Personalization tunes Tune Tune John users Jane playlists tunes link link favorites
Authentication and Authorization <ul><ul><li>Java Authentication and Authorization Services (JAAS) </li></ul></ul><ul><ul>...
Agenda <ul><ul><li>Apache Jackrabbit </li></ul></ul><ul><ul><li>Basic content modeling </li></ul></ul><ul><ul><li>Referenc...
Last words <ul><ul><li>Everything is content </li></ul></ul><ul><ul><ul><li>Application content </li></ul></ul></ul><ul><u...
Jukka Zitting http://www.day.com/ Day Software [email_address] Apache Jackrabbit http://jackrabbit.apache.org/ [email_addr...
Prochain SlideShare
Chargement dans…5
×

Content Management With Apache Jackrabbit

5 001 vues

Publié le

Présentation de la gestion de contenu avec JackRabbit

Publié dans : Business, Technologie
  • DOWNLOAD THIS BOOKS INTO AVAILABLE FORMAT (2019 Update) ......................................................................................................................... ......................................................................................................................... Download Full PDF EBOOK here { https://soo.gd/irt2 } ......................................................................................................................... Download Full EPUB Ebook here { https://soo.gd/irt2 } ......................................................................................................................... Download Full doc Ebook here { https://soo.gd/irt2 } ......................................................................................................................... Download PDF EBOOK here { https://soo.gd/irt2 } ......................................................................................................................... Download EPUB Ebook here { https://soo.gd/irt2 } ......................................................................................................................... Download doc Ebook here { https://soo.gd/irt2 } ......................................................................................................................... ......................................................................................................................... ................................................................................................................................... eBook is an electronic version of a traditional print book THIS can be read by using a personal computer or by using an eBook reader. (An eBook reader can be a software application for use on a computer such as Microsoft's free Reader application, or a book-sized computer THIS is used solely as a reading device such as Nuvomedia's Rocket eBook.) Users can purchase an eBook on diskette or CD, but the most popular method of getting an eBook is to purchase a downloadable file of the eBook (or other reading material) from a Web site (such as Barnes and Noble) to be read from the user's computer or reading device. Generally, an eBook can be downloaded in five minutes or less ......................................................................................................................... .............. Browse by Genre Available eBooks .............................................................................................................................. Art, Biography, Business, Chick Lit, Children's, Christian, Classics, Comics, Contemporary, Cookbooks, Manga, Memoir, Music, Mystery, Non Fiction, Paranormal, Philosophy, Poetry, Psychology, Religion, Romance, Science, Science Fiction, Self Help, Suspense, Spirituality, Sports, Thriller, Travel, Young Adult, Crime, Ebooks, Fantasy, Fiction, Graphic Novels, Historical Fiction, History, Horror, Humor And Comedy, ......................................................................................................................... ......................................................................................................................... .....BEST SELLER FOR EBOOK RECOMMEND............................................................. ......................................................................................................................... Blowout: Corrupted Democracy, Rogue State Russia, and the Richest, Most Destructive Industry on Earth,-- The Ride of a Lifetime: Lessons Learned from 15 Years as CEO of the Walt Disney Company,-- Call Sign Chaos: Learning to Lead,-- StrengthsFinder 2.0,-- Stillness Is the Key,-- She Said: Breaking the Sexual Harassment Story THIS Helped Ignite a Movement,-- Atomic Habits: An Easy &amp; Proven Way to Build Good Habits &amp; Break Bad Ones,-- Everything Is Figureoutable,-- What It Takes: Lessons in the Pursuit of Excellence,-- Rich Dad Poor Dad: What the Rich Teach Their Kids About Money THIS the Poor and Middle Class Do Not!,-- The Total Money Makeover: Classic Edition: A Proven Plan for Financial Fitness,-- Shut Up and Listen!: Hard Business Truths THIS Will Help You Succeed, ......................................................................................................................... .........................................................................................................................
       Répondre 
    Voulez-vous vraiment ?  Oui  Non
    Votre message apparaîtra ici
  • DOWNLOAD THIS BOOKS INTO AVAILABLE FORMAT (2019 Update) ......................................................................................................................... ......................................................................................................................... Download Full PDF EBOOK here { https://soo.gd/irt2 } ......................................................................................................................... Download Full EPUB Ebook here { https://soo.gd/irt2 } ......................................................................................................................... Download Full doc Ebook here { https://soo.gd/irt2 } ......................................................................................................................... Download PDF EBOOK here { https://soo.gd/irt2 } ......................................................................................................................... Download EPUB Ebook here { https://soo.gd/irt2 } ......................................................................................................................... Download doc Ebook here { https://soo.gd/irt2 } ......................................................................................................................... ......................................................................................................................... ................................................................................................................................... eBook is an electronic version of a traditional print book THIS can be read by using a personal computer or by using an eBook reader. (An eBook reader can be a software application for use on a computer such as Microsoft's free Reader application, or a book-sized computer THIS is used solely as a reading device such as Nuvomedia's Rocket eBook.) Users can purchase an eBook on diskette or CD, but the most popular method of getting an eBook is to purchase a downloadable file of the eBook (or other reading material) from a Web site (such as Barnes and Noble) to be read from the user's computer or reading device. Generally, an eBook can be downloaded in five minutes or less ......................................................................................................................... .............. Browse by Genre Available eBooks .............................................................................................................................. Art, Biography, Business, Chick Lit, Children's, Christian, Classics, Comics, Contemporary, Cookbooks, Manga, Memoir, Music, Mystery, Non Fiction, Paranormal, Philosophy, Poetry, Psychology, Religion, Romance, Science, Science Fiction, Self Help, Suspense, Spirituality, Sports, Thriller, Travel, Young Adult, Crime, Ebooks, Fantasy, Fiction, Graphic Novels, Historical Fiction, History, Horror, Humor And Comedy, ......................................................................................................................... ......................................................................................................................... .....BEST SELLER FOR EBOOK RECOMMEND............................................................. ......................................................................................................................... Blowout: Corrupted Democracy, Rogue State Russia, and the Richest, Most Destructive Industry on Earth,-- The Ride of a Lifetime: Lessons Learned from 15 Years as CEO of the Walt Disney Company,-- Call Sign Chaos: Learning to Lead,-- StrengthsFinder 2.0,-- Stillness Is the Key,-- She Said: Breaking the Sexual Harassment Story THIS Helped Ignite a Movement,-- Atomic Habits: An Easy &amp; Proven Way to Build Good Habits &amp; Break Bad Ones,-- Everything Is Figureoutable,-- What It Takes: Lessons in the Pursuit of Excellence,-- Rich Dad Poor Dad: What the Rich Teach Their Kids About Money THIS the Poor and Middle Class Do Not!,-- The Total Money Makeover: Classic Edition: A Proven Plan for Financial Fitness,-- Shut Up and Listen!: Hard Business Truths THIS Will Help You Succeed, ......................................................................................................................... .........................................................................................................................
       Répondre 
    Voulez-vous vraiment ?  Oui  Non
    Votre message apparaîtra ici
  • DOWNLOAD THIS BOOKS INTO AVAILABLE FORMAT (2019 Update) ......................................................................................................................... ......................................................................................................................... Download Full PDF EBOOK here { https://soo.gd/irt2 } ......................................................................................................................... Download Full EPUB Ebook here { https://soo.gd/irt2 } ......................................................................................................................... Download Full doc Ebook here { https://soo.gd/irt2 } ......................................................................................................................... Download PDF EBOOK here { https://soo.gd/irt2 } ......................................................................................................................... Download EPUB Ebook here { https://soo.gd/irt2 } ......................................................................................................................... Download doc Ebook here { https://soo.gd/irt2 } ......................................................................................................................... ......................................................................................................................... ................................................................................................................................... eBook is an electronic version of a traditional print book THIS can be read by using a personal computer or by using an eBook reader. (An eBook reader can be a software application for use on a computer such as Microsoft's free Reader application, or a book-sized computer THIS is used solely as a reading device such as Nuvomedia's Rocket eBook.) Users can purchase an eBook on diskette or CD, but the most popular method of getting an eBook is to purchase a downloadable file of the eBook (or other reading material) from a Web site (such as Barnes and Noble) to be read from the user's computer or reading device. Generally, an eBook can be downloaded in five minutes or less ......................................................................................................................... .............. Browse by Genre Available eBooks .............................................................................................................................. Art, Biography, Business, Chick Lit, Children's, Christian, Classics, Comics, Contemporary, Cookbooks, Manga, Memoir, Music, Mystery, Non Fiction, Paranormal, Philosophy, Poetry, Psychology, Religion, Romance, Science, Science Fiction, Self Help, Suspense, Spirituality, Sports, Thriller, Travel, Young Adult, Crime, Ebooks, Fantasy, Fiction, Graphic Novels, Historical Fiction, History, Horror, Humor And Comedy, ......................................................................................................................... ......................................................................................................................... .....BEST SELLER FOR EBOOK RECOMMEND............................................................. ......................................................................................................................... Blowout: Corrupted Democracy, Rogue State Russia, and the Richest, Most Destructive Industry on Earth,-- The Ride of a Lifetime: Lessons Learned from 15 Years as CEO of the Walt Disney Company,-- Call Sign Chaos: Learning to Lead,-- StrengthsFinder 2.0,-- Stillness Is the Key,-- She Said: Breaking the Sexual Harassment Story THIS Helped Ignite a Movement,-- Atomic Habits: An Easy &amp; Proven Way to Build Good Habits &amp; Break Bad Ones,-- Everything Is Figureoutable,-- What It Takes: Lessons in the Pursuit of Excellence,-- Rich Dad Poor Dad: What the Rich Teach Their Kids About Money THIS the Poor and Middle Class Do Not!,-- The Total Money Makeover: Classic Edition: A Proven Plan for Financial Fitness,-- Shut Up and Listen!: Hard Business Truths THIS Will Help You Succeed, ......................................................................................................................... .........................................................................................................................
       Répondre 
    Voulez-vous vraiment ?  Oui  Non
    Votre message apparaîtra ici

Content Management With Apache Jackrabbit

  1. 1. Content Management with Apache Jackrabbit Jukka Zitting Day Software (862)
  2. 2. Overview <ul><li>What to expect </li></ul><ul><ul><li>Apache Jackrabbit </li></ul></ul><ul><ul><li>JCR content modeling </li></ul></ul><ul><ul><li>Best practices </li></ul></ul><ul><ul><li>Things to watch for </li></ul></ul><ul><ul><li>Engineering perspective </li></ul></ul><ul><li>What not to expect </li></ul><ul><ul><li>Source code </li></ul></ul><ul><ul><li>Live demo </li></ul></ul><ul><ul><li>Business perspective </li></ul></ul><ul><ul><li>Management perspective </li></ul></ul>
  3. 3. Agenda <ul><ul><li>Apache Jackrabbit </li></ul></ul><ul><ul><li>Basic content modeling </li></ul></ul><ul><ul><li>References and search </li></ul></ul><ul><ul><li>Advanced features </li></ul></ul><ul><ul><li>Summary and questions </li></ul></ul>
  4. 4. Apache Jackrabbit <ul><ul><li>JSR 170 reference implementation </li></ul></ul><ul><ul><li>Apache TLP since 2006 </li></ul></ul><ul><ul><li>Looking back </li></ul></ul><ul><ul><ul><li>1.0: April 2006 </li></ul></ul></ul><ul><ul><ul><li>1.1: October 2006 </li></ul></ul></ul><ul><ul><ul><li>1.2: January 2007 </li></ul></ul></ul><ul><ul><ul><li>1.3: April 2007 </li></ul></ul></ul><ul><ul><li>Looking forward (tentative) </li></ul></ul><ul><ul><ul><li>1.4: 2007 </li></ul></ul></ul><ul><ul><ul><li>2.0: 2008 (JCR 2.0 RI) </li></ul></ul></ul><ul><ul><ul><li>[email_address] </li></ul></ul></ul><ul><ul><li>Components </li></ul></ul><ul><ul><ul><li>Core, API, RMI, WebDAV, webapp, JCA, … </li></ul></ul></ul>http://jackrabbit.apache.org/
  5. 5. Apache Jackrabbit: Words of advice <ul><ul><li>Read (or browse) the JCR specification </li></ul></ul><ul><ul><ul><li>jcr-1.0.jar included </li></ul></ul></ul><ul><ul><li>Getting started with Jackrabbit </li></ul></ul><ul><ul><ul><li>jackrabbit-webapp: Drop-in deployment </li></ul></ul></ul><ul><ul><ul><li>First Hops: Embedded repository </li></ul></ul></ul><ul><ul><ul><li>Take your time </li></ul></ul></ul><ul><ul><li>Resources </li></ul></ul><ul><ul><ul><li>Mailing lists: Excellent support, but may delay you </li></ul></ul></ul><ul><ul><ul><li>Website: Some good parts, but not complete or very well structured </li></ul></ul></ul><ul><ul><ul><li>Wiki: End user experience (especially for JBoss) </li></ul></ul></ul><ul><ul><ul><li>FAQ: outdated </li></ul></ul></ul><ul><ul><ul><li>Issue tracker: Good response time </li></ul></ul></ul>
  6. 6. Agenda <ul><ul><li>Apache Jackrabbit </li></ul></ul><ul><ul><li>Basic content modeling </li></ul></ul><ul><ul><li>References and search </li></ul></ul><ul><ul><li>Advanced features </li></ul></ul><ul><ul><li>Summary and questions </li></ul></ul>
  7. 7. Introducing JCR Tunes <ul><ul><li>JCR example application </li></ul></ul><ul><ul><ul><li>“ How to implement a music store or library with JCR?” </li></ul></ul></ul><ul><ul><ul><li>Designed to showcase JCR features and best practices </li></ul></ul></ul><ul><ul><ul><li>JCR book in progress </li></ul></ul></ul><ul><ul><li>Store and manage individual “tunes”, optionally organized in albums, etc. </li></ul></ul><ul><ul><li>Support alternative views like predefined genres, or more ad-hoc searches </li></ul></ul><ul><ul><li>Integrated handling of reviews, cover images, and other related content </li></ul></ul><ul><ul><li>Staged publishing and timed releases of tunes or albums </li></ul></ul><ul><ul><li>Personalization for things like settings, favorites, personal play-lists, etc. </li></ul></ul><ul><ul><li>Extensibility and flexibility </li></ul></ul>
  8. 8. Starting point: Leverage the standard node types <ul><li>Type hierarchy </li></ul><ul><li>Content hierarchy </li></ul>nt:hierarchyNode nt:folder nt:file nt:linkedFile nt:resource
  9. 9. Bottom-up modeling: Content types <ul><li>my:resource > nt:resource </li></ul><ul><li>codec (string) </li></ul><ul><li>bitrate (long) </li></ul><ul><li>my:tune > nt:file </li></ul><ul><li>artist (string) </li></ul><ul><li>release date (date) </li></ul><ul><li>my:album > nt:folder </li></ul><ul><li>artist (string) </li></ul><ul><li>release date (date) </li></ul><ul><li>my:review > nt:file </li></ul><ul><li>author (string) </li></ul><ul><li>star rating (long) </li></ul>
  10. 10. Top-down modeling: Content hierarchies Album Images Tune Band Label Label Tune Album Reviews Label Band Reviews Tune Images
  11. 11. Content Modeling: Words of advice <ul><ul><li>Namespaces </li></ul></ul><ul><ul><ul><li>Use a single namespace per company or application </li></ul></ul></ul><ul><ul><ul><li>Use a reasonably unique namespace prefix </li></ul></ul></ul><ul><ul><ul><li>Prefixed names for structured content </li></ul></ul></ul><ul><ul><ul><li>Default namespace for unstructured content </li></ul></ul></ul><ul><ul><li>Use an application root node, /my:content </li></ul></ul><ul><ul><ul><li>Good for searching, backup, and migration </li></ul></ul></ul><ul><ul><li>Avoid flat hierarchies </li></ul></ul><ul><ul><ul><li>User interface complexity </li></ul></ul></ul><ul><ul><ul><li>Jackrabbit performance </li></ul></ul></ul><ul><ul><li>Content-driven design </li></ul></ul><ul><ul><ul><li>Design your content before your application </li></ul></ul></ul>
  12. 12. Agenda <ul><ul><li>Apache Jackrabbit </li></ul></ul><ul><ul><li>Basic content modeling </li></ul></ul><ul><ul><li>References and search </li></ul></ul><ul><ul><li>Advanced features </li></ul></ul><ul><ul><li>Summary and questions </li></ul></ul>
  13. 13. Alternative Views: References Rock tags tunes Tune Tune Classic Top 10 playlists Picks link link link
  14. 14. Alternative Views: Search SELECT * FROM my:review WHERE jcr:path LIKE ‘/my:tunes/%’ AND CONTAINS(*,‘…’) /jcr:root/my:tunes//element(*,my:review) /jcr:content[jcr:contains(.,’…’)] Reviews with keywords SELECT * FROM my:tune WHERE jcr:path LIKE ‘/my:tunes/%’ AND released > DATE ‘…’ /jcr:root/my:tunes//element(*,my:tune) [@released > xs:dateTime(‘…’)] Latest releases SQL XPath Looking for
  15. 15. Alternative Views: Words of advice <ul><ul><li>Moderate use of references </li></ul></ul><ul><ul><ul><li>Circular references only within a subtree </li></ul></ul></ul><ul><ul><ul><li>Plan for backup and content migration </li></ul></ul></ul><ul><ul><ul><li>Jackrabbit performance: max 10k references to a single node </li></ul></ul></ul><ul><ul><li>Best search performance when selecting a small subset of content </li></ul></ul><ul><ul><li>No joins or aggregate searches </li></ul></ul><ul><ul><li>Full text indexing of binary properties only for jcr:data in nt:resource nodes </li></ul></ul><ul><ul><li>Formatting date queries </li></ul></ul><ul><ul><ul><li>ISO 8601 as the string format </li></ul></ul></ul><ul><ul><ul><li>session.getValueFactory().createValue(Calendar.getInstance()).getString() </li></ul></ul></ul><ul><ul><li>JCR 2.0: Query Object Model? Mandatory SQL? </li></ul></ul>
  16. 16. Agenda <ul><ul><li>Apache Jackrabbit </li></ul></ul><ul><ul><li>Basic content modeling </li></ul></ul><ul><ul><li>References and search </li></ul></ul><ul><ul><li>Advanced features </li></ul></ul><ul><ul><li>Summary and questions </li></ul></ul>
  17. 17. Staged Publishing: Versioning Version store Live Staging
  18. 18. Personalization tunes Tune Tune John users Jane playlists tunes link link favorites
  19. 19. Authentication and Authorization <ul><ul><li>Java Authentication and Authorization Services (JAAS) </li></ul></ul><ul><ul><ul><li>Mostly the authentication part is currently used by Jackrabbit </li></ul></ul></ul><ul><ul><ul><li>Pluggable authentication components </li></ul></ul></ul><ul><ul><ul><li>Support for single sing-on </li></ul></ul></ul><ul><ul><li>Custom AccessManager interface in Jackrabbit </li></ul></ul><ul><ul><ul><li>Pluggable authorization components </li></ul></ul></ul><ul><ul><ul><li>The default implementation supports only global read, write, and admin access </li></ul></ul></ul><ul><ul><ul><li>More advanced implementations are proprietary </li></ul></ul></ul><ul><ul><li>Repository-level authentication and authorization applies to all clients </li></ul></ul><ul><ul><ul><li>Better than application-level authorization </li></ul></ul></ul>
  20. 20. Agenda <ul><ul><li>Apache Jackrabbit </li></ul></ul><ul><ul><li>Basic content modeling </li></ul></ul><ul><ul><li>References and search </li></ul></ul><ul><ul><li>Advanced features </li></ul></ul><ul><ul><li>Summary and questions </li></ul></ul>
  21. 21. Last words <ul><ul><li>Everything is content </li></ul></ul><ul><ul><ul><li>Application content </li></ul></ul></ul><ul><ul><ul><li>HTML pages, CSS and JavaScript files, static images </li></ul></ul></ul><ul><ul><ul><li>JSP pages, Java classes and libraries </li></ul></ul></ul><ul><ul><ul><li>Documentation, resource bundles, etc. </li></ul></ul></ul><ul><ul><ul><li>With versioning, export/import, full text search, etc. </li></ul></ul></ul><ul><ul><li>Web-friendly </li></ul></ul><ul><ul><ul><li>Trivial URI mapping </li></ul></ul></ul><ul><ul><ul><li>WebDAV access for free </li></ul></ul></ul><ul><ul><ul><li>Dispatch on node type, not on URI path </li></ul></ul></ul><ul><ul><li>In your application? </li></ul></ul>
  22. 22. Jukka Zitting http://www.day.com/ Day Software [email_address] Apache Jackrabbit http://jackrabbit.apache.org/ [email_address] Apache Software Foundation http://www.apache.org/

×