We are working on documentation and more sources of information like a jBPM5 book, but it's all work in progress.. I would like to help you to understand how components interacts in the mean time.
If you take a look at the MinaTaskServer, I think that will be easier for you to understand because it's a plain socket communication based on messages.
The HornetQTaskServer works in the same way but adding all the advantages of using a JMS client/server. You will get message retrying, message reliability and Queues clustering for free. Depending on your requirements you can choose the Mina Server or the HornetQServer, or you can implement your own transport to fulfill your requirements.
I will be glad to help you and I'm also will start writing some post about those topics with examples. Thanks for the feedback and if you have doubts or if you find issues let us know!
Thanks for that. I rather like the idea of the JMS queue for this having designed and built a jms based system hosted in jboss some years ago. I've looked at the Mina stuff and it is back down to the old TCP socket programming I was hoping to avoid :-)
I'll create a more general topic for a question on architecture/integration.
Hehe.. totally Agree.. Mina was choosen as a reference implementation. Mina is fast, support multiple clients and it's messages are pretty small.
I will be waiting for the other topic.