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

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899604
Joined: Mon Aug 02, 2021 8:13 am

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

Post 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 50 times
A Developer Is  2
A Developer Is 2 (15.51 KiB) Viewed 50 times
A Developer Is  3
A Developer Is 3 (16.71 KiB) Viewed 50 times
A Developer Is  4
A Developer Is 4 (23.28 KiB) Viewed 50 times
A Developer Is  5
A Developer Is 5 (36.59 KiB) Viewed 50 times
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!

This topic has 1 reply

You must be a registered member and logged in to view the replies in this topic.


Register Login
 
Post Reply