Java JDBC classes | Community
Skip to main content
Level 3
November 2, 2017
Solved

Java JDBC classes

  • November 2, 2017
  • 4 replies
  • 2141 views

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.
Best answer by manoj_devapath

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

manoj_devapath
manoj_devapathAccepted solution
Level 5
November 2, 2017

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

Level 3
November 2, 2017

Thank you Manoj!

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

Cheers,

Ryu

smacdonald2008
Level 10
November 3, 2017
smacdonald2008
Level 10
November 3, 2017

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,