Ok. I managed to get my jBPM console working :-
1. It displays all deployed processes
2. It displays information about currently active processes including highlighting currently active nodes in process diagram.
Apprarently I didn't had to use any of jbpm-gwt-xxx stuff, as all the information could be retrieved fom knowledgeSession and KnowldegeBase, also I dont think it is efficient to join to BAM tables to find active processinfo, this is what current gwt console does.
Modules I used are jbpm-bpmn2 and jbpm-persistence-jpa, and my application is Spring based application with console written using Spring MVC.
Interesting.. Could you share any code example or Spring configuration files you have used?
I think that the persistence.xml files were included in the jbpm-bam module because it wasy the ... quickest and easiest (and most obvious) solution.
That's not to say that it was the best solution!!
I've been looking at this as well and wondering about what a better way would be to set this up: if you could, I would be really interested in hearing what would have been a better solution!
Thanks very much,