I would like to have 2 web applications (on the same jboss server) sharing the same bpm.
(i.e. sharing the same processdefinition, process instance taskinstance ...)
This would allow one of the application to see the processes instantiated in the other web
application.
to try this I have done the following but I am not sure if it is the right way to do.
I have use the seam todo example. I have package and deploy it to a jboss server.
I have modify the seam todo exemple (application.xml and build.xml files) to rename the
jar, war, ear as jboss-seam-todo2 instead of jboss-seam-todo. also, the context root has
been modify to seam-todo2. I have package and deploy it to the same jboss server.
both applications are connected to the same database.
both applications are working fine. As I wanted, they can both see the process
instantiated by the other web application.
However, according to what I understand, both application have its own jbpm engine but
share the same database. If it is the case, that is most probably not the way to share bpm
among multiple web application.
One point that surprise me is that according to my understanding, jbpm use hibernate that
has cashing. For this reason, I have been surprise to see that both web application see
the same list of process. I would not have expect this to work since according to my
understanding the way I share bpm is at database level only.
Is there somebody that can tell me if the way I am sharing bpm among multiple web
applications on the same web server is correct or not?
If not how do you propose to do it?
An Phong Do
solabs.com
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4115019#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...