A Java service, which is a backend Java class that encapsulates some business logic or functionality, should be placed in thecoreMaven module of an AEM project. This module is intended for the Java code that contains OSGi services, servlets, and other Java backend code. By creating the service in thecoremodule, it can be properly compiled, packaged, and deployed as an OSGi bundle within AEM.
Contribute your Thoughts:
Chosen Answer:
This is a voting comment (?). You can switch to a simple comment. It is better to Upvote an existing comment if you don't have anything to add.
Submit