Apex Code

Using syntax that looks like Java and acts like database stored procedures, Apex enables developers to add business logic to most system events, including button clicks, related record updates, and Visualforce pages. Apex code execution can be initiated by Web service requests and from triggers on objects.
Available in: Enterprise, Performance, Unlimited, Developer, and Database.com Editions

Apex includes the following enhancements. For detailed information on these enhancements, refer to the Force.com Apex Code Developer's Guide.