AD0-E103 Exam QuestionsBrowse all questions from this exam

AD0-E103 Exam - Question 61


A custom application contains a service component com.proj.ServiceComponent. A developer needs to configure the string value name and integer value intVal. The actual configuration must be deployed using a content package.

What should the developer do to meet these requirements?

A.

B.

C.

D.

Show Answer
Correct Answer:

To meet the requirements, the developer should deploy the configuration using a file in the appropriate format for an OSGi component configuration. The correct file format for OSGi configuration files in most cases would be using the '.config' file extension and should be in the form of key=value pairs. Therefore, the correct answer is A. The '.xml' configuration files are not typically used in this context, and the '.cfg' extension is not the standard for OSGi configurations.

Discussion

2 comments
Sign in to comment
xarthis
Aug 8, 2020

its A, The xml should start like this : <jcr:root xmlns:sling="http://sling.apache.org/jcr/sling/1.0" xmlns:jcr="http://www.jcp.org/jcr/1.0"

khalilooooo
Nov 26, 2020

ans is A