[jboss-dev-forums] [Design of JBoss jBPM] - Re: Inheriting from ProcessDefinition

tom.baeyens@jboss.com do-not-reply at jboss.com
Fri Feb 16 04:12:46 EST 2007


If your current design is based on inheritence, adding the discriminator in the hibernate mappings is probably the simplest.  You'll have to do this for the BPEL mappings only as a modification to the jPDL mappings.  

But in the current jPDL design, using the ModuleDefinition is the most 'natural'.  This comes down to replacing inheritence (what you actually want) with inheritence.

If you would take this route, this is what you gotta know:

There is a configuration file that configures the default modules created when a process definition is created.  You could add a BpelModule.

But of course, the module definition approach was a bad design choice and it will be replaced by inheritence in jbpm 4.


does that answer all your questions ?

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

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



More information about the jboss-dev-forums mailing list