
Using the LR-Workflow Portlet with SAW-WEB
LR-Workflow Portlet can now be used with saw-web.
The saw-api.jar is also available in the app server classpath (lib/ext in tomcat and domains/domain1/lib in Glassfish).
The advantage of using SAW is that, you could change to a different workflow engine with mininal code changes.
For more on SAW, see here.
saw-web is available along with the LR-plugins ie \liferay-plugins\trunk\webs\saw-web.
saw-web currently supports jbpm-3.1.2.
Modify hibernate.cfg.xml in , saw-web\docroot\WEB-INF\lib\saw-impl-jbpm.jar, to select the right dialect and the hibernate parameters.
Deploy saw-web using the "ant" target.
If the jbpm tables are not created in the "lportal" DB, they would be created.
Deploying the Workflow Portlet
Set use.saw=true in workflow-portlet\docroot\WEB-INF\src\portlet.properties.
The saw-web-service.jar is added to the workflow-portlet\WEB-INF\lib.
The workflow-portlet talks to the saw-web using the ClassLoaderProxy.