-
1. Re: Why the jBPM example webapp doesn't have process definat
cocampo Sep 28, 2006 1:42 PM (in response to yegaofei888)"yegaofei888@sohu.com" wrote:
I got the jBPM-3.1.2, and opened the example webapp package jbpm.war. But I didn't find the process defination file, I think it should has process defination file, such as processdefination.xml.
So I want to know how to control the busniess process of this webapp?
Thanks!
AFAIK, the webapp is NOT related to any process, its main purpose is to serve as GUI for other processes. So, you won't find any processdefinition for this webapp.
ATMOF, I don't know if you're gonna find such a thing ever, since it is not documented anywhere such kind of "deployment"; as you can see from the folder structure created when you create a process project with GPD, you can create classes (handlers, unit tests, etc.) and deploy them with your process, but I'm not sure if you can add web capabilities to this kind of project, and then deploy it like a regular war. Maybe (I'm trying this rite now) you can create a web app that is "aware" of your process, and interact with it.
Hope this helps,
Cut. -
2. Re: Why the jBPM example webapp doesn't have process definat
lampli Sep 28, 2006 8:56 PM (in response to yegaofei888)hi,
I think what you need should be in floder "XXX\jbpm-3.1.2\src\process.examples\websale.par"
regards,
lamp -
3. Re: Why the jBPM example webapp doesn't have process definat
yegaofei888 Sep 28, 2006 9:28 PM (in response to yegaofei888)Thanks, Let me try!
-
4. Re: Why the jBPM example webapp doesn't have process definat
cocampo Sep 29, 2006 11:32 AM (in response to yegaofei888)However, be aware that this process you're gonna see (websale.par) is NOT a process related to the web app, is just an EXAMPLE, but as you could see in the Getting Started Wiki, you can deploy OTHER processes and see them in the SAME WEB APP, so, I insist, the websale is just an example, and its execution DOES NOT depend on the webapp at all.
Greetings,
Cut. -
5. Re: Why the jBPM example webapp doesn't have process definat
prince2006 Sep 29, 2006 8:03 PM (in response to yegaofei888)My understanding is that org.jbpm.webapp.servlet.DeployServlet,
where an uploaded par will be parsed, and then it will load processdefinition.xml into a DB such as hypersonic,
is where you might want to check it out to know why you won't find the definition file in a war.