AEM4BEGINNER blog is for Beginners who are interested in learning Adobe Experience Manager (AEM) aka Adobe CQ5 from basics. The Information provided in this blog is for learning and testing purposes only. Here, I have posted the information which I know or gathered from different sources.
Querying MySQL data using an Adobe Experience Manager 6.4 DataSourcePool
You can create an Adobe Experience Manager 6.4 application that queries data located in a relational database and displays the data within a web page. In this article, you use a com.day.commons.datasource.poolservice.DataSourcePool instance to set up a connection to a MySQL database. Then you can use Java JDBC API to perform database operations, such as executing a query. For information, see Java JDBC API.
The following illustration shows the Experience Manager component developed in this article that displays data queried from MySQL. The following video shows data located in the employee table being displayed in an Experience Manager component.
No comments:
Post a Comment
If you have any doubts or questions, please let us know.