OSWorkflow provides several implementations of the com.opensymphony.workflow.Workflow interface that can be used in your application. BasicWorkflowThe BasicWorkflow has no transactional support, though depending upon your persistence implementation, transactional support can be wrapped around this. It is created by doing Workflow wf = new BasicWorkflow(username)
EJBWorkflowThe EJB workflow uses the EJB container to manage transactions. This is configured in ejb-jar.xml. It is created by doing Workflow wf = new EJBWorkflow()
OfbizWorkflowThe OfbizWorkflow is exactly like the BasicWorkflow in every way, except that methods that require transactional support are wrapped with ofbiz TransactionUtil calls. |