Things to remember in creating jbpm with seam
Tech-Today

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.




- How To Monitor The Data Source Connections And Sql Queries In Jboss
To allow us to debug our jboss server for possible connection leaks, wrong sql queries normally we do 2 changes: 1.) In persistence.xml, set hibernate.show_sql to true 2.) In jboss's standalone.xml, we set the hibernate logger to DEBUG <logger...

- My Todo List Iphone Application Development Using Xcode
This tutorial will create a Todo list iphone application using xcode. This is the same tutorial in the apple's website I've specified in the reference link below. Note that this tutorial is not for beginner, basically I'll just summarized...

- How To Setup Seam3-security In Jboss 7
Recently, I've done some research on several Java Security Framework that can perform authentication, authorization and cryptography. I've worked with Apache Shiro, it's really good and complete but I've found several problems like there's...

- Jdbc Provider Setting In Java For Postgresql, Mysql And Oracle
Below are the summary of connection settings for differenct jdbc provider: Database Connection Url Driver Class Hibernate Dialect Cache Provider Class PostgreSQL jdbc:postgresql://[host]:[port]/[db] org.postgresql.Driver org.hibernate.dialect.PostgreSQLDialect...

- Create A New Seam Web Project In Eclipse-helios
In this exercise we will be building seam web project in eclipse. It's long so stay focus :-D. What you need (The following should be installed correctly): Note: in parentheses is where I installed mine. 1.) Jboss seam 2.2.1 (C:\jboss-seam-2.2.1)...



Tech-Today








.