No code, no truth. Online blog code, are quite fragments of. So, I want to find a ready-made demo experiment code. On GitHub ------------------------------------------------- Ecipse Configuring the GitHub process Idea: First, GitHub configures three ways to get repository: Svn,https, ssh. Once the GitHub plugin is installed on eclipse, the URL should be ready for use. Reference: How to import project source on GitHub from Eclipse : http://blog.csdn.net/hil2000/article/details/8566456 Eclipse Pl
Tags: blog http ar OS use java sp file divHttp://www.oschina.net/p/droolsDrools is an open source rules engine written in Java. It uses the Rete algorithm to evaluate the written rules. Drools allows declarative expression of business logic. You can use a non-XML local language to write rules for easy learning and understanding. In addition, Java code can be directly embedded into rule files, which makes Drools
Introduction: This paper introduces a typical business scene in the intelligent transportation system, and shows how to implement the dynamic management of the business rules through Drools BRMS.
Introduction
The Business Rules Management System (BRMS) is widely used in telecommunications, banking and government industries to support the editing, management, and deployment of business rules to adapt to rapid business change.
Business rules are like this (no real meaning, just do demo demo)If the total number of days of absence is equal to 3 days, general manager approval is required, otherwise the general manager approval is not requiredIf the time of absence is less than 3 days, the total number of days leave is equal to the number of days of leave +2Otherwise, the total number of days leave is equal to the number of times to leave +5The calculation logic of the total number of leave is given to
In general, when using drools in Eclipse, when the following error occurs, many online solutions are added to a org.eclipse.jdt.core_3.5.2.v_981_ R35x.jar package, in fact, is not, the following error is mainly the lack of Java dialect parsing class org.drools.rule.builder.dialect.java.JavaDialectConfiguration, using a drools plug-in packaged jar OK, p OM is:
Error exception information encountered:Exceptio
Little brother here to talk about his drools in combat in the end how to use the view:
First, if the rules are written by developers, such as programming DRL files, in this case, you can play the rules into a jar package, deployed to Workbench, or kie-server;
Second, if the rules are configurable, so that the business staff to configure, do not require the participation of developers, you can save the rules in the form of a string to the database;
Installation environment has, the following start to do the first example.
Create a new Drools project that will generate a Hello World example when you create it. I looked at this example and didn't look much. Find a more complicated example from the Internet. The concrete contents of the example go to see for themselves. The following is mainly about the problems encountered in doing this example.
Directory structure of the
When using Drools, the rules file contains the classes in the import jar package as follows:
Import Java.util.Map;Import Com.alibaba.fastjson.JSONObject;
Will error Java.lang.RuntimeException:wrong class format
Workaround: ORG.ECLIPSE.JDT jar package may not exist or have a low version
Can be added in the Maven Pom
Successfully resolvedAbout Jdt.core version reference: Http://mvnrepository.com/artifact/org.eclipse.jdt/org.eclipse.jdt.core
The first step:Download Drools Control jar PackageDownload Address: http://www.drools.org/download/download.htmlDownload the two zip in the image below
Step Two:Unzip the downloaded zip to the current directory.
Step Three:Droolsjbpm-tools-distribution-7.0.0.final\binaries\org.drools.updatesite\ Plugins copy all the jar packages in this directory into the plugins directory of your Eclipse installation directory
Fourth Step:Then go to eclipse and op
Drools a lot of information on the Internet, here for their contact understanding and practical application of the following summary,
Engineering introduced.Engineering Pom.xml, at least join
From the official website of the package, for example: Drools-distribution-6.5.0.final, from the binaries directory, the general need to manually introduce Third-party packages:
Ant-1.8.3.jar
Core-3.1.1.jar
Ecj-4.4.2.
Http://liureying.blog.163.com/blog/static/6151352011111810916588/?suggestedreading
Description: How Drools version 5.1.1 integrates with spring version 2.5.61.2. Add a drools-spring jar3.spring configuration File Declaration Knowledgebase Drools:kbaseId= "KBase" > drools:resources> Drools:resourceType= "DRL" source= "Classpath:com/demo/insert.drl"/> drools:resources>Drools:kbase> 4. Declare an interaction w
Preach Wisdom Blog Video tutorial Download summary |java video tutorial |net video tutorial |php video tutorial | Web video Tutorial
Preach Wisdom Blog Video tutorial Download summary |java video
functionality, they have different priorities. "" takes precedence over "| |", "" and "| |" Also takes precedence over ",". However, it is recommended that the "," delimiter be preferred, as it is more conducive to reading comprehension and engine optimization operations. At the same time, the comma delimiter cannot be mixed with other operators, such as:// Compile Error // Use this method instead of Person ((Age > weight >) | | height > 2)View CodeBinding variablesA property can be bound to a
JBPM6 installation and configuration tutorial
Because JBPM6 is the latest version! Therefore, you can set up one by yourself by reading some information on the Internet! Here are the installation and configuration steps!
1. download the latest version of Apache-ANT-1.9.3 from the apache official website.
Decompress (: http://ant.apache.org/bindownload.cgi) After download and configure the environment variable ANT_HOME = D: \ apache-ant-1.9.3 (system v
Link to the PHP object-oriented programming getting started tutorial, and the OOP Getting Started Tutorial. Link to the PHP object-oriented programming getting started tutorial, the OOP Getting Started Tutorial PHP official learning oop: php. netmanuzhoop5.intro. php the following link Source: blog.snsgou.compost-41.ht
Destoon Introductory Tutorial example, Destoon Getting Started tutorial
Release time: 2014-06-23 Editor: www.jbxue.comCollect some Destoon introductory tutorials, Destoon examples, suitable for beginners to learn destoon basic tutorials and tips for getting started. Destoon Introductory Tutorials and tips examples
are Destoon basic tutorials, DESTOON®B2B website Management system is a set of Php+mysql-bas
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.