Skip to main content
Level 9
Oct 16, 2015 2:28 AM UTC
Solved

Bundle dependency

Hi All,

1] What exactly does the term "Bundle dependency" mean?

2] How is Bundle dependency resolved.

Any thoughts/snippet of code would be helpful.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Runal_Trivedi
Runal_TrivediAccepted solution
Level 6
Oct 16, 2015 2:28 AM UTC

Bundle Dependency:

Bundle Dependency Resolutions:

- Runal

3 replies

askdctmAuthor
Level 9
Oct 16, 2015 2:28 AM UTC

Hi Runal/Scott,

Thanks a lot for your reply.

Translate
Runal_Trivedi
Runal_TrivediAccepted solution
Level 6
Oct 16, 2015 2:28 AM UTC

Bundle Dependency:

Bundle Dependency Resolutions:

- Runal

Translate
smacdonald2008
Level 10
Oct 16, 2015 2:28 AM UTC

Assume you have bundleA in AEM. Next assume that this bundle has a dependency on a Java API - for example -- say org.json.simple.JSONObject.

You can place this JSON API in another bundle in AEM - say bundleB. Now bundleA has a dependency on bundleB.

In this use case - you would need to deploy bundleB first and place it into an active state. Then you can deploy bundleA. 

To see this in action - read this community article:

https://helpx.adobe.com/experience-manager/using/custom-sling-servlets.html

You deploy 2 bundles in this article. 

Translate