in jbpm user guide , mention can deploy the delegate classes to jbpm database
at 18.2.2. The process class loader
Delegation classes are loaded with the process class loader of their respective
process definition. The process class loader is a class loader that has the
jBPM classloader as a parent. The process class loader adds all the classes of
one particular process definition. You can add classes to a process definition
by putting them in the /classes folder in the process archive. Note that this
is only useful when you want to version the classes that you add to the process
definition. If versioning is not necessary, it is much more efficient to make
the classes available to the jBPM class loader.
If the resource name doesn't start with a slash, resources are also loaded from
the /classes directory in the process archive. If you want to load resources
outside of the classes directory, start with a double slash ( // ). For example
to load resource data.xml wich is located next to the processdefinition.xml on
the root of the process archive file, you can do
clazz.getResource("//data.xml") or
classLoader.getResourceAsStream("//data.xml") or any of those variants.
which table used for storing the classes. thx.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4115445#4115445
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4115445
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user