Is it easy to deploy JS use API than JAVA use API ? | Community
Skip to main content
New Participant
September 5, 2017
Solved

Is it easy to deploy JS use API than JAVA use API ?

  • September 5, 2017
  • 2 replies
  • 1449 views

Recently started working on AEM components.

i looked into the difference at https://docs.adobe.com/docs/en/htl/docs/use-api.html

i also tried both java and js use api, when we use java use api, we have to deploy the jar if the java code is in core module?

so this mean JS use API is easy to deploy ? and how to choose between Java or Js API ?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by smacdonald2008

If you are a Java developers - I recommend using WCMUsePojo or Sling Models:

Creating an Adobe Experience Manager 6.3 HTL component that uses the WCMUsePojo API

2 replies

smacdonald2008
smacdonald2008Accepted solution
New Participant
September 5, 2017

If you are a Java developers - I recommend using WCMUsePojo or Sling Models:

Creating an Adobe Experience Manager 6.3 HTL component that uses the WCMUsePojo API

New Participant
September 5, 2017

As mentioned in the adobe article.

  • Use java api for faster response, to troubleshoot and automation purpose.
  • Use JS api for flexibility to change the rendering logic or to modified the front end html based on your logic.