Julio Faerman [
http://community.jboss.org/people/jmfaerman] created the discussion
"Instantiating the KnowledgeBase"
To view the discussion, visit:
http://community.jboss.org/message/591053#591053
--------------------------------------------------------------
The samples/docs instantiates the KnowledgeBase hard-coding the proccess definitions,
like:
{code}
KnowledgeBuilder kbuilder = KnowledgeBuilderFactory.newKnowledgeBuilder();
kbuilder.add(ResourceFactory.newClassPathResource("Evaluation.bpmn"),
ResourceType.BPMN2);
{code}
I am thinking that this approach is not usable for real applications, when new process are
deployed in runtime.
Is it possible to instantiate a KnowledgeBuilder that searches Guvnor for process
definitions on-demand?
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/591053#591053]
Start a new discussion in jBPM at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]