Things to remember in creating jbpm with seam
This writing will reference the TODO example from seam: http://docs.jboss.org/seam/latest/reference/en-US/html/tutorial.html#registration-example Note that I used seam-gen to generate the project.
File you should have: +views +login.xhtml +todo.xhtml +resources +hibernate.cfg.xml +jbpm-seamsamples-ds.xml +jbpm.cfg.xml +src/process/processTodo +todo.jpdl.xml +todo.jpgYou can copy the contents of each file from seam, it's under the examples directory. Things to add in your project: 1.) In resources/component.xml:
2.) jbpm-seamsamples-ds.xml - contains the connection string to be use by jbpm
Which you would use for: hibernate.cfg.xml, note that @property@ values must be defined in build.properties.
SeamSamplesJbpmDS true false oracle.jdbc.xa.client.OracleXADataSource @JbpmDS.db.connection.url@ @JbpmDS.db.username@ @JbpmDS.db.password@ org.jboss.resource.adapter.jdbc.vendor.OracleExceptionSorter 10 jboss:service=TransactionManager
Things to remember in creating jbpm with seam Reviewed by Edward Legaspi on Wednesday, October 26, 2011 Rating: