Expand my Community achievements bar.

Adobe Summit 2025: AEM Session Recordings Are Live! Missed a session or want to revisit your favorites? Watch the latest recordings now.

Mark Solution

This conversation has been locked due to inactivity. Please create a new post.

SOLVED

Access Service from another AEM bundle

Avatar

Level 2

Hi,

I have two aem projects say  A and B. I need to access the service in project A from B. Can you please let me know how to achieve this.

1 Accepted Solution

Avatar

Correct answer by
Employee

ServiceReference sr = bundleContext.getServiceReference(YourService.class.getName());

View solution in original post

1 Reply

Avatar

Correct answer by
Employee

ServiceReference sr = bundleContext.getServiceReference(YourService.class.getName());