which one is better architecture for the WF4.0?

Our team is going to design a workflow solution for the log running processes. We have to maintain persistence and tracking and versioning for workflow. Workflow server needs to execute multiple workflow. We are using wf4.0. We are finding the best architecture for the workflow server. Following points are consideration in our mind.

  1. Integration between WCF and wf and workflow stored in database. In this approach, Client call a wcf service that load a workflow xaml file from database and create object of WorkflowApplication with loaded workflow and execute this. In this approach only one endpoint exposed with the wcf service. Now wcf service responsibility to start a workflow using workflowapplication class.

  2. Inbuilt integration of workflow service with wcf. In which a workflow is developed with message activity and hosted with workflowservice host, client call directly by its endpoint.

Now I have to choose one approach from one of them. please suggest me to choose one or any other approach that is best suitable for log running workflow that also maintains persistence, tracking and versioning.

Answers


Exposing the worklfow using the WCF integration is by far the easiest way to go. You can manage everything yourself but for the most part all you are doing is duplicating code that has already been written for you. If you like a challenge and are paid by the hour fine but if you want to get things done the inbuild solution is far more productive.


Need Your Help

How to compute the nth root of a very big integer

python math nth-root

I need a way to compute the nth root of a long integer in Python.

Text replacement from a string in php

php arrays regex string replace

How do I replace the square bracket and its contents in php.