Brian Loesgen's Blog

BizTalk Server, Enterprise Service Bus (ESB), SOA, Oslo, Dublin, WCF/WF... and related stuff!

  Home  |   Contact  |   Syndication    |   Login
  142 Posts | 0 Stories | 152 Comments | 81 Trackbacks

News

Tag Cloud


Archives

Post Categories

Image Galleries

My Blog Friends

I’ve just returned from the Workflow conference in Redmond, where for a full week we attended presentations on BizTalk Server 2006, Windows Workflow Foundation (WF) and Windows Communication Foundation (WCF).

In what is likely a pre-cursor for what will happen when Windows Workflow Foundation gets wider exposure, there was rampant confusion among the attendees concerning BizTalk Server and WF. When do you use what? Does the existence of one mean the demise of the other? Can they work together? Would you want to use them together? I will try to sum up (in a very succinct manner) what some of the key differences are.

First off, let’s get this out of the way upfront, WF is NOT “BizTalk Light”. WF is a framework that provides the building blocks needed to build workflow-based applications. BizTalk is an integration server that includes the ability to add business process automation.

BizTalk Server is a platform that provides developers with the pieces they need to automate business process, Windows Workflow Foundation is a framework that provides developers with the base components they need to build the modules that will be used to automate processes. BizTalk provides a lot of capabilities that are needed for serious business process automation that WF developers would have to write. To name a few, BizTalk has proven scalability, tracking, administration and transformation capabilities that a WF developer would need to write from scratch.

The intended audience for WF is primarily ISVs, people that need to include workflow as part of their applications. Some examples of these would be:

1. Office 12
2. BizTalk (in a post-BizTalk 2006 version)
3. Page flow in ASP.NET
4. Line of Business Systems such as CRM, Dynamics, etc

Perhaps much of the confusion stems from the fact that the designers look very similar. This is not surprising, given that the same team worked on both. In fact, if you look back at a post I did after PDC 2003 on the Windows orchestration engine, this was an early look at Window Workflow Foundation. However, don’t judge workflow technologies by their appearance.

The following table is not intended to be an in-depth comparison of the feature sets of both technologies. It does however compare and contrast some key features.

Feature

BizTalk Server 2004/2006

Windows Workflow Foundation

Hosting

Server-side in the BizTalk process

Hosted in a custom application (client-side execution, but the client could be an ASP.NET application)

Designer

Included in Visual Studio

Included in Visual Studio, or custom designers can be written

Scalability

Well-proven, highly scalable

Developer must implement

Transactional integrity

Long running and atomic (ACID) transactions

Developer must implement

Tracking infrastructure

Comprehensive Business Activity Monitoring infrastructure provided

Simple framework pieces provided that allow you to build the tracking infrastructure

Runtime modification of “in-flight” workflows

No, workflows are defined at design time

Yes, but developer must implement

Cross-platform integration capabilities

Extensive adapters available

Not supported natively

Composability

A BizTalk process could invoke a WF process via Web service call, or from a helper class or expression shape

WF processes cannot directly invoke a BizTalk application, although you could indirectly by calling an orchestration that had been exposed as a Web service (for example), or perhaps by API usage

Management and administration

Extensive set of tools provided for IT pros to administer and track execution

Developer must implement

Windows Communications Framework (formerly “Indigo”) support

Through an adapter, or could be called from an expression shape or helper class

Natively supported

Rules engine support

Yes

Yes

Extensible activities

No

Yes

Transformation capabilities

Yes

No

Programmability

BizTalk Server exposes APIs for most parts, and has numerous extensibility points such as pipeline components, adapters and “functoids” (out-of-the box and custom mapper components)

WF is a framework. You must implement applications to use it.

So, does WF replace BizTalk? Not at all. They are complimentary technologies. Hopefully this post has shown that.

Most importantly, hopefully WF will expand the ranks of developers that know it’s OK to at least partially create applications by drawing diagrams.

No matter which path you take, these are very cool technologies and we, as architects and developers, will be having a lot of fun with them over the next few years.

What's in a name?

