creating a simple rule engine in java
问题 I am exploring different ways to create a simple business rule engine in Java. I need to present the client with a simple webapp that lets him configure a bunch of rules. A sample of rule base might look like this : Here's example: IF (PATIENT_TYPE = "A" AND ADMISSION_TYPE="O") SEND TO OUTPATIENT ELSE IF PATIENT_TYPE = "B" SEND TO INPATIENT The rule engine is pretty simple, the final action could be just one of two actions, sending to inpatient or outpatient. The operators involved in an