Hello Experts,
I have a very basic question (programming best practice), please help.
I have three different servlets which uses same configurations like username, password and hostname etc. How can i have one OSGi configuration used by all three servlet class.
Regards,
~TD
Solved! Go to Solution.
Views
Replies
Total Likes
I hope this will help you. http://www.wemblog.com/2012/10/how-to-work-with-configurations-in-cq.html
Views
Replies
Total Likes
I hope this will help you. http://www.wemblog.com/2012/10/how-to-work-with-configurations-in-cq.html
Views
Replies
Total Likes
Create global service which is dedicated to maintaining global properties and then in your service call this global property service to get configured values for username..etc
Views
Replies
Total Likes
Views
Likes
Replies