[jboss-user] [jBPM] New message: "Re: Cleanup Process Engine"

Santanu Saraswati do-not-reply at jboss.com
Thu Jan 14 03:10:31 EST 2010


User development,

A new message was posted in the thread "Cleanup Process Engine":

http://community.jboss.org/message/519958#519958

Author  : Santanu Saraswati
Profile : http://community.jboss.org/people/saraswati.santanu

Message:
--------------------------------------------------------------
This is wrong. You should not be creating process engine multiple times. Create the process engine, then call getExecutionService, getTaskService etc to get the individual services. Then keep those services as singleton at some central place from where you can use them. You never need to close them under normal circumstances.
--------------------------------------------------------------

To reply to this message visit the message page: http://community.jboss.org/message/519958#519958




More information about the jboss-user mailing list