Exam AD0-E103 All QuestionsBrowse all questions from this 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.

    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
xarthis

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

ans is A