Expand my Community achievements bar.

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

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

Avatar

Level 2

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.

1 Accepted Solution

Avatar

Correct answer by
Level 10

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/

View solution in original post

2 Replies

Avatar

Correct answer by
Level 10

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/

Avatar

Level 1

Is there any article to showcase the above scenerio.

I am not able to get any article for this.

Thanks