Monthly Archives: August 2017

Core Engine :: KieBase :: KnowledgeBuilder-ResourceType Example

  Download: Three examples of using with KnowledgeBuilder class: ResourceType.BPMN2 ResourceType.DRL ResourceType.DTABLE Structure of the project: ResourceType.BPMN2: public class AppBpmn2 { public static final void main(String[] args) throws Exception { KnowledgeBuilder kbuilder = KnowledgeBuilderFactory.newKnowledgeBuilder(); kbuilder.add(ResourceFactory.newClassPathResource(“process/script.bpmn2”), ResourceType.BPMN2); KieBase kbase … Continue reading

Posted in Core Engine, jBPM, KieBase | Leave a comment

Core Engine :: KieBase :: KnowledgeBuilder

  org.kie.internal.builder.KnowledgeBuilder The KnowledgeBuilder is responsible for taking source files, such as a .drl file, a .bpmn2 file or an .xls file, and turning them into a KnowledgePackage of rule and process definitions which a KnowledgeBase can consume. It uses … Continue reading

Posted in KieBase | Leave a comment

Core Engine :: Overview

  The quote taken from: The Core Engine introduces the API you need to load processes and execute them. To interact with the process engine (for example, to start a process), you need to set up a session. This … Continue reading

Posted in Core Engine, jBPM | Leave a comment

Auxiliary Tools :: Hibernate CDI Standalone Example

  Based on with my changes and extensions: project structure, multiple entity producer, injectable logger… Environment: Weld 2.3.3.Final, J2SE 8, Hibernate 5.1.8.Final, h2-1.4.196. Project structure:   Creating an Injectable Entity Manager Using the @PersistentContext Annotation The most painless way, … Continue reading

Posted in Contexts and Dependency Injection (CDI) | Leave a comment

Auxiliary Tools :: Introduction to Contexts and Dependency Injection (CDI) – Part II – Producers

  in progress Producer Method A producer method is a method that acts as a source of bean instances. When no instance exists in the specified context, the method declaration itself describes the bean, and the container invokes the method … Continue reading

Posted in Auxiliary Tools, Contexts and Dependency Injection (CDI) | Leave a comment