This development article extends an AEM application that is built by following another AEM development article that queries data from MySQL using a DataSourcePool. Before following this article, create the DataSourcePool application by following this article: Injecting a DataSourcePool Service into an Adobe Experience Manager OSGi bundle.
In this article, an option is added to the web application that lets a user specify if the queried data is written to a custom report. Consider the following AEM web application.
This development article walks you through how to build this custom reporting service. To read this development article, click http://helpx.adobe.com/experience-manager/using/aem-reporting-service.html.
Note: Adobe Experience Manager supports reports without creating a custom reporting service. You can create a report by configuring JCR nodes and properties. For information, see Developing Reports.