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

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

Mark Solution

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

해결됨

osgi-jax-rs-connector is not in use anymore in AEM6.5

Avatar

Level 2
I am trying to expose Restful Services in AEM6.5.I am using jersey-all-2.22.2,publisher-5.3.1,provider-security-2.2 API.

I am getting "HTTP ERROR 503 Jersey is not ready yet!". Find screenshot1 is attached for the same.

 But looks like osgi-jax-rs-connector part of jersey is not in use anymore. https://github.com/hstaudacher/osgi-jax-rs-connector

Find screenshot2 is attached for the same.

What is the alternative API, alternative OSGI-REST Connector which can be used instead of osgi-jax-rs-connector in AEM6.5

Thanks,

Gana

1 채택된 해결책 개

Avatar

정확한 답변 작성자:
Employee Advisor

Hi,

 

In AEM 6.5, the recommended alternative to the osgi-jax-rs-connector for exposing RESTful services is the Adobe Granite REST API, which is built-in and does not require an external connector. It leverages AEM's Sling framework and allows you to define and implement RESTful services directly within AEM using scripts, servlets, or Java classes.

 

Reference docs[1]

[1]

https://experienceleague.adobe.com/docs/experience-manager-screens/user-guide/developing/rest-api.ht...

 

원본 게시물의 솔루션 보기

2 답변 개

Avatar

정확한 답변 작성자:
Employee Advisor

Hi,

 

In AEM 6.5, the recommended alternative to the osgi-jax-rs-connector for exposing RESTful services is the Adobe Granite REST API, which is built-in and does not require an external connector. It leverages AEM's Sling framework and allows you to define and implement RESTful services directly within AEM using scripts, servlets, or Java classes.

 

Reference docs[1]

[1]

https://experienceleague.adobe.com/docs/experience-manager-screens/user-guide/developing/rest-api.ht...

 

Avatar

Level 2

Hi,

By using Adobe Granite REST API, can we have custom paths other than default path "api". Find the screenshot attached for reference.

Also, can we have java method level services exposed similar to what we can achieve with osgi-jax-rs-connector?

Is Adobe Granite REST API uses sling exporter approach to expose the RESTful services?