Salesforce.com/Apex Integration framework


sukrutwagh

“Live as if you were to die tomorrow. Learn as if you were to live forever.”
– Mahatma Gandhi

In this post, I’ll cover an lean framework suitable for integration between force.com & external systems.

The motivation for this framework are the increasing number of integrations from force.com to external systems. It is essential for systems/apps to communicate with each other to add value to your business needs by providing ‘smart’ applications.

The framework tries to address these challenges:

1.business logic spread across various layers & classes. no consistent approach to consume services/api’s
2.For batch (async integrations), sfdc objects have to be modified to capture integration related data: status, action, attributes returned by external system, etc. to implement reprocessing & error handling logic.this clutters the object definitions

Additionally, provides these features:

1.administratively turn integrations on-off
2.new integrations can be added just by implementing classes from the framework

integration_framework

Assuming your architecture is…

View original post 201 more words