A customer adds third-party client libraries to add some features in an existing AEM application, which will significantly reduce
performance.
How should the developer optimize the site?
A developer is on an AEM application that is being used to calculate an employee's salary. The calculation is done in an OSGi service called CalculationService. This service class has a dependency on one other service, called the EmployeeService.
How should the developer make sure that the critical code in the CalculationService has a high unit test coverage?
A new component called Page Headline needs to be implemented. The only difference to the title component delivered by Adobe's WCM core components is that the text needs to be taken from the current page title instead of jcr.title.
How should a developer implement this request?
A)
1. Create custom component
2. Implement Sling Modal as follows
B)
1. Create proxy component from the core title component
2. Implement sling Model as follows
C)
1. Create proxy component from the core title component
2. Implement Sling Model as follows
A client has asked to share an HTML version of test coverage report for the AEM project.
What plugin should the AEM developer use to generate test coverage report using latest archetype?
A)
B)
C)
A developer needs to create a new Title component. The requirements are:
1. The layout must be the same as the Title core component
2. The text property must have the page title as prefix (e.g., Page Title -
3. The component must be reusable
Which approach is recommended?