title: Lightweight workflow engine for Java
body: <p>Is it better to write a new workflow engine or to use an existing BPM engine: jBPM 5, Activiti 5?</p>
  
  <p>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.</p>
  
  <p>If I go with self implementation, I will miss visualization of workflow. For performance it can be traded.</p>