How to add your own application as OSGI in CQ5.6 | Community
Skip to main content
nitin_eusebius
Level 2
October 16, 2015
Solved

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

  • October 16, 2015
  • 5 replies
  • 1287 views

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

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 smacdonald2008

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

5 replies

smacdonald2008
smacdonald2008Accepted solution
Level 10
October 16, 2015

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

Yogesh_Upadhyay
Level 6
October 16, 2015

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 

smacdonald2008
Level 10
October 16, 2015
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.
nitin_eusebius
Level 2
October 16, 2015

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

Thanks,

nitin

smacdonald2008
Level 10
October 16, 2015

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.