Blog Home  Home Add to any service  
Beckshome.com: Thomas Beck's Blog - Business Logic Reuse – What Color is Your Box?
Musings about technology and things tangentially related
 
 Tuesday, September 19, 2006

I enjoyed Harry Piereson’s well thought-out response to David Chappel’s entry on SOA and the Reality of Reuse. I couldn't have said it better myself, though that won’t stop me from trying. The way I see it, David brings to light the fact that the emperor has no clothes and then Harry tells you why the emperor is naked. The focus on business context in Harry’s entry really caused me to think about why business logic reuse fails.

The use of the word “context” stirred up in my mind the classic black box, gray box, white box argument. We can expect Java buttons or .NET Windows objects to behave in a low context, black box manner. From contextual business objects, we can at best expect gray box behavior; although white box is much more realistic. I guess in the box world, the opacity of the box is tantamount to the amount of context that can get through.

This said, in business object environments that demand high opacity/context, can and should we strive for reuse? I think the answer is still a resounding “yes”. We just need to do it in a realistic manner. So what does this mean? If our experience has shown that neither objects nor Web services are the appropriate level of abstraction for business logic reuse, where do we turn?

In my mind, analysis patterns provide the answer to this question. Analysis patterns are the long lost stepbrother of the popular design patterns. Martin Fowler does a great job of categorizing common analysis patterns in his book of the same name. However, it is Eric Evan’s Domain Driven Design book that provides the real insight into the process that will lead to analysis pattern identification.

The true beauty of analysis patterns is that they not only work within their target domain; they have the uncanny ability to shed new light on similar situations across domains. I can well imagine that the case transfer pattlet we created applies not only to the state government business domain for which it was intended, but also fairly well to the transfer of cases in the legal system domain.

In such high context, business rule driven transactions such as case transfers, I would never aspire to build a reusable object or service. Letting the analysis pattern speak for itself, I feel as if I’ve gotten all of the reuse capability I need to at that level. Attempting to create a standard programmatic solution that incorporates all the complexities of the pattlet’s context is likely to cause more problems than it solves. As caretakers of the business logic we need to understand the negative impacts of overengineering a solution and learn to use the right colored box for the job.

Tuesday, September 19, 2006 8:50:44 PM (Eastern Standard Time, UTC-05:00)  #    Comments    |  Trackback Tracked by:
http://blogs.corp.amsworld.com/blogs/kinsmach/archive/2006/11/20/feasible-servic... [Pingback]
"Purchashing xanax with mastercard." (Half-life of xanax.) [Trackback]
"Buy cheap tramadol at online drug store." (Buy cheap tramadol tramadol mg quick... [Trackback]
"viagra prescription" (viagra prescription) [Trackback]
"weight loss supplements" (weight loss supplements) [Trackback]
"generische viarga" (generische viarga) [Trackback]
"New and Used Book Reviews" (New and Used Book Reviews) [Trackback]
"Software Development Guide" (Software Development Guide) [Trackback]
"Web Hosting Reviews, Web Site Hosting" (Web Hosting Reviews, Web Site Hosting) [Trackback]
"Ecommerce Tips and Resources" (Ecommerce Tips and Resources) [Trackback]
"Web Hosting Providers Directory" (Web Hosting Providers Directory) [Trackback]
"Free Software Downloads" (Free Software Downloads) [Trackback]
"Shared Hosting Resources" (Shared Hosting Resources) [Trackback]
"guitar cases" (guitar cases) [Trackback]
"Federal Government and Politics" (Federal Government and Politics) [Trackback]
"Free Online Tax Returns" (Free Online Tax Returns) [Trackback]
"Popular Science" (Popular Science) [Trackback]
"Business Career Center" (Business Career Center) [Trackback]
"Freeware and Shareware Software Downloads" (Freeware and Shareware Software Dow... [Trackback]
"World Wide Web Resources" (World Wide Web Resources) [Trackback]
"Listen To Music Online" (Listen To Music Online) [Trackback]
"Internet Marketing and Advertising" (Internet Marketing and Advertising) [Trackback]
"Power Of Law Forms" (Power Of Law Forms) [Trackback]
"Computer Game News and Reviews" (Computer Game News and Reviews) [Trackback]
"Free Download MP3 Music" (Free Download MP3 Music) [Trackback]
"Top Internet Business" (Top Internet Business) [Trackback]
"Latest Book Reviews" (Latest Book Reviews) [Trackback]
"Local Jobs Guide" (Local Jobs Guide) [Trackback]
"Business Ideas Forum" (Business Ideas Forum) [Trackback]
"New Movie Reviews" (New Movie Reviews) [Trackback]
"Cheap and Free Computer Software" (Cheap and Free Computer Software) [Trackback]
"Programming Tutorials" (Programming Tutorials) [Trackback]
"Online MP3 Downloads" (Online MP3 Downloads) [Trackback]
"Network Marketing Opportunities" (Network Marketing Opportunities) [Trackback]
"Online and Offline Promotion" (Online and Offline Promotion) [Trackback]
"Job Search Tips and Resources" (Job Search Tips and Resources) [Trackback]
"Music Search and Music Downloads" (Music Search and Music Downloads) [Trackback]
"Computer Game News and Game Reviews" (Computer Game News and Game Reviews) [Trackback]
"Blog Software and Blogging Resources" (Blog Software and Blogging Resources) [Trackback]
"Live Journal" (Live Journal) [Trackback]
"International Resources" (International Resources) [Trackback]
"Best Buy Consumer Reports" (Best Buy Consumer Reports) [Trackback]
"Premium Hosting Packages" (Premium Hosting Packages) [Trackback]
"cialis generico comprare mastercard" (cialis generico comprare mastercard) [Trackback]
"Play Free Arcade Games" (Play Free Arcade Games) [Trackback]
"Technology and Electronics" (Technology and Electronics) [Trackback]
"Free Legal Music Downloads" (Free Legal Music Downloads) [Trackback]
"Website Templates and Web Design, Graphic Layouts" (Website Templates and Web D... [Trackback]
"Business and Personal Finance" (Business and Personal Finance) [Trackback]
"generic viarga sildenafil sans ordonnance" (generic viarga sildenafil sans ordo... [Trackback]
"buy hoodia" (buy hoodia) [Trackback]
Copyright © 2008 Thomas Beck. Some rights reserved.

Creative Commons License