Leiste mit Community-Erfolgen erweitern.

Mark Solution

Diese Konversation wurde aufgrund von Inaktivität geschlossen. Bitte erstellen Sie einen neuen Post.

GELÖST

Pros and Cons web actions vs sling servlet

Avatar

Level 5

hi,

 

I'm doing research for our next project, we're thinking about using adobe IO to create REST API which will fetch specific asset (byte stream or just a url to asset) from the DAM based on some logic, like tags matching...

 

What's the difference writing this as adobe IO web action and writing sling servlet (our team is java skilled, limited javascript/nodejs exposure) ?

 

Thanks

Themen

Anhand von Themen werden Community-Inhalte kategorisiert und Sie können so relevanten Inhalt besser finden.

1 Akzeptierte Lösung

Avatar

Korrekte Antwort von
Community Advisor

Hello,

That totally depends on your use case and feasibility how you want to use the APIs

1. While using the servlet you have more feasibility on the usee permission level if you have any sensitive dam assets, you have more control over the servlet as it is easy to access the JCR ApIs

2. If you want to expose the API other than AEM world IO will be acting as the common microservice architecture where all the API will be centralized by project and can be used by other teams needed

If you have more team comfortable with Java go with servlet for productivity as it may take sometime for people to adjust for Javascript and actions in IO

 

Lösung in ursprünglichem Beitrag anzeigen

2 Antworten

Avatar

Korrekte Antwort von
Community Advisor

Hello,

That totally depends on your use case and feasibility how you want to use the APIs

1. While using the servlet you have more feasibility on the usee permission level if you have any sensitive dam assets, you have more control over the servlet as it is easy to access the JCR ApIs

2. If you want to expose the API other than AEM world IO will be acting as the common microservice architecture where all the API will be centralized by project and can be used by other teams needed

If you have more team comfortable with Java go with servlet for productivity as it may take sometime for people to adjust for Javascript and actions in IO

 

Avatar

Level 5

 

Thank you