AD0-E103 Adobe Experience Manager Developer

Loading demo links...

Showing 1–3 of 10 questions

Question 1

A developer needs to implement a functionality that requires creating a Custom Workflow Step.

Which two steps should the developer take to start developing the custom behavior? (Choose two)

Select all that apply, then click Submit answer.

  • Implement a Java class extending from class com.adobe.granite.workflow.exec.WorkflowProcess

  • Create a Workflow component node of the Super Resource Type "cq/workflow/components/model/process" under the folder /apps/components

  • Create a Workflow component node of the Super Resource Type "cq/workflow/components/step" under the folder /etc/workflow/models

  • Implement a Java class with this method "public void process (WorkItem item, WorkflowSession wfsession) throws WorkflowException"

  • Implement a Java class implementing the interface com.adobe.granite.workflow.exec.WorkflowProcess


Question 2

A developer is working on a complex project with multiple bundles. One bundle provides an OSGi service for other bundles.

Which two options are necessary to ensure that the other bundles can reference that OSGi service? (Choose

two.)

Select all that apply, then click Submit answer.

  • The bundles consuming the service need to import the fully qualified name of the service interface.

  • The bundle providing the service needs to contain an adequate SCR descriptor file.

  • The bundle providing the service needs to export the java package of the service interface.

  • The bundle providing the service needs to contain a whitelist of allowed consumer bundles.

  • The service needs to correctly declare metatype information.


Question 3

The following stack trace is written in the error.log file after installing a custom application package.

Could not start bundle com.adobe.cq.sample-bundle [526]. Reason: {}. Will retry.

org.osgi.framework.BundleException: Unable to resolve com.adobe.cq.sample-bundle [526](R 526.0): missing requirement [com.adobe.cq.sample-bundle] osgi.wiring.package

What are two different ways that the developer could resolve the OSGi bundle dependency error? (Choose two)

Select all that apply, then click Submit answer.

  • Go to the Dependency Finder in the System Console to find if another bundle is exporting a similar version of the classes and change the project pom.xml to match the same version

  • Install the jar in AEM via the curl command 'curl -u username:password -F file=@"./com.example.customlib-3.8.jar" -F name="Dependency"

    -F force=true -F install=true http://localhost:4502/crx/packmgr/service.jsp --progress-bar -o upload.txt '

  • Create a folder named "deploy" under $AEM_HOME/crx-quickstart/ and copy com.example.customlib-3.8.jar in there so AEM uploads it automatically

  • Go to the project parent pom.xml file and add the dependency with the scope "compile" and instruct the bundle plugin to include the dependency in runtime

  • Upload the file com.example.customlib-3.8.jar into /apps//libs folder in CRX DE to make it available for the OSGi bundle