You can check the dvd-store on how to do that.
However the approach won't work if you have no process definition or page flow definition declared in your components.xml file.
The way is to right your own startup class that can initiate the jBPM engine.
Sorry I dont quite follow you there.
I have looked att the dvdstore example without any success.
I have this in my components.xml
It deploys and everything and I have a method annotated with @CreateProcess(definition="booking-system").
After I have called my annotated method I open a page similar to the process.xhtml in dvdstore to see if there are any processes but the list is empty.
So you're saying that your database is there, it's properly created but no process has been deployed right?
What version of JBoss Seam are you using?
Yes, most likely it is just me that dont understand how this works.
When I run a method with the annotation @CreateProcess, am I suppose to get something in the processInstanceList then?
I am using Seam 1.2.1
What is the "path" to the execution of the method annotated with @CreateProcess. Is the method being executed in the context of a Seam web application?