[jboss-dev-forums] [Design of JBoss jBPM] - Re: Refactoring access to JBPM database

rjoachim do-not-reply at jboss.com
Thu Jun 14 15:16:06 EDT 2007


I agrre with you that only JPA is a considerable target for another persistence provider integrated with JBPM. But even if I agree with you on that I need to implement support for another provider. What I intend to contribut is only the refactoring of JBPM to allow implementation of adaption layers to different persistence providers.

What I have in mind is to move all code that interacts with a persistence provider into the Session classes (e.g. GraphSession) in org.jbpm.db package. Having said that there are still some references to Hybernate classes that i do not have an idea yet how this could be achived (e.g. org.jbpm.persistence).

As a second step the Session classes could be converted to interfaces with Hybernate specific implementations. It still need to be discussed how that implementations are instantiated but propably a factory would be a good idea.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4054519#4054519

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4054519



More information about the jboss-dev-forums mailing list