Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
exam questions

Exam Certified Platform Developer II All Questions

View all questions & answers for the Certified Platform Developer II exam

Exam Certified Platform Developer II topic 1 question 17 discussion

Actual exam question from Salesforce's Certified Platform Developer II
Question #: 17
Topic #: 1
[All Certified Platform Developer II Questions]

What is a benefit of JavaScript remoting over Visualforce Remote Objects?

  • A. Allows for specified re-render targets
  • B. Does not require any Apex code
  • C. Does not require any JavaScript code
  • D. Supports complex server-side application logic
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
sajjankrgupta
Highly Voted 3 years, 11 months ago
Ans is D.
upvoted 24 times
...
Soliton321
Highly Voted 3 years, 10 months ago
D is correct. Either remote object or @remoteAction requires a JS callback,promise, async&await function to parse the JSON result from back-End to client side. For example, you can easily construct a wrapper class using @remoteAction in Apex where information from multiple queries or proxy variables can be brought together. For remote object you will need JS to do "promise.all" in order to cover that kind of wrapper in Apex, which will be very complex and hard to read
upvoted 14 times
...
tester1987
Most Recent 10 months, 3 weeks ago
Selected Answer: D
D. Supports complex server-side application logic
upvoted 1 times
...
amilaveer
1 year, 11 months ago
Answer is B https://developer.salesforce.com/docs/atlas.en-us.pages.meta/pages/pages_remote_objects.htm
upvoted 1 times
...
test_1510_1
2 years, 1 month ago
Selected Answer: D
https://developer.salesforce.com/docs/atlas.en-us.pages.meta/pages/pages_js_remoting_compare_remote_objects.htm
upvoted 2 times
...
SalesforceMark
2 years, 7 months ago
Visualforce Remote Objects: Makes basic “CRUD” object access easy Doesn’t require any Apex code Supports minimal server-side application logic Doesn’t provide automatic relationship traversals; you must look up related objects yourself JavaScript Remoting: Requires both JavaScript and Apex code Supports complex server-side application logic Handles complex object relationships better Uses network connections (even) more efficiently
upvoted 5 times
...
priyu7kanoi
2 years, 7 months ago
D is the answer
upvoted 2 times
...
beringer1992
3 years, 10 months ago
https://developer.salesforce.com/docs/atlas.en-us.pages.meta/pages/pages_js_remoting_compare_remote_objects.htm#:~:text=JavaScript%20Remoting%20and%20Remote%20Objects%20offer%20similar%20features%2C%20and%20both,for%20creating%20dynamic%2C%20responsive%20pages.&text=Visualforce%20Remote%20Objects%3A,minimal%20server%2Dside%20application%20logic
upvoted 3 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...