
Apex Code is currently available on Unlimited Edition (as of the Summer '07 release) and Developer Edition only.
From the Spring 08 release this will be available for the Enterprise edition also.
You can register to get Apex Code turned on for you Developer Edition org. Depending on eligibility and availability, you will either get Apex Code enabled immediately or be queued up to get Apex Code enabled at a later date. You can register by visiting the Apex Code Preview page.
If you're positive that you've registered and have gotten the "Welcome aboard" message and still do not see Code, simply re-register for the program using the same DE username. If that doesn't solve the problem, please send an e-mail to adn@salesforce.com.
Apex Code is now available in UE and DE. Further availability of Apex Code is dependent on feedback from the preview and pilot programs - no dates have been set yet. Further packaging and pricing of Apex Code has also not been announced.
Apex Code can be automatically exposed as a Web service, making it accessible to any language and platform that supports XML/SOAP.
SOQL (Salesforce Object Query Language) is similar in syntax to SQL (Structured Query Language), but the two languages also differ in some significant ways.
Please see the documentation for the Web Services API for more information on the SOQL SELECT command and relationship queries using SOQL.
Using the AJAX Toolkit, Apex Code can be invoked as a Web service from an S-control.
Yes! Developers can now take advantage of two new classes, Pattern and Matcher, which allow complex and re-usable regular expression matching to be performed directly in your Apex Code classes.
--