I want to know how to connect to MySQL from AEM. Whats the best way.
Solved! Go to Solution.
Views
Replies
Total Likes
You can use dependency injection and inject a DataSourcePool into an AEM Service. Once you successfully inject a DataSourcePool into an AEM service, you can use SQL commands to interact with MySQL. For information on how to work with DataSourcePools in AEM, see this community article:
Injecting a DataSourcePool Service into an Adobe Experience Manager OSGi bundle
Views
Replies
Total Likes
You can use dependency injection and inject a DataSourcePool into an AEM Service. Once you successfully inject a DataSourcePool into an AEM service, you can use SQL commands to interact with MySQL. For information on how to work with DataSourcePools in AEM, see this community article:
Injecting a DataSourcePool Service into an Adobe Experience Manager OSGi bundle
Views
Replies
Total Likes