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.jpg
You 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:

  
    /processTodo/todo.jpdl.xml
  

2.) jbpm-seamsamples-ds.xml - contains the connection string to be use by jbpm


     
        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 
         
    

Which you would use for: hibernate.cfg.xml, note that @property@ values must be defined in build.properties.
Things to remember in creating jbpm with seam Things to remember in creating jbpm with seam Reviewed by Edward Legaspi on Wednesday, October 26, 2011 Rating: 5

No comments:

Powered by Blogger.