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.

0 Attachments
10094 Views
Average (0 Votes)
The average rating is 0.0 stars out of 5.
Comments
Threaded Replies Author Date
Congrats to your Wiki, very helpfull! One... Lucas Roberto Thomaz September 29, 2009 7:27 AM

Congrats to your Wiki, very helpfull!
One dought, how can i do that:

Modify hibernate.cfg.xml in , saw-web\docroot\WEB-INF\lib\saw-impl-jbpm.jar, to select the right dialect and the hibernate parameters.

How can i modify this arquive?
Posted on 9/29/09 7:27 AM.