Expand my Community achievements bar.

Guidelines for the Responsible Use of Generative AI in the Experience Cloud Community.
SOLVED

How to add your own application as OSGI in CQ5.6

Avatar

Level 2

Hi Friends,

Recently I was following along an article of a simple project to save customer data to mysql and created a bunch of files and then eventually OSGI them to CQ. Reference is http://helpx.adobe.com/adobe-cq/using/querying-persisting-cq-data-mysql.html

My follow up question is that lets say I want to move in a small project that uses Spring and bunch of other 3rd party JARs into CQ as an OSGI functionality. Lets say a clients wants to get some data via JCR and some via their legacy DB. Then how can I get all those jars and my standalone app that uses spring etc into CQ?

Thanks,

Nitin

1 Accepted Solution

Avatar

Correct answer by
Level 10
5 Replies

Avatar

Correct answer by
Level 10

Here is a community article that talks about this use case:

http://www.citytechinc.com/us/en/blog/2010/09/merging_day_cq5_spr0.html

Avatar

Level 5

Can you be more specific about requirement ?

1) You can get examples for using Legacy DB (My SQL, Oracle) with CQ.

2) You can get examples of converting 3rd party jar to Osgi and deploying it in CQ.

 As Scott mentioned more detail about using Spring with CQ can be found here http://blogs.adobe.com/cqpost/tag/spring-mvc/

Yogesh 

Avatar

Level 10
On my blog I have spring articles and quite familiar with spring. However I have not tried combining spring and CQ. I think there may be people that have. I will look Into this.

Avatar

Level 2

Thanks Scott. That would be great if you can help/guide with that

Thanks,

nitin

Avatar

Level 10

The link that Yogesh referenced is a blog at Adobe that referenced my Spring article at Scotts Digital Community. I am looking within Adobe to see if an Eng member has got Spring working within CQ. The above link is a good place to start to learn about Spring and Maven however.