Production environment means different things for different people in different context. Are you worried by the database? We use JPA which generates an schema that depending the underlaying database your DBAs can tune, customize and optimize accordinly the use cases that you are trying to cover, so don't expect to find a detailed list of instructions for every database that exist. You should look at what is being generated by JPA and then decide which your DBAs depending on your use case how to tune it, there is no single way of doing that.
Sorry, I made a bad question. What I meant is I'm having a hard time to find clear documentation on how to configure the jbpm-persistence-jpa (version 5.2.0-Final) to run embeded in an application I'm starting to write and want to deploy in a webserver. I don't know things such as:
- Do I need to configure drools-persistence AND jbpm-persistence?
- Is there a "jpm-persistence-hibernate" (I mean, no JPA) module? Is there a configuration for it?
- What files do I need to produce to get the persistence configured? Where should I put each of these files? Must they have a specific name? Where do I find good examples of such configuration files?
- What parameters the jbpm-persistence-jpa accepts as valid? What are their possible values?
- Same as (4) but to drools-persistence-jpa.
The manual mentions a JBPMHelper that's useful to run test cases, but I feel it is not clear on what configurations should be used on a web application, as I mentioned.
1 of 1 people found this helpful
I would recommend you to start easy using Bitronix transaction manager. Set it up to run in Tomcat as per http://docs.codehaus.org/display/BTM/Tomcat2x and fill gaps with http://www.plugtree.com/jbpm-5-1-in-tomcat-6/ The last one talks about the JBPM Console but it is pretty much what you have to do for your own web application.
Thank you, J Xmith for those references. I'll try them and see what happens.
Although I'm not using Tomcat, these links are something to start with.