Unfortunately I could not find examples with explanation that show how such an engine can be built with jBPM.
Examples of what you describe unfortunately not (yet?) but what you describe is exactely what jBPM is inteded for.
I need to know how to integrate with threads, how to restore after crashes, how to create a robust application.
The engine itself is robust. Just make sure us use a database for persistency and recovery after e.g. a db crash is restoring the db then. Or did you have anything other in mind
How to use all the features needed for what I just described and yes... in a step by step way and with examples.
it mostly is in examples, testcases etc. Your question is so generic and wide that it is difficult to give a specific answer.
I know I am asking for a lot, but this is what I would like to have.
We to ;-) Care to provide such a complete and extensive example?
Does anyone have/know of such examples? Is jBMP the right tool for the job?
Yes, jBPM is definately the right tool for the job, you did not mention exotic functionality that is not in jBPM. Again, if you encounter real issues when trying to use jBPM and you could break your issues down into smaller parts, we'd be happy to help out.
And also, there are at least dozens of process definitions and thousands of process instances running simultaneously in the first phase of the project.
It will grow into at least tens of thousands of processes running simultaneously and much more complex process definitions.
Do you think jBPM could handle this?
Yes, we are convinced that jBPM can handle this. A running process, if do doing any action, does not take up any resources besides database space.
Thanks for your reply.
I will try to break down our requirement to several well defined usecases and put them forward.
If you, other memeber of the forum or the jboss comunity/organization are willing to help us starting up with jBPM, my company is more then willing to give back to the comutiny and contibute these set of usecases and docs that will set as more advanced examples for the benefit of us all.
What is your opinion about it?