JBoss Community

Re: jBPM5 on AS7 - KnowledgeSession

created by Jim Dwyer in jBPM - View the full discussion

How do I connect to the KnowledgeBase created by jbpm-gwt-console-server.war?  This should be easy.  What am I missing.  I want access the KnowledgeBase from and EJB3 bean.  I want to use the jbpm API.  Has anybody done this?  What is the code?  

 

It seems like I want to do something like this:

 

  KnowledgeBase kbase = kbuilder.newKnowledgeBase(); 
  StatefulKnowledgeSession ksession = kbase.newStatefulKnowledgeSession();

 

but without creating a newKnowledgeBase.  I already have one.  How do I get the reference to the KnowledgeBase.

 

I am running jbpm-gwt-console-server in AS7.

 



Reply to this message by going to Community

Start a new discussion in jBPM at Community