What should the developer do to meet these requirements?

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

What should the developer do to meet these requirements?
A . "Use a file com.proj.ServiceComponent.cfg with content
name=""Service name""
intVal=I""5"""
B . "Use a file com.proj.ServiceComponent.configwith content
name=""Service name""
intVal=I""5"""

C . "Use a file com.proj.ServiceComponent.xml with content <?xml version=""1.0"" encoding=""UTF-8""?> <jcr:root jcr:primaryType=""sling:OsgiConfig""
name=""Service Name""
intVal=""5""/>"
D . "Use a file com.proj.ServiceComponent.xml with content <?xml version=""1.0"" encoding=""UTF-8""?>
<jcr:root xmlns:jcr=""http://www.jcp.org/jcr/1.0"" jcr:primaryType=""sling:OsgiConfig""
name=""Service Name""
intVal=""{Integer}5""/>"

Answer: B

Latest AD0-E116 Dumps Valid Version with 94 Q&As

Latest And Valid Q&A | Instant Download | Once Fail, Full Refund

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments