@jayv25585659 To follow best practice, create a service that holds the business logic and inject that service both into the servlet and your OSGi component.
If it is really required, than use below HTTP call to servlet:URL url = new URL("http://localhost:4502/bin/myservlet");HttpURLConnection conn...
@SDusane Use no-cache header<LocationMatch "^/content/graphql/.*"> Header always set Cache-Control "no-store, no-cache, must-revalidate, private" Header always set Pragma "no-cache" Header always set Expires "0"</LocationMatch>
/content/graphql --> It should be GraphQL p...
@Amreen1 Below are the ways we can achieve same:
1. Use OSGI configurations to read value for same configuration / variable on different places2. write variable value under /var/<project_name>/xyz node and access same in your different application.
3. Expose it to 3rd party system and perform read ...
@SateeshRe Please find some relevant reference articles, that might would help you :- Link: https://helpx.adobe.com/experience-manager/using/dynamic-steps.html Link: http://scottsdigitalcommunity.blogspot.it/2012/09/developing-cq-custom-workflow-steps.html Link: http://scottsdigitalcommunity.blogspo...
@sindhusr Please check if you are seeing any error while deploying code. If not, I would suggest here to raise an Adobe ticket as it is a common and we are easily replicate this issue.
@sindhusr It may be you local AEM instance issue. Do you see this error on DEV/QA environments or developers machine also ? Can you once try creating new instance and verify once may not be having this issue