no

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-ex...

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.

Related

java 6629698018603850439

Post a Comment

item