| By Michael Poulin | Article Rating: |
|
| September 10, 2008 08:00 PM EDT | Reads: |
3,598 |
What could be the problem with logging in SOA in the presence of such wonderful tools like log4j, Java's logging library and similar? Why might we need something special for SOA and why aren't existing techniques enough? The answer is simple and complex simultaneously - in SOA we are dealing with distributed and composed entities that cause problems in log maintenance, not in log creation.
Local Build, Distributed Analysis
Let's follow a typical service development process and see what might go wrong with logging along the way. Assume we have three business services - F1, F2, and F3 - each implementing one business feature. Each service comprises two components built independently by different people and at different times.
Each component developer used log4j to log information and exception notes of different severity. Since the components weren't built for the same task, each component has its own log file. Due to the reuse of components, we can't modify them but can reconfigure each log4j, for example, to create log files in the same location for the same service, at least. We may not merge files online because each component may have its own policy for the log file management, which might conflict with the management rules from another component. Thus, we have six log files in, potentially, three different locations, distributed or co-located: F1C1, F1C2, F2C3, F2C4, F3C5, and F3C6.
Now, it appears that the business defines two business functions where two out of three features may be reused. Being in SOA, we develop two new business services - B1 and B2 - as follows: B1={F1, F2, F3}, B2={F1, F3}. It's obvious now that for a relatively simple SOA case of two business services, we have to deal with 12 different log files, where four of them might be shared by independent services B1 and B2. This case is shown in Figure 1. Listen for a moment to what the operation and maintenance teams would have to say to us about such development.
This isn't all. In SOA, each business service is expected to have a service contract that includes a service level agreement, a SLA. For B1, the SLA has to be potentially dependent on the performances of six foreign logging procedures and with the robustness of up to three file systems (or other data stores like databases). Moreover, the B1 provider might not be the owner of F1, F2, and F3 services. This means the service contract between a consumer and B1 service provider may depend on three other service contracts and related SLAs. The B2 service presents a similar picture.
Published September 10, 2008 Reads 3,598
Copyright © 2008 SYS-CON Media, Inc. — All Rights Reserved.
Syndicated stories and blog feeds, all rights reserved by the author.
More Stories By Michael Poulin
Michael Poulin works as an enterprise-level solution architect in the financial industry in the UK. He is a Sun Certified Architect for Java Technology, certified TOGAF Practitioner, and Licensed ZapThink SOA Architect. Michael specializes in distributed computing, SOA, and application security.
![]() |
igh 01/29/09 06:03:00 AM EST | |||
Usually, the reason for using a logging system is to search what has happened on an error state. What is defined in this article only identifies the services an operation moved through, but not the origin of the user action that resulted in error. |
||||
- RIM Launches BlackBerry Desktop Manager for Mac Users
- Unisys Provides Mobile Support
- Best-Selling Author Scott McKain Joins Ulitzer
- Ipadio’s iPhone App Makes Mobile Broadcasting and Audio Blogging a Breeze
- GITEX TECHNOLOGY WEEK 2009 Exhibitor Profiles
- Mobile Application Stores: What's the Operator's Play
- Cloud Computing ERP Suite For the iPhone
- Technology Face-Off: Augmented Reality vs Mobile Image
- Stewart McKie Launches Mobile Tagging and Content Delivery Topic on Ulitzer
- Trusted Identities Realization for Government
- iPhone OS 3.0 Hits the Streets Today
- Adobe Flash Media Server on iPhone
- Unisys: A Clear Vision for Cloud Computing
- RIM Launches BlackBerry Desktop Manager for Mac Users
- Andreessen Turns VC
- The Beauty of USB & Bluetooth on the iPhone
- SYS-CON's iPhone Developer Summit Day One ROCKS
- Keane Reaches Agreement to Acquire Portions of BearingPoint Public Services Business
- Where Web 2.0 Meets Voice 2.0
- Sybase Reports Double-Digit Growth in Q2
- Tiger Woods Sues Christensen Shipyards for Breaking Privacy Agreement
- Highlights From Ft. Lauderdale International Boat Show
- Jim Liddle's Symbian Blog: Is the "Mobile Web" Already With Us ?
- Jim Liddle's Symbian Blog: "GMAIL Mobile"
- Symbian Welcomes the Availability of Nokia's N72
- Symbian & Open Source: The Momentum Grows
- London Streetmap Midlet and Flashlite Supported Phones
- Google Gang Unveils "gPhone" Platform, Android
- Jim Liddle's Symbian Blog: MIDP on Dangers Hiptop Phone
- Yahoo! Buys 40% Chunk of China's Second-Largest Internet Auctioneer



































