Friday, 8 November 2013

Developing a Java Swing Application that displays Adobe Experience Manager Data

When working with Adobe Experience Manager (AEM), sometimes you need to query data that is located in the AEM JCR and view results. Typically you write an AEM component to display the results within a web application. However, sometimes you want to be able to view the data without writing an AEM component or viewing the data from within an AEM web application. Even our team at Adobe has these requirements. That is, we want to be able to quickly get at data without having to write an AEM web application. For example, consider AEM community members which of course is data stored in the AEM JCR. We want the ability to quickly view community members, scores, and even activity based on date values.

In this situation, a Java Swing application is a good choice to use to build a custom tool that enables you to quickly get at the JCR data and view the result set. You can display the result set in a Swing data type that extends javax.swing.JTable, as shown in this illustration.

A Java Swing application that displays data retrieved from the AEM JCR

For information about javax.swing.JTable, see

AEM 5.5-6.1

This development article walks you through how to build a Java Swing application that queries the AEM JCR and displays the result set. To read this development article, click

AEM 6.3

To read this development article for AEM 6.3 (which uses JCR SQL2 API), click

Join the Adobe Experience Cloud Community 

Join the Adobe Experience Cloud Community by clicking this banner

I (Scott Macdonald) am a Senior Digital Marketing Community Manager at Adobe Systems with 20 years in the high tech industry. I am also a programmer with knowledge in Java, JavaScript, C#,C++, HTML, XML and ActionScript. If  you would like to see more CQ or other Adobe Digital Marketing end to end articles like this, then leave a comment and let me know what content you would like to see.

TwitterFollow the Digital Marketing Customer Care team on Twitter @AdobeExpCare.

YouTube: Subscribe to the AEM Community Channel



  1. I'll appreciate if you can please show some retrial of data such as author content activity in the form of swing app. Will wait until 28th

  2. I will try and bump this up sooner. You can develop some really good apps using Java Swing and the JCR API.

  3. Thank you for this document. It was helpful.

  4. Does IntelliJ required any special setup for CQ for this particular use case? Or it's usual java application with jar's on class path. In this case, can we use Eclipse?

  5. NO -- you can write this app in Eclipse -- just include the required JAR files.

  6. I have read your blog its very attractive and impressive. I like it your blog.

    Java Training in Chennai Core Java Training in Chennai Core Java Training in Chennai

    Java Online Training Java Online Training Core Java 8 Training in Chennai Core java 8 online training JavaEE Training in Chennai Java EE Training in Chennai

  7. nice blog. thanks for sharing valuable information. It’s really good.Any one looking software courses nareshit is the best offline and online software training institute in Hyderabad and Chennai.


  8. Thanks for sharing this blog. This very important and informative blog
    Learned a lot of new things from your post! Good creation and HATS OFF to the creativity of your mind.
    Very interesting and useful blog!
    best ERP-SAP training in gurgaon


  9. It is very good blog and useful for students and developer ,Thanks for sharing
    Core Java Online Training
    Java Online Course
    Java Online Training Hyderabad

  10. this blog providing good information To learn

    HTML PHP NodeJS Hadoop Training in Tarnaka Hyderabad


  11. this blog providing good information To learn

    HTML PHP NodeJS Hadoop Training in Tarnaka Hyderabad