in Salesforce by
How Does Apex Work?

► Click here to show 1 Answer

0 votes

All Apex programs runs entirely On-Demand on Platform.

First the platform application server compiles the code into abstract set of instructions that can be understood by Apex runtime interpreter.

The compiled code is stored to metadata.

When the end users triggers the execution of Apex by clicking button or VisualForce page the application servers retrieves the compiled instructions from the metadata and send them to runtime interpreter before returning the result.

Learn More with Madanswer

Related questions

0 votes
asked Sep 24, 2019 in Salesforce by Robin