Tagged with Apache

Using XMLBeans in Adobe CQ

Apache XMLBeans is a powerful tool for reading, writing and updating XML files.  XMLBeans dynamically creates Java classes based on an XSD Schema.  This makes it powerful and easy to use, however can make it more complicated to integrate into OSGi based applications, such as Adobe CQ, as the XML Element to Java Class mapping uses the Java Classloader.
This guide shows you how to integrate XMLBeans in your Adobe CQ application.

Step 1: Install XMLBeans Bundle
Download and install org.apache.servicemix.bundles.xmlbeans-2.4.0_5.jar.  This JAR was created by the Apache ServiceMix project to wrap XMLBeans in a OSGi Bundle.  The easiest way to automatically deploy the jar into Adobe CQ is to include it in the install folder of your application.  You can also use the Felix console to deploy …

Programmatically Accessing Adobe CQ Content using the JCR API

You can programmatically modify nodes and properties located within the Adobe CQ 5.5 repository, which is part of the Adobe Digital Marketing Suite. To access the CQ repository, you use the Java Content Repository (JCR) API. You can use the Java JCR AP…


Copyright © 2012 Adobe Systems Incorporated. All rights reserved.
Terms of Use | Privacy Policy and Cookies (Updated)