Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Adobe Summit 2023 [19th to 23rd March, Las Vegas and Virtual] | Complete AEM Session & Lab list

Expose Sling Servlet as Rest API

Avatar

Level 2

Hi All,

 

Please can anyone confirm if we can expose the resourcetype based post servlet as a rest API to a system.

  • In case we are exposing the servlet will it create issues when there are multiple request hitting the Servlet at the same time.

Thanks

3 Replies

Avatar

Level 5

@Aditya-Singh :

What is the data you want to expose ? 

Because , we can expose or export data using the Sling models instead of Sling servlet. 

 

and if multiple requests hitting the servlet or Sling model exporter , there will be no issues.

 

Thanks 

Siva

 

Avatar

Level 2

Hi @SivakumarKanoori ,

 

We are trying to use the servlet as rest end point to post the data from third party and then create PDF with the input stream posted by third party.

 

Therfore, we want to clarify whether hitting the servlet with multiple request can bounce some of the request.

 

thanks

The ultimate experience is back.

Join us in Vegas to build skills, learn from the world's top brands, and be inspired.

Register Now