[jBPM] - jBPM 5 Loop Type support?
by byungwoojun
byungwoojun [http://community.jboss.org/people/byungwoojun] created the discussion
"jBPM 5 Loop Type support?"
To view the discussion, visit: http://community.jboss.org/message/589366#589366
--------------------------------------------------------------
1) Subprocess Loop Type:
According to the jBPM 5 user guide and some jBPM 5 blogs, the "looping back" seems to be supported from the subprocess (and multi instance). However, from the Eclipse BPMN2 Process editor (which came with the jBPM 5 installation), I couldn't find any subprocess property field for the subprocess looping. How do I set the subprocess loop type from the Eclipse BPMN2 Process editor?
The Oryx-based designer integrated with Guvnor has the subprocess loop type, but this designer does NOT allow me to "save" any process defintion with the subprocess (does NOT support the subprocess enum yet),as I reported earlier.
So, I cannot use either BPMN 2 designer to define the looping subprocess. Does anyone have a suggestion for this? Any help will be appreciated.
2) Process Loop back:
For putting the loop back in a process, one blog suggested using a converging parallel gateway and a diverging gateway as follows:
http://community.jboss.org/servlet/JiveServlet/showImage/2-589366-11474/l... http://community.jboss.org/servlet/JiveServlet/downloadImage/2-589366-114...
But, the "Hello Again" acitivity was never executed. It seems to me that the converging parellel gatway <+> is waiting for the "Hello Back" before it goes to the "Hello Again" activity. It is possible my configuration is incorrect. If the process loop back is possible, how do I do it?
Thanks,
bwj
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/589366#589366]
Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
13 years, 9 months
[Beginner's Corner] - POJO Service in an ear to provide lifecycle hooks?
by Tim Haley
Tim Haley [http://community.jboss.org/people/ymaraner] created the discussion
"POJO Service in an ear to provide lifecycle hooks?"
To view the discussion, visit: http://community.jboss.org/message/590372#590372
--------------------------------------------------------------
I have an enterprise application that currently deploys and runs on WebSphere and Weblogic that I would like to port to JBoss. When the application is started, there is some initialization code that needs to be run. When the application is stopped, there is some cleanup code that needs to be run. I am trying to determine the proper way to do this in JBoss 5. On another thread, I read that a Service MBean could provide that functionality. Can I simply annotate an EJB 3.0 stateful session bean with @Service to make it a singleton, @Management to make it an MBean, implement the management lifecycle methods and package the bean inside my ear file? The documentation says that the lifecycle methods are for the lifecycle of the bean, will my bean have the same lifecycle as my application? How can I ensure that it does? I would appreciate any help you can provide, including pointing me to the right place in the documentation.
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/590372#590372]
Start a new discussion in Beginner's Corner at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
13 years, 9 months