I have web-application, build with using Spring and used jBPM 4.3
In process definitions I'm activelly using Spring beans for different handlers - hopefully jBPM 4.x has very good integration with Spring.
Now, by some reasons, I want to move jBPM engine into service in JBossAS 5.1 (jBPM allowed to do it), get process engine from JNDI and use it from my application.
Question is - in this case - are there any way to access from process definition, deployed into jBPM process engine, installed as separate service spring beans defined in my web-application?
Has anybody expereince to setup such configuration?
I have not worked with jBPM before, but the spring deployer may help. Try looking at http://community.jboss.org/wiki/JBossSpringIntegration followed by http://community.jboss.org/wiki/AnexperiencewithIntegratingSpringandJboss. You may need to define your spring beans in a separate configuration though, or have a global spring context.