I'm not sure if this is exactly what you are looking for but I have a simple web app which runs a JBPM process attached here: https://community.jboss.org/thread/217311?tstart=0
It depends on having jboss and jbpm installed via the jbpm-installer and having the process deployed to Guvnor.
Thanks for the reply doboss. I have been able to create a web application. I can start processes, list tasks and details, complete and reassign tasks. What I am looking for now is to list processes.
To get task related details I use a TaskClient and make connection as follows :
TaskClient client =new TaskClient((TaskClientConnector) new HornetQTaskClientConnector(name, new HornetQTaskClientHandler(SystemEventListenerFactory.getSystemEventListener())));
System.out.println("Connection Output : "+result);
BlockingTaskOperationResponseHandler responseHandler =new BlockingTaskOperationResponseHandler();
Now, how do i achieve the same thing to get all the process related details. Is there a similar client for processes?
Well it sounds like you are a lot farther along than I am. I still have not figured out how to get persistence of the JBPM stuff in my web app. At some point down the road I will likely need to figure out tasking as well, but haven't started to look at that yet.
Keep up the good work!
Once I am through with the process part, I will post my web application in blog. You can check it out then.