Hi Sean, I think I answered some of your questions in other threads so I will pick up your 'rant' (your expression) on jBPM.
1. Persistence: jBPM persists state. From your prior questions I understand that you have a somewhat different notion of transactional integrity. The way jBPM / Hibernate does it is the way it is supposed to be. There is absolutely NO neccessity to persist state after every node. Repeating what I already stated: jBPM executes and commits all synch actions in a single transaction. This MUST be exactly this way or else you could not bundle more then one action in a transaction and more important, you could not rollback previous actions. If you want to break up the transactions used wait states. 2. Concurrency / parallel processing: jBPM is a state machine that implements concurrency on a business process layer. It does not manage Threads, it should not manage Threads and in an J2EE App Server it is not allowed to manage Threads. That also is the way it is supposed to be. jBPM could not be used in J2EE App servers if it started spawning Threads. (At least Websphere would actively prevent this.) In other words: were jBPM to implement your views of a BPM machine it would be utterly useless to any serious use in an J2EE app server. It really depends on what you want. There are BPMs out there that 'automagically' do all kinds of things and you don't have to think about the internals. The payoff is missing control. jBPM gives me control (well, sort of :-) but forces me to formulate and implement exactly what I want. I'm not sure you really have a problem. Check the scope of your transactions, then maybe you don't have the need to persist (better commit) state all the time. And if you're in a non managed environment implementing a Timer that executes nodes in a own Thread shouldn't be that much of a problem. I'm kind of in the same situation as you are on this one. See http://www.jboss.com/index.html?module=bb&op=viewtopic&t=73234 Greetings Rainer View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3911247#3911247 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3911247 ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ JBoss-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-user
