Saturday, February 27, 2010

2010-02-27 Saturday - SOA Integration

I'm doing some research this weekend on integration strategies related to and an enterprise SOA.

The first thing you'll want to do is review the following documentation:

Developer Docs: Apex Code Developer's Guide Version 18.0

Visualforce Developer's Guide Version 18.0 Spring '10 Release Notes

The Internal Design of’s Multi-Tenant Architecture

There are some real software development lifecycle (SDLC) challenges in manaing and developing applications within - these three articles provide some excellent summaries of the pros and cons: vs .NET

Disadvantages of the platform

James Governor offers some interesting commentary that it worth keeping in mind when approaching any integration problem...especially when it comes to the design of a SOA:
The REST of The Cloud
"While there is a place for Big Architecture in IT, it shouldn’t be a necessity. You wouldn’t use a combine harvester to mow a lawn. You wouldn’t use a space shuttle to get to the shops. You wouldn’t build an airport to land a helicopter. But as an industry we are awesome at complexifying things."

I'm of the opinion that RESTful services are probably the better strategy for integrating with (due to some significant gaps in their compliance with the full WSDL and XSD specifications) - but one shouldn't loose sight of some of challenges in adopting a RESTful strategy:

Twitter - how not to manage RESTful services

Twitter REST error handling

Mashing up and Zillow
"This articles shows how to create such a mashup. We implement an interface to the Zillow REST-based web services API, providing all the code. We then build on that code by creating a Visualforce page that integrates the interface with an application on the platform, in this case The techniques used in this article are applicable to other REST based web services."

Calling Web Services from a Trigger (and an update to Zillow mashup)

Invoke API via enterprise.wsdl

HTTP (RESTful) Services Classes Toolkit for Google Data APIs
"The new Toolkit for Google Data APIs provides a free and open-source set of tools and services that developers can use to take advantage of Google Data APIs from within The goal of the toolkit is to make Google Data APIs ? starting with Spreadsheets, Documents and Calendar ? first class citizens of the environment. Specifically, the toolkit exposes these APIs directly within Apex, making it easier to access them natively from apps and providing tighter integration between the platforms with less developer effort."

Build Apps that Leverage Google Data APIs

Apex Web Services and Callouts

Apparently doesn't support JSON out of the box...but there are some hacks available:
Calling a REST Web Service (JSON) with Apex

"Using JSON RESTful Web Services with opens up your org to a number third-party integration opportunities (Google, Yahoo!, Flickr, bespoke, etc.). JSON support isn't baked into the platform but Ron Hess at has created a JSON parser which will do the heavy lifting for you."

A REST+JSON facade to

Playing Together Nicely: Getting REST and SOAP to Share Each Other's Toys

Towards a RESTful Plug and Play Experience in the Web of Things

REST-Based Management of Loosely Coupled Services

Standards Supporting RESTful Services

I also thought it interesting to review Sun's Cloud API - since it uses a RESTful approach too:
Sun Cloud API - A RESTful Open API for Cloud Computing

The Many Flavors of Platform Services for Cloud Computing;jsessionid=KN4BJJESFYWQ1QE1GHPSKH4ATMY32JVN?pgno=1

A useful blog to check back on from time-to-time: Perspectives on

New Tool Designs and Deploys Business Processes in the Cloud

Many developers have commented on the woeful lack of a debugger in the development environment, but this free tool might be useful in your debugging efforts: Debug Log Parser

No comments: