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:

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

    ReplyDelete
  2. 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

    ReplyDelete
  3. 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 |

    ReplyDelete
  4. 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

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

    ReplyDelete
  6. 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

    ReplyDelete