Invoking Apex

You can run Apex code with triggers, or asynchronously, or as SOAP or REST web services.