I didn't find anything in the wiki pages nor in this forum.
Did you search?
Did you search?
Of course I did!
I found moderator's telling to have a look at the Testcases and a the starter kit. But this doesn't answer my question.
The stuff given in the starter kit is fine but for people running webapps.
I 'm not such a guy that doesn't look what was said before ! So If you don't want to help just do not anwser.
I'm a newbie in Jboss and jbpm :
Does anyone have an example on how to access to the Jbpm engine not beeing in a webapp. The Junit test cases given in the starter kit look fine but they do not access to a procress deployed on jboss.
Futhermore, How can I deploy a Jbpm process in Jboss ?
I didn't find anything in the wiki pages nor in this forum...
First off, instructions for deploying a Jbpm process are readily available. See this thread http://www.jboss.com/index.html?module=bb&op=viewtopic&t=85420 that I recently replied to.
The process itself does not get "deployed to jboss". You deploy it to the jBPM engine, wherever that might be (jBoss, WebSphere, straight java application).
The JUnit test cases do this, but perhaps not all in one. Look at the ProcessArchiveDeploymentDbTest, which shows how to programatically deploy a .par file. Then you can apply that technique and modify other test cases to use the recently deployed process.
Thanks for answer: in fact I'd seen your post but I didn't realise that you explain there was no way to acces to a process through jmx
so to have a centralized acces to a process I have to write my own Mbean or to provide a service via an ejb?
Well, since you were going to be using jBPM without a webapp, I assumed you were not going to be running inside of any application server.
What exactly is it that you want to do? Then we'll have a better understanding for how to help.
Do you want a standalone desktop Java application to do everything? Do you want that app to access a 'jBPM server'? etc?
I want to write a java application (swing) that accesses a centralized bmp engine.
Actually we already have a complete business calculator written in java using ejb. And we want to add some process logic to it.
So the bpm engine will have different software an human actors to manage.
My Idea was to hav a ejb or jmx service that could instancite and run business processes .
Perhaps you could collaborate with the other person requesting a MBean to work on one together, and then contribute that to the project? :)
Why not , I'll get in touch with him