Red Hat JBoss BRMS 5.xrule assets (archived in a jar) could be loaded from the classpath of an application (like
KnowledgeBuilderas shown below.
KnowledgeBuilder kBuilder = KnowledgeBuilderFactory.newKnowledgeBuilder(); kBuilder.add(ResourceFactory.newClassPathResource("sample.drl"),ResourceType.DRL); KnowledgeBase kBase = KnowledgeBaseFactory.newKnowledgeBase(); kBase.addKnowledgePackages( kBuilder.getKnowledgePackages()); ...
Are there similar ways to do the same in
Red Hat JBoss BRMS 6.x as well, where rules can be programmatically loaded from a
Kie jar lying in the classpath of an application like
- Will it work in an environment of
Websphere Application Server 8.5.xas well where the
WARcontaining the code and the rule jar (i.e. a
Kie jarbuilt in
Business Central) is in exploded form ?
- Red Hat JBoss BRMS (BRMS)
- Websphere Application Server (WAS)
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.