Java JDBC classes | Community
Skip to main content
Level 3
Nov 2, 2017 11:07 PM UTC
Solved

Java JDBC classes

Hello Community!

I am working on a tutorial (Adobe Experience Manager Help | Persisting Adobe Experience Manager data in a relational database ) and have a question.

At following section, seemed like I need add some application logic to the CQJDBCProject.
I still new to the AEM and I just want to know how to make a form and store/retrieve the data to/from MySQL.
So, I don't mind using default class. As the note mentioned, there is a default class but when I open the page, it jumped to unsupported versions of AEM.

I know I'm using AEM 6.3 and this is tutorial for 5.5 / 5.6.

Does anybody know newer version of this tutorial or have the jar file I need to carry on this tutorial?

Thanks!

Ryu

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
manoj_devapath
manoj_devapathAccepted solution
Level 5
Nov 2, 2017 11:42 PM UTC

Hi

here is latest Adobe Article. I tried this for 6.1 and it worked.

Article explains clearly about datasourcepool and also how to use jdbc jar file

Adobe Experience Manager Help | Injecting a DataSourcePool Service into an Adobe Experience Manager OSGi bundle

for more ref check this out : Adobe CQ/Adobe AEM: How to Integrate 3rd party Jar file in CQ / WEM

~Manoj

4 replies

smacdonald2008
Level 10
Nov 3, 2017 12:44 AM UTC

This article builds an HTL component that posts data to a Sling Servlet where a DataSourcePool is used to update a MySQL database, You still need to wrap the Database driver file into an OSGi bundle and deploy to AEM. Otherwise it will not work,

Translate
smacdonald2008
Level 10
Nov 3, 2017 12:43 AM UTC
Level 3
Nov 2, 2017 11:44 PM UTC

Thank you Manoj!

Let me try the tutorial and I will follow up this topic!

Cheers,

Ryu

Translate
manoj_devapath
manoj_devapathAccepted solution
Level 5
Nov 2, 2017 11:42 PM UTC

Hi

here is latest Adobe Article. I tried this for 6.1 and it worked.

Article explains clearly about datasourcepool and also how to use jdbc jar file

Adobe Experience Manager Help | Injecting a DataSourcePool Service into an Adobe Experience Manager OSGi bundle

for more ref check this out : Adobe CQ/Adobe AEM: How to Integrate 3rd party Jar file in CQ / WEM

~Manoj

Translate