Since we what Apex is, let's see which editions of Salesforce can support it:
- Performance Edition
- Unlimited Edition
- Enterprise Edition
- Developer Edition
- Database.com
Apex can be used to add business logic to Lightning applications, execute database triggers, and build a customized UI by programming controllers. The language and all its features (such as governor limits, future methods, and so on) run in a multi-tenant environment and can be integrated with the following components:
- The database that includes your standard and custom objects.
- A Salesforce Object Query Language (SOQL)/Salesforce Object Search Language (SOSL), which will help you search for or select the records you need.
- Web services support helps you integrate web services, such as Google, Amazon, or the customer's backend systems: