[JBoss jBPM] - Re: question about JobExecutor and Threads
by lblaauw
Yup,
This suprised me a bit too.... yeah we have a very large amount of jbpm ejb timers that basically just sit there and expire every 6 weeks to three
months...
Still not really sure what route to take though allthough I suppose considering my long timeout value(weeks till months) the scheduler servlet, albeit single threaded should be ok for this usecase...
Greetz
Leo
"kukeltje" wrote : Just to be sure....
| - I create 150 processes with 10 second intervals
| - Each has a ejb based timer that will go off after (150*10)+100 seconds
| - I end up with 150 threads each 'monitoring' one timer????
|
| Hmmm.... a search on the internet showed that IBM is limiting this and indeed JBoss is not yet
|
| Hmm.... this should be documented in the jBPM docs somewhere I think, since it is not real 'enterprisy'
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4189295#4189295
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4189295
17 years, 4 months
[JBoss jBPM] - Re: fork and join childeren
by tbeernot
"kukeltje" wrote : anonymous wrote : But before I can assert something, I need to see it first... Are there really two tokens? Yes... Ok, assert.
|
| I disagree. You can assert ANYTHING, e.g. assert that you expect one token. The test fails because there are more tokens. Assert that the token is in a certain state: it succeeds or fails and the real value is always printed.... I initially did it as you mention, but starting with assertions is way easier and more understandable for others if something goes wrong.
I do not understand the problem. In order to assert something I first need to check if my idea of what is suppose to happen is correct. There will be no others that ever see the println statements, because they will be remove immediately after it turns out I get it. I use the unittest to build my understanding of, in this case, jbpm, and at the same time create behavioral checks.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4189284#4189284
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4189284
17 years, 4 months