Sunday, January 5, 2014

Is it better to write a new workflow engine (or) to go with existing BPM engines like jBPM 5, Activiti 5?
My application is a web based application and performance is important. My doubt is whether using jBPM/Activiti will be a performance overhead compared to writing a simple workflow engine.
If I go with self implementation, I will miss visualization of workflow. For performance it can be traded.
share|improve this question
add comment

3 Answers

This really depends on your requirements. First, see if you really need a workflow engine (this or other sources). Unless you really need it, probably you should avoid it.
If you really need what provides a workflow engine, I would pick one that is already built. People who works with jbpm or activiti have much more experience than you in building workflow engines, so it is probably already tunned to improve performance.
share|improve this answer
add comment
I agree with the guys that already posted responses here, or part of their responses anyway :P, but as here in the company where I am currently working we had a similar challenge I took the liberty of adding my opinion, based on our experience.
We needed to migrate an application that was using the jBPM workflow engine in a production related applications and as their where quite a few challenges in maintaining the application we decided to see if there are better options on the market. We came to the list already mentioned:
  • Activiti (planned to try it through a prototype)
  • Bonita (planned to try it through a prototype)
  • jBPM (disqualified due to past experience)
We decided not to use jBPM anymore as our initial experience with it was not the best, besides this the backwards compatibility was broken with every new version that was released.
Finally the solution that we used, was to develop a lightweight workflow engine, based on annotations having activities and processes as abstractions. It was more or less a state machine that did it's job.
Another point that is worth mentioning when discussing about workflow engine is the fact they are dependent on the backing DB - it was the case with the two workflow engines I have experience with (SAG webMethods and jPBM) - and from my experience that was a little bit of an overhead especially during migrations between versions.
So, I would say that using an workflow engine is entitled only for applications that would really benefit from it and where most of the workflow of the applications is spinning around the workflow itself otherwise there are better tools for the job:
  • wizards (Spring Web Flow)
  • self built state machines
Hope this helps.
share|improve this answer
add comment


Zheng junxai5 said...

juicy couture
supra for sale
vans sneakers
timberland boots
fitflop shoes
burberry outlet
louboutin shoes
fitflop clearance
nike trainers sale
polo ralph lauren outlet
ralph lauren
fitflop shoes
longchamp outlet
toms shoes outlet online
jordan 11
replica rolex watches
coach outlet
ray ban sunglasses
michael kors outlet clearance
coach outlet
giuseppe zanotti outlet
michael kors outlet clearance
jordan shoes
cheap air jordans
michael kors outlet online
oakley vault
ralph lauren outlet
christian louboutin shoes
air force 1 trainers
ed hardy outlet
retro jordans 13
gucci outlet online
air jordan 8
louis vuitton bags
louis vuitton handbags
asics running shoes
replica rolex watches
louis vuitton outlet
coach outlet
coach factory outlet

raybanoutlet001 said...

links of london sale
cheap uggs
discount sunglasses
cheap nfl jerseys
true religion sale
michael kors handbags
tiffany jewellery
ralph lauren polo shirts
nike dunks
tiffany online
oakley store online
oakley sunglasses,oakley outlet sunglasses
cheap real jordans
adidas nmd
ray ban uk,cheap ray ban sunglasses
nike zoom
ray ban sunglasses
kobe byrant shoes

Obat ISPA Paling Ampuh said...

This article is interesting and useful. Thank you for sharing. And let me share an article about health that God willing will be very useful. Thank you :)

Obat Penghancur Benjolan di Leher
Cara Mengobati Panu
Obat Tradisional Benjolan di Pangkal Paha/Selangkangan
Penyebab Sering Nyeri Ulu Hati
Cara Mengobati Lipoma secara Alami
Biaya dan Efek Samping Operasi Kista Bartholin