| By Ross Mason | Article Rating: |
|
| November 26, 2008 09:45 AM EST | Reads: |
3,733 |
In its search for a suitable solution, Scripps Networks had five primary integration requirements. First, it needed decoupled services for ease of reuse and flexibility. Second, it needed to accommodate frequent business process changes. Next, the solution had to integrate with legacy and third-party applications. It also required robust error handling for multiple exception types. Last, it needed a rich Web-based user interface for human workflow elements.
Scripps Networks decided on Mule - the open source Enterprise Service Bus (ESB) - as a core element in its service-oriented infrastructure for media asset management.
The Power of Decoupled Services
Using Mule as a core infrastructure component, Scripps Networks created a system comprising a number of decoupled services, so that any upgrades or changes to one of the services would have minimal impact on the other services or the overall application. Any given business process is executed by appropriately orchestrating the services using Mule, with JMS as the messaging transport.
For example, to register a new media asset in the system, a user enters it into the domain application interface, where detailed metadata for the asset is stored. The domain application calls the Mule-hosted asset registration service via a SOAP interface, which performs initial validation and then uses a JMS queue to register the asset in the system and update the asset repository. A final message is sent to a JMS topic, which sends the "add asset" event to the indexing application, scheduler, and any other applications that are interested in the event.

Because the infrastructure is service-oriented, with separate JMS queues for each component, any Mule-hosted service can be easily scaled simply by provisioning additional instances of Mule. The team can also easily make changes to any of the services, or even to the workflow, without negatively impacting the system or creating an undue maintenance burden.
Solving the Error Recovery Issue
Because not all of the services are transaction-oriented, implementing error recovery was a challenge for the Scripps team. The solution was to leverage and extend the out-of-the-box Mule exception strategies. If an error happens during any part of the workflow, Mule throws an exception and calls the exception strategy component. The component ascertains whether the exception is a "service exception" or a "processing exception." A service exception indicates that the service is not available - either the network is down, or that particular service is down. If that is the case, Mule will automatically put the message back into the queue for replay, without human intervention.
A processing exception, on the other hand, may be due to bad data or a bug in the system, so replaying the message is insufficient - human intervention is required. For this situation, Scripps created a Web-based user interface using a JavaScript-based framework, allowing the user to see the error logs and dynamically access, change, and replay the workflow as needed. As an added benefit, the rich Internet application (RIA) architecture harnesses the power of the client machine and relieves the server from computing HTML, making the application responsive and highly scalable.
In developing the RIA for Mule-based applications, Scripps settled on the open source Qooxdoo for its maturity and enhancements on top of standard JavaScript features. Implementing the application with Mule was straightforward, entailing the creation of a Mule component that parses a request and sends the JavaScript resource file to the browser, and another JavaScript Object Notation (JSON) service to supply the data. Finally, the application was compiled using Qooxdoo, and the JavaScript and resources were deployed as a single JAR to the Mule user library.
The benefits of using Mule are readily apparent at Scripps Networks. The lightweight Mule-based services scale easily by simply provisioning additional instances of Mule. Easy configuration allows for changes in the workflow, increasing business agility and minimizing maintenance costs. Mule's out-of-the-box exception strategies simplify error handling. Finally, its simplified programming model supports the easy creation of rich browser-based user interfaces.
Using Mule as the foundation for its new SOA infrastructure for media asset management, Scripps Networks can now better handle the increasing proliferation of content sources, channels, and media formats. Not only can Scripps deliver content to millions of viewers, but all of the accompanying metadata and digital assets (images, thumbnails, text) is brought together and delivered in a consistent and coordinated fashion.
Published November 26, 2008 Reads 3,733
Copyright © 2008 SYS-CON Media, Inc. — All Rights Reserved.
Syndicated stories and blog feeds, all rights reserved by the author.
More Stories By Ross Mason
Ross Mason is the founder of the Mule Project and co-founder and CTO of MuleSource, the leading provider of open source service-oriented architecture (SOA) infrastructure software.
- 4th International Cloud Computing Conference & Expo Starts Today
- Publishing Synergy: Blog, Twitter and Ulitzer
- Performance Tuning Essentials for Java
- Cloud Expo New York Call for Papers Deadline December 15
- Google Wave
- IBM Hardware Chief, Intel VC Exec Arrested in Insider Trading Scam
- Cloud Computing Can Revitalize Your Career as Software Developer
- SOA World Magazine "Readers' Choice Awards" Voting Is Now Open
- Oracle+MySQL Opponents Take to the Barricades
- Virtualization Expo Call for Papers Deadline December 15
- Oracle Faces Growing Price for MySQL
- SpringSource Moving to Spring 3.0
- 4th International Cloud Computing Conference & Expo Starts Today
- Deputy CIO of the CIA to Keynote 1st Annual GovIT Expo
- Publishing Synergy: Blog, Twitter and Ulitzer
- Performance Tuning Essentials for Java
- Cloud Expo New York Call for Papers Deadline December 15
- Cloud Computing Expo: Exclusive Q&A with Yahoo! SVP Cloud Computing
- Google Wave
- IBM Hardware Chief, Intel VC Exec Arrested in Insider Trading Scam
- Cloud Computing Can Revitalize Your Career as Software Developer
- Oracle-Sun: IBM Reportedly Behind Delay
- Citrix Aims To Cripple VMware’s Cloud Designs
- Oracle Trashes HP Relationship for Sun
- After Ubuntu, Windows Looks Increasingly Bad, Increasingly Archaic, Increasingly Unfriendly
- SCO CEO Posts Open Letter to the Open Source Community
- Simula Labs Launches Hosted Delivery Platform To Enable Enterprise Open Source Adoption
- Where Are RIA Technologies Headed in 2008?
- Source Claims SCO Will Sue Google
- How Open Is "Open"? – Industry Luminaries Join the Debate
- Latest SCO News is Plain Weird
- IBM Tells SCO Court It Can't Find AIX-on-Power Code
- SCO Claims Linux Lifted ELF
- Flashback: Investing in 'Professional Open Source' - Exclusive 2004 Interview with David Skok, Matrix Partners
- HP Starts Pushing Desktop Linux
- Linux Business Week Exclusive: Linux Kernel To Be Re-Written To Counter Microsoft FUD






























