Friday, June 14, 2024’s Apex Code: Good Idea or Superfluous Code?

Datamation content and product recommendations are editorially independent. We may make money when you click on links to our partners. Learn More.

In January 2007, on-demand CRM provider announced that its Apex Code would now be available to developers through a preview program, and that a beta version of the code would be available to salesforce customers later this year. is calling Apex Code the first on-demand programming language. describes the language as a Java-like development code enabling users to write applications that run directly on servers. It supports the multi-tenant virtual paradigm of the Apex platform, an application model where users and applications share a common infrastructure and code base.

According to, programmers can use Apex Code to create new business-logic applications, and customize or build new components to augment or replace those being used in implementations, among other things. CEO Marc Benioff goes as far as to say that his company has cracked the code of enabling unlimited innovation on demand.

“Customers will benefit from unprecedented choice and freedom of on-demand applications for the ‘Business Web,’” Benioff adds. “Customers will be thrilled and amazed as the community demonstrates what is truly possible on demand.”

But is a brand new programming language that is proprietary to and runs only on servers really necessary?

According to Peter Kastner, vice president of enterprise integration at research firm Aberdeen Group, clients of his are scratching their heads at the way is going about its Apex Code push.

“They like the idea of opening up the application to custom integration,” he says, “but are perplexed over why salesforce is inventing a new scripting language when Perl, Ruby, and Javascript are already well understood by enterprise developers.”

A Little Bit More Control

Unlike traditional scripting languages, Apex Code limits itself to developing applications that focus on data management and business logic. Don’t expect to build an updated version of Grand Theft Auto or Second Life modules with this language. But if you need to integrate a second or third database that needs to parse out unique strings of data from your core database, Apex Code not only can help you realize this objective, its multi-tenant capabilities are able to isolate any faulty code threatening to jam up your system.

Sandy Rogers, program director, SOA, Web Services and integration at IDC, says that the introduction of the Apex Code is the first wave of what is doing to help enable its partners to gain control and extend the capabilities of the whole model to fit their businesses.

“Through Apex, salesforce is offering visibility into what is needed to customize a little bit more, and I believe that that is really one of the first things that they’re trying to achieve with what they’re announcing,” Rogers says.

In addition, is taking a traditional database-centric sort of approach, Rogers explains.

“One of the keys for any [] partner would be to extend the data model,” she says. The purpose: “So that what eventually could be hosted by salesforce and utilized consistently across from a data semantics point of view with any joint type of composite application or solution, or even an integrated solution, would be having a little more flexibility around that.”

The Value Proposition

According to John Radcliffe, research vice president of CRM at Gartner Inc.,’s Apex platform has been based on the use of metadata, interpreted at run time, to define applications. While this aspect provides overall flexibility and ease from an upgrade and maintenance viewpoint, it may not allow users to create all the functionality or have the level of granularity that they may need.

For Radcliffe’s part, the primary value proposition Apex Code offers is that it provides developers the ability to add procedural code in a variety of locations and that this code is transactional in nature. Moreover, Apex Code allows and partner developers to create richer applications on the Apex platform than they were able to in the past, when the base code was not readily available.

“You can write stored procedures in it and expose them as Web services. In some ways it reminds me of why Oracle introduced PL/SQL in the late ‘80s to complement SQL,” adds Radcliffe.

However, Radcliffe notes that a traditional procedural language is not as easy to convert into something else as metadata is, and so a degree of “lock in” occurs. Companies like Oracle are finding this to be the case with PL/SQL-based stored procedures as they move towards a Fusion Apps Java environment, he says.

Setting the Stage

For her part, IDC’s Rogers says that’s road map for Apex Code is akin to its road map for the original application and everything else that has followed it up to this point.

“They introduce some functionality and then build on top of it. What might be available in the future on this kind of environment is yet to be seen, but it is setting the stage for that kind of offering and capability. And giving a little bit more can allow an enterprise that is trying to integrate into salesforce a little more leverage or latitude,” Rogers says.

According to Rogers,’s initial target audience for Apex Code is its partner community and its customers. Through them, she says, the company will get a better sense of the complexity, scalability, and deployment capabilities of an application built with Apex Code and as a result, will be able to better judge Apex Code’s ease of use, along with its limitations.

While Apex Code may not offer the complexity some developers will need, it does offer the ability for users to develop certain applications, particularly those centering on the use of forms, around the on-demand model without having to link to external environments, Rogers says.

“The vision that [ is] painting in the future is that you already have a foundation of a solution right here. You have a user interface, sign-on, navigation, reporting, a lot of basics that any application that hooks into salesforce or leverages it can take advantage of,” Rogers says. “That is its whole promise.”

Subscribe to Data Insider

Learn the latest news and best practices about data science, big data analytics, artificial intelligence, data security, and more.

Similar articles

Get the Free Newsletter!

Subscribe to Data Insider for top news, trends & analysis

Latest Articles