ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » Workflow Engines - IBM MQ Workflow & Business Process Choreographer » Workflow? Why not using session bean?

Post new topic  Reply to topic
 Workflow? Why not using session bean? « View previous topic :: View next topic » 
Author Message
pauillac
PostPosted: Wed Dec 18, 2002 5:15 am    Post subject: Workflow? Why not using session bean? Reply with quote

Novice

Joined: 13 Jul 2001
Posts: 21

We are evaluating the adoption of workflow engine to serve as a glue layer to chain together well tested reusable Java objects or EJB's to form various business processes. However, we find it difficult to justify the benefit of using this technology because we can achieve the same end using servlet or session bean facade.

Another approach is we can roll our own version of workflow engine using a database table storing business rules, XML or otherwise and using a custom rule engine to parse the rules for firing the reusable Java objects or EJB's.

Apart from the advantage of visualising/externalising the business rules/workflow, we can't see any benefit.

Can anyone tell me what other advantages of using workflow engine instead of using the session facade or database approach?

Back to top
View user's profile Send private message
Ratan
PostPosted: Wed Dec 18, 2002 10:02 am    Post subject: Reply with quote

Grand Master

Joined: 18 Jul 2002
Posts: 1245

This is a real interesting question. And I think it is very difficult to give a definite answer, please add in the points you felt were most important to you before making the decision. Lets add Pros and Cons.


If you think the activites within your processes never change and there will never be a necessity to add additional activities on-the-fly, then may be your session facade is a good choice.

If your Processes need human interaction, then workflow is a good choice.

.......


-Laze
Back to top
View user's profile Send private message Send e-mail
djharte
PostPosted: Thu Dec 19, 2002 7:22 am    Post subject: Reply with quote

Apprentice

Joined: 02 Oct 2002
Posts: 26

With the Session Facade or any Java solution, you could add activities on the fly. Using decent dynamic design principals, all you would have to do is add the class and update the dB.
However, I am unsure of how you would go about calling command line programs or writing to files if you are looking for an EJB solution, that is, if you intend to adhere to the J2EE spec.

Any other thoughts ?
Back to top
View user's profile Send private message
educos
PostPosted: Thu Jan 02, 2003 10:00 am    Post subject: Reply with quote

Apprentice

Joined: 18 Jul 2001
Posts: 34
Location: Salt Lake City, UT

If all you want is to call various Java business objects in a sequence and manner that is configurable (which is called "workflow" by many), then modeling that interaction as an MQSeries Workflow process is likely total overkill - and that would be an understatement . Meaning, you could do it, and it would indeed be a flexible solution, but the processing cost of doing so as a process model rather than a flexible implementation pattern (as the ones discussed/hinted at in the previous replies) will have you run the other way.

While MQSeries Workflow is an extremely decent workflow (and Straight-Through-Processing) engine, the type of interactions I think you are describing don't seem to be a very good match for what the MQWF product has to offer.
_________________
Eric Ducos

EmeriCon, LLC.
Phone: (801) 789-4348
e-Mail: Eric.Ducos@EmeriCon.com
Website: www.EmeriCon.com
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » Workflow Engines - IBM MQ Workflow & Business Process Choreographer » Workflow? Why not using session bean?
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.