Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

Understand Java API Best Practices | AEM Community Blog Seeding

Avatar

Avatar
Establish
Community Manager
kautuk_sahni
Community Manager

Likes

1,167 likes

Total Posts

6,285 posts

Correct Reply

1,144 solutions
Top badges earned
Establish
Coach
Originator
Contributor 2
Contributor
View profile

Avatar
Establish
Community Manager
kautuk_sahni
Community Manager

Likes

1,167 likes

Total Posts

6,285 posts

Correct Reply

1,144 solutions
Top badges earned
Establish
Coach
Originator
Contributor 2
Contributor
View profile
kautuk_sahni
Community Manager

16-05-2021

BlogImage.jpg

Understand Java API Best Practices by Adobe Docs

Abstract

Adobe Experience Manager (AEM) is built on a rich open-source software stack that exposes many Java APIs for use during development. This article explores the major APIs and when and why they should be used.

AEM is built on 4 primary Java API sets.
1. Adobe Experience Manager (AEM)

2. Product abstractions such as pages, assets, workflows, etc.
Apache Sling Web Framework

3. REST and resource-based abstractions such as resources, value maps, and HTTP requests.
JCR (Apache Jackrabbit Oak)

4. Data and content abstractions such as node, properties and sessions.
OSGi (Apache Felix)

OSGi application container abstractions such as services and (OSGi) components.

AEM APIs
AEM API JavaDocs
AEM APIs provide abstractions and functionality specific to productized use cases.

For example, AEM’s PageManager and Page APIs provide abstractions for cq:Page nodes in AEM that represent web pages.

While these nodes are available via Sling APIs as Resources, and JCR APIs as Nodes, AEM’s APIs provide abstractions for common use cases. Using the AEM APIs ensures consistent behavior between AEM the product, and customizations and extensions to AEM.

Read Full Blog

Understand Java API Best Practices

Q&A

Please use this thread to ask the related questions.

AEM AEMIBlogSeeding Experience Manager