내 커뮤니티 업적 표시줄을 확대합니다.

Submissions are now open for the 2026 Adobe Experience Maker Awards.

Mark Solution

활동이 없어 이 대화는 잠겼습니다. 새 게시물을 작성해 주세요.

해결됨

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

Avatar

Level 2

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 ?

1 채택된 해결책 개

Avatar

정확한 답변 작성자:
Level 10

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 답변 개

Avatar

Level 2

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.

Avatar

정확한 답변 작성자:
Level 10

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