WF has gone through a lot of name changes as the technology has baked. So why is Indigo WCF now, but Windows Workflow is WF? Well... because apparently the World Wildlife Foundation has a trademark on "WWF". And if you look at this article, they actually “smacked down“ the World Wrestling Federation in 2000. So... for now at least, Windows Workflow Foundation abreviates down to "WF" (does Wells Fargo know about this? :)).

Learning more:

Understanding BizTalk Server 2004: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/BTS_2004WP/html/c245a8af-9f01-410f-b1bc-c43e725bfc27.asp

David Chappell's overview white paper on Windows Workflow Foundation: http://msdn.microsoft.com/windowsvista/building/workflow/default.aspx?pull=/library/en-us/dnlong/html/WWFIntro.asp

WinFX site at MSDN: http://msdn.microsoft.com/windowsvista/building/workflow/default.aspx

posted on Sunday, October 09, 2005 1:55 PM

Feedback

# re: BizTalk Server 2004/2006 and Windows Workflow Foundation 10/10/2005 10:30 PM Jon Galloway
Thanks for the nice comparison - the lines have been a littly blurry. Thanks again for the great talk at the San Diego .NET User's Group, and the helpful info afterwards. Much appreciated.

# Windows Workflow Foundation 10/21/2005 7:47 AM Bill O'Brien's WebLog
At PDC, Windows Workflow Foundation was announced. I got my first look at Don Box and Dharma Shukla's...

# Windows Workflow Foundation and BizTalk Server 10/24/2005 1:25 AM Owen Allen (MSFT PacWest)
Brian Loesgen has a summary and comparison of Windows Workflow Foundation (WF) and BizTalk Server on...

# I like various WWFs 11/7/2005 7:51 AM Paul
I grew up watching LOCAL staged "wrestling" matches on TV in rural Louisiana, even before there was a World Wrestling Federation.

Then I went to college, became an avowed environmentalist, and joined World Wildlife Fund, which I continue to support 20 years later.

Now I own a software company that's very excited about Windows Workflow Foundation (and Biztalk).

As we used to sing in Sunday school back home in Louisiana, all God's creatures got a place in the choir.

I'll admit that these days my "singing preferences" swing a lot more heavily toward World Wildlife Fund and Windows Workflow Foundation.

# Comparison Biztalk 2004/2006 and Windows Workflow Foundation 11/10/2005 4:37 AM Stefan Goßner
As Office 12 will leverage Windows Workflow Foundation as Workflow engine it might be interesting to...

# Four tenets of Workflow 11/29/2005 7:41 AM Simon Thorneycroft and Jonathan
Most developers/architects are used to the four tenets of Service-Orientated design now. There is a great...

# BizTalk Server 2004/2006 and Windows Workflow Foundation- found the answer at last 1/27/2006 7:15 AM Hussein Zahran
well, one of the questions were going into my mind in the past 2 weeks was what is the difference between...

# re: BizTalk Server 2004/2006 and Windows Workflow Foundation 2/15/2006 5:10 AM max
Office 12 has been delayed. It's still in beta

# re: BizTalk Server 2004/2006 and Windows Workflow Foundation 8/30/2006 2:58 AM Furqan
I would like to know if there is any comparison available between BTS 2006 and IBM Message broker v6.0

# re: BizTalk Server 2004/2006 and Windows Workflow Foundation 10/8/2006 7:26 PM Arun Vijayraghavan
Hi, That was an excellent comparison , but since this is just the begning of .NET 3.0 era, dont you think as and when .NET x.x is released it might almost have strong funtionalities, again cross platform capablities in WF can be acheived through WCF and since it sits on top of .NET 2.0 sooner or later it would have most of the Biztalk functionalities, what is your view on this

# Community Content for WF, WCF, and BizTalk Server 12/13/2006 7:38 PM BizTalk ChalkTalk
In addition to the content posted earlier , there is other great content from the community that showcases

# Some Biztalk and WF links 3/5/2007 1:48 PM Miguel Campos Blog
If you have some questions regarding BTS and WF and when to select one, the following may be useful:

Post Feedback

Title:
Name:
Email: (never displayed)
Url:
Comments: