Salesforce Certified Platform Developer II — Question 7
What is a benefit of JavaScript remoting over Visualforce Remote Objects?
Answer options
- 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
Correct answer: D
Explanation
The correct answer, D, is valid because JavaScript remoting can support complex server-side logic, allowing for more sophisticated interactions between the client and server. Options A, B, and C are incorrect because they either pertain to features not specific to JavaScript remoting or incorrectly state the requirements for Apex and JavaScript code.