Page 1 of 1

A developer is writing Java code using the Sling API that needs to work with the JCR directly. The code needs to obtain

Posted: Thu Jul 21, 2022 9:09 pm
by answerhappygod
A developer is writing Java code using the Sling API that needs to work with the JCR directly. The code needs to obtain a Session object.
A service user named "reposervice" may be mapped outside the code.
Which two methods could a developer use to obtain a Session without using a deprecated API? (Choose two.)
A.

B.

C.

D.

E.
A Developer Is  1
A Developer Is 1 (35.22 KiB) Viewed 52 times
A Developer Is  2
A Developer Is 2 (15.51 KiB) Viewed 52 times
A Developer Is  3
A Developer Is 3 (16.71 KiB) Viewed 52 times
A Developer Is  4
A Developer Is 4 (23.28 KiB) Viewed 52 times
A Developer Is  5
A Developer Is 5 (36.59 KiB) Viewed 52 times