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.
Thanks.
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

11 comments:

raybanoutlet001 said...

links of london sale
cheap uggs
discount sunglasses
cheap nfl jerseys
true religion sale
michael kors handbags
http://www.raybanglasses.in.net
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

cara mengatasi kebas dan kesemuatan said...

I can only express a word of thanks, nothing else. Because with the content on this blog I can add knowledge Thank you very much has been sharing this information. Do not forget to visit our website to share information and knowledge about health.
cara pemesanan herbal Qnc Jelly Gamat
cara mengobati kesrek
khasiat green coffee
khasiat walatra propolis
Cara Menaikan trombosit

zzyytt said...

kobe shoes
balenciaga
asics kayno
adidas shoes
kobe 9
yeezy boost
red bottom shoes
fake rolex watches
longchamp handbags
nike air max

Unknown said...

I can only express a word of thanks. Because with the content on this blog I can add knowledge I, thank has been sharing this information. Do not forget to visit our website to share information and knowledge about health.
cara mengobati tumor rahang
vitamin penambah nafsu makan anak
cara menghilangkan panu di wajah
Hopefully, sustenance will be easy and simplified in all matters :-)
OBAT KLIYENGAN ALAMI
Cara Menghilangkan Lemak Di Perut
obat penyakit varikorel

Jelly Gamat Herbal said...

I can only express a word of thanks. Because with the content on this blog I can add knowledge I, thank has been sharing this information. Do not forget to visit our website to share information and knowledge about health.|
cara Mengobati Benjolan Di Kelopak mata |
Obat sakit tumit di apotik |

Riko JR said...

I can only say thank you, for sharing information about health. Don't forget to visit our page. Thank you |
Obat luka memar | paling ampuh
cara pesan QnC Jelly Gamat | proses cepat
obat bekas operasi caesar 100% Ampuh dan manjur
Obat Step paling ampuh | 100% manjur
obat benjola di pipi | 100% Alami dan ampuh
obat infeksi salurran kencing | yang ampuh

Riko JR said...

Good information. i like this srticle. This is the best blog.. Good luck..!!
obat mata juling
obat cantengan bernanah
manfaat jeruk lemon
obat bell's palsy

Riko JR said...

Thank you for sharing a good and interesting article ...
I hope the new posts will increase and can be a very good reference.
Hopefully more success thank you very much..
Cara Mengobati Kejang Demam Pada Anak
cara mudah memesan QnC Jelly Gamat
Obat Jantung Berdebar Dan Sesak Nafas
Obat Batuk Rejan Paling Ampuh
Obat Kelenjar Getah Bening Di Apotik
Cara Mengobati Kelenjar Ludah Bengkak

Riko JR said...


Hopefully, sustenance will be easy and simplified in all matters |
Solusi Pengobatan Alami |
obat herbal benjolan di ketiak
Obat Alergi Kaligata via vallen
Obat Penghilang Singkayo |
Cara Mengeluarkan Dahak Membandel

Riko JR said...

Your blog site is very nice and interesting, Maybe we can often deal with health issues here. Thank you
obat jantung bocor

Riko JR said...

I can only express a word of thanks. Because with the content on this blog I can add knowledge I, thank has been sharing this information. Do not forget to visit our website to share information and knowledge about health.
Obat batu empedu
obat kista bartholin
Kode Sapnudin