Need better approach and steps to store data into mongodb from AEM instance. | Community
Skip to main content
Samb
Level 2
Oct 16, 2015 2:27 AM UTC
Solved

Need better approach and steps to store data into mongodb from AEM instance.

Hi,

Can you please suggest a better approach/steps to store the data ( like user form data, etc) from AEM instance into mongodb

for example, I can use the Servlet/rest web service to store the data from AEM to MySQL/Oracle DB ( using the JDBC Connection pool). Similarly what are options available to store/retrieve the data from mongodb

Thanks

Samb.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
smacdonald2008
smacdonald2008Accepted solution
Level 10
Oct 16, 2015 2:27 AM UTC

You need to write a custom osgi service to use java apis and mongo. See this to get you started:

http://docs.mongodb.org/ecosystem/tutorial/getting-started-with-java-driver/

2 replies

New Participant
Feb 15, 2018 7:29 AM UTC

Is there any article to showcase the above scenerio.

I am not able to get any article for this.

Thanks

Translate
smacdonald2008
smacdonald2008Accepted solution
Level 10
Oct 16, 2015 2:27 AM UTC

You need to write a custom osgi service to use java apis and mongo. See this to get you started:

http://docs.mongodb.org/ecosystem/tutorial/getting-started-with-java-driver/

Translate