Download drools cookbook Free Java Code

Description

Examples from the book drools developer cookbook.

Source Files

The download file drools_cookbook-master.zip has the following entries.


.gitignore//  www  .j a v a 2s .  com
Chapter 01/calendar-based-rules/pom.xml
Chapter 01/calendar-based-rules/src/main/java/drools/cookbook/chapter01/Server.java
Chapter 01/calendar-based-rules/src/main/java/drools/cookbook/chapter01/Virtualization.java
Chapter 01/calendar-based-rules/src/main/java/drools/cookbook/chapter01/VirtualizationRequest.java
Chapter 01/calendar-based-rules/src/test/java/drools/cookbook/chapter01/CalendarBasedRulesTest.java
Chapter 01/calendar-based-rules/src/test/resources/drools/cookbook/chapter01/rules.drl
Chapter 01/declaring-facts-in-the-engine/pom.xml
Chapter 01/declaring-facts-in-the-engine/src/test/java/drools/cookbook/chapter01/FactsDeclarationTest.java
Chapter 01/declaring-facts-in-the-engine/src/test/resources/drools/cookbook/chapter01/rules.drl
Chapter 01/declaring-facts-using-xml/pom.xml
Chapter 01/declaring-facts-using-xml/src/test/java/drools/cookbook/chapter01/XSDFactsDeclarationTest.java
Chapter 01/declaring-facts-using-xml/src/test/resources/drools/cookbook/chapter01/model.xsd
Chapter 01/declaring-facts-using-xml/src/test/resources/drools/cookbook/chapter01/rules.drl
Chapter 01/event-listener-logging/pom.xml
Chapter 01/event-listener-logging/src/main/java/drools/cookbook/chapter01/CustomAgendaEventListener.java
Chapter 01/event-listener-logging/src/main/java/drools/cookbook/chapter01/CustomWorkingMemoryEventListener.java
Chapter 01/event-listener-logging/src/test/java/drools/cookbook/chapter01/KnowledgeRuntimeLoggerTest.java
Chapter 01/event-listener-logging/src/test/java/drools/cookbook/chapter01/RulesExecutionLoggingTest.java
Chapter 01/event-listener-logging/src/test/resources/drools/cookbook/chapter01/rules.drl
Chapter 01/event-listener-logging/src/test/resources/log4j.properties
Chapter 01/live-queries/pom.xml
Chapter 01/live-queries/src/main/java/drools/cookbook/chapter01/Server.java
Chapter 01/live-queries/src/main/java/drools/cookbook/chapter01/Virtualization.java
Chapter 01/live-queries/src/main/java/drools/cookbook/chapter01/VirtualizationRequest.java
Chapter 01/live-queries/src/main/java/drools/cookbook/chapter01/listener/CustomViewChangedEventListener.java
Chapter 01/live-queries/src/main/java/drools/cookbook/chapter01/listener/GlazedListViewChangedEventListener.java
Chapter 01/live-queries/src/test/java/drools/cookbook/chapter01/LiveQueriesTest.java
Chapter 01/live-queries/src/test/resources/drools/cookbook/chapter01/rules.drl
Chapter 01/pom.xml
Chapter 01/timer-based-rules/pom.xml
Chapter 01/timer-based-rules/src/main/java/drools/cookbook/chapter01/Server.java
Chapter 01/timer-based-rules/src/main/java/drools/cookbook/chapter01/ServerAlert.java
Chapter 01/timer-based-rules/src/main/java/drools/cookbook/chapter01/ServerEvent.java
Chapter 01/timer-based-rules/src/main/java/drools/cookbook/chapter01/ServerStatus.java
Chapter 01/timer-based-rules/src/main/java/drools/cookbook/chapter01/Virtualization.java
Chapter 01/timer-based-rules/src/test/java/drools/cookbook/chapter01/TimerBasedRulesTest.java
Chapter 01/timer-based-rules/src/test/resources/drools/cookbook/chapter01/rules.drl
Chapter 02/duplicated-facts/pom.xml
Chapter 02/duplicated-facts/src/main/java/drools/cookbook/chapter02/Server.java
Chapter 02/duplicated-facts/src/main/java/drools/cookbook/chapter02/Virtualization.java
Chapter 02/duplicated-facts/src/main/java/drools/cookbook/chapter02/VirtualizationRequest.java
Chapter 02/duplicated-facts/src/test/java/drools/cookbook/chapter02/DuplicatedFactsInsertion.java
Chapter 02/duplicated-facts/src/test/resources/drools/cookbook/chapter02/rules.drl
Chapter 02/knowledge-agent-classloader/pom.xml
Chapter 02/knowledge-agent-classloader/src/test/java/drools/cookbook/chapter02/KnowledgeAgentClassloaderTest.java
Chapter 02/knowledge-agent-classloader/src/test/resources/drools/cookbook/chapter02/change-set.xml
Chapter 02/knowledge-agent-classloader/src/test/resources/drools/cookbook/chapter02/model.jar
Chapter 02/knowledge-agent-classloader/src/test/resources/drools/cookbook/chapter02/rules.drl
Chapter 02/knowledge-persistence/pom.xml
Chapter 02/knowledge-persistence/src/main/java/drools/cookbook/chapter02/Server.java
Chapter 02/knowledge-persistence/src/main/java/drools/cookbook/chapter02/Virtualization.java
Chapter 02/knowledge-persistence/src/main/java/drools/cookbook/chapter02/VirtualizationRequest.java
Chapter 02/knowledge-persistence/src/test/java/drools/cookbook/chapter02/JPAKnowledgeSessionPersistenceTest.java
Chapter 02/knowledge-persistence/src/test/resources/META-INF/persistence.xml
Chapter 02/knowledge-persistence/src/test/resources/drools/cookbook/chapter02/rules.drl
Chapter 02/knowledge-persistence/src/test/resources/jndi.properties
Chapter 02/knowledge-persistence/src/test/resources/log4j.xml
Chapter 02/marshalling-knowledge-sessions/pom.xml
Chapter 02/marshalling-knowledge-sessions/src/main/java/drools/cookbook/chapter02/Server.java
Chapter 02/marshalling-knowledge-sessions/src/main/java/drools/cookbook/chapter02/virtualization/Virtualization.java
Chapter 02/marshalling-knowledge-sessions/src/main/java/drools/cookbook/chapter02/virtualization/VirtualizationRequest.java
Chapter 02/marshalling-knowledge-sessions/src/test/java/drools/cookbook/chapter02/MarshallingKnowledgeSessionTest.java
Chapter 02/marshalling-knowledge-sessions/src/test/resources/drools/cookbook/chapter02/rules.drl
Chapter 02/monitoring-knowledge-metrics/pom.xml
Chapter 02/monitoring-knowledge-metrics/src/main/java/drools/cookbook/chapter02/Server.java
Chapter 02/monitoring-knowledge-metrics/src/main/java/drools/cookbook/chapter02/Service.java
Chapter 02/monitoring-knowledge-metrics/src/main/java/drools/cookbook/chapter02/ServiceRequest.java
Chapter 02/monitoring-knowledge-metrics/src/main/java/drools/cookbook/chapter02/ServiceRequestFactory.java
Chapter 02/monitoring-knowledge-metrics/src/main/java/drools/cookbook/chapter02/ServiceType.java
Chapter 02/monitoring-knowledge-metrics/src/main/java/drools/cookbook/chapter02/Virtualization.java
Chapter 02/monitoring-knowledge-metrics/src/test/java/drools/cookbook/chapter02/ServiceRequestSimulation.java
Chapter 02/monitoring-knowledge-metrics/src/test/resources/drools/cookbook/chapter02/rules.drl
Chapter 02/pom.xml
Chapter 02/verifying-rules/pom.xml
Chapter 02/verifying-rules/src/main/java/drools/cookbook/chapter02/Server.java
Chapter 02/verifying-rules/src/main/java/drools/cookbook/chapter02/Service.java
Chapter 02/verifying-rules/src/main/java/drools/cookbook/chapter02/ServiceRequest.java
Chapter 02/verifying-rules/src/main/java/drools/cookbook/chapter02/ServiceRequestFactory.java
Chapter 02/verifying-rules/src/main/java/drools/cookbook/chapter02/ServiceType.java
Chapter 02/verifying-rules/src/main/java/drools/cookbook/chapter02/Virtualization.java
Chapter 02/verifying-rules/src/test/java/drools/cookbook/chapter02/RulesVerifier.java
Chapter 02/verifying-rules/src/test/resources/drools/cookbook/chapter02/rules.drl
Chapter 04/pom.xml
Chapter 04/rest-api/pom.xml
Chapter 04/rest-api/src/main/java/org/drools/guvnor/api/GuvnorRestApi.java
Chapter 04/rest-api/src/main/java/org/drools/guvnor/jaxb/Asset.java
Chapter 04/rest-api/src/main/java/org/drools/guvnor/jaxb/AssetMetadata.java
Chapter 04/rest-api/src/test/java/drools/cookbook/chapter04/GuvnorRestApiTest.java
Chapter 05/entry-points/pom.xml
Chapter 05/entry-points/src/main/java/drools/cookbook/helper/FlighSimulation.java
Chapter 05/entry-points/src/main/java/drools/cookbook/model/FlightControl.java
Chapter 05/entry-points/src/main/java/drools/cookbook/model/FlightStatus.java
Chapter 05/entry-points/src/main/resources/drools/cookbook/rules.drl
Chapter 05/entry-points/src/test/java/drools/cookbook/FlightControlTest.java
Chapter 05/event-declaration/pom.xml
Chapter 05/event-declaration/src/main/java/drools/cookbook/model/FlightControl.java
Chapter 05/event-declaration/src/main/java/drools/cookbook/model/FlightStatus.java
Chapter 05/event-declaration/src/main/resources/drools/cookbook/rules.drl
Chapter 05/event-declaration/src/test/java/drools/cookbook/FlightControlTest.java
Chapter 05/pom.xml
Chapter 05/pseudo-clock/pom.xml
Chapter 05/pseudo-clock/src/main/java/drools/cookbook/helper/EmergencySystem.java
Chapter 05/pseudo-clock/src/main/java/drools/cookbook/helper/FlighSimulation.java
Chapter 05/pseudo-clock/src/main/java/drools/cookbook/model/EmergencySignal.java
Chapter 05/pseudo-clock/src/main/java/drools/cookbook/model/FlightControl.java
Chapter 05/pseudo-clock/src/main/java/drools/cookbook/model/FlightStatus.java
Chapter 05/pseudo-clock/src/main/resources/drools/cookbook/rules.drl
Chapter 05/pseudo-clock/src/test/java/drools/cookbook/FlightControlTest.java
Chapter 05/sliding-windows/pom.xml
Chapter 05/sliding-windows/src/main/java/drools/cookbook/helper/FlighSimulation.java
Chapter 05/sliding-windows/src/main/java/drools/cookbook/model/EmergencyInCourse.java
Chapter 05/sliding-windows/src/main/java/drools/cookbook/model/EmergencySignal.java
Chapter 05/sliding-windows/src/main/java/drools/cookbook/model/FlightControl.java
Chapter 05/sliding-windows/src/main/java/drools/cookbook/model/FlightStatus.java
Chapter 05/sliding-windows/src/main/resources/drools/cookbook/rules.drl
Chapter 05/sliding-windows/src/test/java/drools/cookbook/FlightControlTest.java
Chapter 05/temporal-operators/pom.xml
Chapter 05/temporal-operators/src/main/java/drools/cookbook/helper/EmergencySystem.java
Chapter 05/temporal-operators/src/main/java/drools/cookbook/helper/FlighSimulation.java
Chapter 05/temporal-operators/src/main/java/drools/cookbook/model/FlightControl.java
Chapter 05/temporal-operators/src/main/java/drools/cookbook/model/FlightStatus.java
Chapter 05/temporal-operators/src/main/resources/drools/cookbook/rules.drl
Chapter 05/temporal-operators/src/test/java/drools/cookbook/FlightControlTest.java
Chapter 06/pom.xml
Chapter 06/rest-execution/pom.xml
Chapter 06/rest-execution/src/main/java/drools/cookbook/chapter06/Server.java
Chapter 06/rest-execution/src/main/java/drools/cookbook/chapter06/Virtualization.java
Chapter 06/rest-execution/src/test/java/drools/cookbook/chapter06/RestExecutionTest.java
Chapter 06/rest-execution/src/test/resources/drools/cookbook/chapter06/rules.drl
Chapter 06/xstream-commands/pom.xml
Chapter 06/xstream-commands/src/main/java/drools/cookbook/chapter06/Server.java
Chapter 06/xstream-commands/src/main/java/drools/cookbook/chapter06/Virtualization.java
Chapter 06/xstream-commands/src/test/java/drools/cookbook/chapter06/XStreamCommandsTest.java
Chapter 06/xstream-commands/src/test/resources/drools/cookbook/chapter06/rules.drl
Chapter 07/apache-camel-integration/pom.xml
Chapter 07/apache-camel-integration/src/main/java/drools/cookbook/chapter07/model/Server.java
Chapter 07/apache-camel-integration/src/main/java/drools/cookbook/chapter07/model/Virtualization.java
Chapter 07/apache-camel-integration/src/test/java/drools/cookbook/chapter07/CamelIntegrationTest.java
Chapter 07/apache-camel-integration/src/test/resources/drools/cookbook/chapter07/rules.drl
Chapter 07/apache-camel-jms/pom.xml
Chapter 07/apache-camel-jms/src/main/java/drools/cookbook/chapter07/jms/JMSQueueProducer.java
Chapter 07/apache-camel-jms/src/main/java/drools/cookbook/chapter07/model/Server.java
Chapter 07/apache-camel-jms/src/main/java/drools/cookbook/chapter07/model/Virtualization.java
Chapter 07/apache-camel-jms/src/test/java/org/plugtree/drools/camel/CamelActiveMQTest.java
Chapter 07/apache-camel-jms/src/test/java/org/plugtree/drools/camel/CamelEmbeddedActiveMQTest.java
Chapter 07/apache-camel-jms/src/test/resources/camel-amq.xml
Chapter 07/apache-camel-jms/src/test/resources/camel-embedded-amq.xml
Chapter 07/apache-camel-jms/src/test/resources/drools/cookbook/chapter07/rules.drl
Chapter 07/apache-camel-spring-integration/pom.xml
Chapter 07/apache-camel-spring-integration/src/main/java/drools/cookbook/chapter07/model/Server.java
Chapter 07/apache-camel-spring-integration/src/main/java/drools/cookbook/chapter07/model/Virtualization.java
Chapter 07/apache-camel-spring-integration/src/test/java/drools/cookbook/chapter07/CamelSpringIntegrationTest.java
Chapter 07/apache-camel-spring-integration/src/test/resources/applicationContext.xml
Chapter 07/apache-camel-spring-integration/src/test/resources/drools/cookbook/chapter07/rules.drl
Chapter 07/pom.xml
Chapter 07/spring-integration/pom.xml
Chapter 07/spring-integration/src/main/java/drools/cookbook/chapter07/model/Server.java
Chapter 07/spring-integration/src/main/java/drools/cookbook/chapter07/model/Virtualization.java
Chapter 07/spring-integration/src/test/java/drools/cookbook/chapter07/SpringIntegrationTest.java
Chapter 07/spring-integration/src/test/resources/applicationContext.xml
Chapter 07/spring-integration/src/test/resources/drools/cookbook/chapter07/rules.drl
Chapter 07/spring-jpa-integration/pom.xml
Chapter 07/spring-jpa-integration/src/main/java/drools/cookbook/chapter07/model/Server.java
Chapter 07/spring-jpa-integration/src/main/java/drools/cookbook/chapter07/model/Virtualization.java
Chapter 07/spring-jpa-integration/src/test/java/drools/cookbook/chapter07/SpringJpaIntegrationTest.java
Chapter 07/spring-jpa-integration/src/test/resources/META-INF/persistence.xml
Chapter 07/spring-jpa-integration/src/test/resources/applicationContext.xml
Chapter 07/spring-jpa-integration/src/test/resources/drools/cookbook/chapter07/rules.drl
Chapter 08/benchmarker/pom.xml
Chapter 08/benchmarker/src/main/java/drools/cookbook/chapter08/domain/Location.java
Chapter 08/benchmarker/src/main/java/drools/cookbook/chapter08/domain/ServiceRequest.java
Chapter 08/benchmarker/src/main/java/drools/cookbook/chapter08/domain/Skill.java
Chapter 08/benchmarker/src/main/java/drools/cookbook/chapter08/domain/Technician.java
Chapter 08/benchmarker/src/main/java/drools/cookbook/chapter08/domain/TrainingLevel.java
Chapter 08/benchmarker/src/main/java/drools/cookbook/chapter08/planner/SelectNextTechnicians.java
Chapter 08/benchmarker/src/main/java/drools/cookbook/chapter08/planner/TechnicianMove.java
Chapter 08/benchmarker/src/main/java/drools/cookbook/chapter08/planner/TechniciansSolution.java
Chapter 08/benchmarker/src/main/resources/ServiceRequestSolverBenchmarkConfig.xml
Chapter 08/benchmarker/src/main/resources/serviceRequestScoreRules.drl
Chapter 08/benchmarker/src/main/resources/unsolvedTechnicianRequest.xml
Chapter 08/benchmarker/src/test/java/drools/cookbook/chapter08/BestAvailableTechnicianBenchmark.java
Chapter 08/benchmarker/src/test/resources/log4j.xml
Chapter 08/pom.xml
Chapter 08/resource-assignation/pom.xml
Chapter 08/resource-assignation/src/main/java/drools/cookbook/chapter08/domain/Location.java
Chapter 08/resource-assignation/src/main/java/drools/cookbook/chapter08/domain/ServiceRequest.java
Chapter 08/resource-assignation/src/main/java/drools/cookbook/chapter08/domain/Skill.java
Chapter 08/resource-assignation/src/main/java/drools/cookbook/chapter08/domain/Technician.java
Chapter 08/resource-assignation/src/main/java/drools/cookbook/chapter08/domain/TrainingLevel.java
Chapter 08/resource-assignation/src/main/java/drools/cookbook/chapter08/planner/SelectNextTechnicians.java
Chapter 08/resource-assignation/src/main/java/drools/cookbook/chapter08/planner/TechnicianMove.java
Chapter 08/resource-assignation/src/main/java/drools/cookbook/chapter08/planner/TechniciansSolution.java
Chapter 08/resource-assignation/src/main/resources/ServiceRequestSolverConfig.xml
Chapter 08/resource-assignation/src/main/resources/serviceRequestScoreRules.drl
Chapter 08/resource-assignation/src/test/java/drools/cookbook/chapter08/BestAvailableTechnician.java
Chapter 08/resource-assignation/src/test/java/drools/cookbook/chapter08/BestTechnicianAvailableTest.java
Chapter 08/resource-assignation/src/test/resources/log4j.xml
Chapter 08/simulated-annealing/pom.xml
Chapter 08/simulated-annealing/src/main/java/drools/cookbook/chapter08/domain/Location.java
Chapter 08/simulated-annealing/src/main/java/drools/cookbook/chapter08/domain/ServiceRequest.java
Chapter 08/simulated-annealing/src/main/java/drools/cookbook/chapter08/domain/Skill.java
Chapter 08/simulated-annealing/src/main/java/drools/cookbook/chapter08/domain/Technician.java
Chapter 08/simulated-annealing/src/main/java/drools/cookbook/chapter08/domain/TrainingLevel.java
Chapter 08/simulated-annealing/src/main/java/drools/cookbook/chapter08/planner/SelectNextTechnicians.java
Chapter 08/simulated-annealing/src/main/java/drools/cookbook/chapter08/planner/TechnicianMove.java
Chapter 08/simulated-annealing/src/main/java/drools/cookbook/chapter08/planner/TechniciansSolution.java
Chapter 08/simulated-annealing/src/main/resources/ServiceRequestSolverConfig.xml
Chapter 08/simulated-annealing/src/main/resources/serviceRequestScoreRules.drl
Chapter 08/simulated-annealing/src/test/java/drools/cookbook/chapter08/SimulatedAnnealingTest.java
Chapter 08/simulated-annealing/src/test/resources/log4j.xml
Chapter 09/1964_09_06 (2).png
Chapter 09/business-activity-monitoring-reports/pom.xml
Chapter 09/business-activity-monitoring-reports/src/main/resources/AuditLog.hbm.xml
Chapter 09/business-activity-monitoring-reports/src/main/resources/hibernate.cfg.xml
Chapter 09/business-activity-monitoring-reports/src/main/resources/reports/overall_activity.rptdesign
Chapter 09/business-activity-monitoring-reports/src/main/resources/reports/process_instances_report.rptdesign
Chapter 09/business-activity-monitoring-reports/src/main/resources/reports/process_summary.rptdesign
Chapter 09/business-activity-monitoring-reports/src/test/java/drools/cookbook/chapter09/BAMReporting.java
Chapter 09/business-activity-monitoring-reports/src/test/resources/processWithScriptTask.bpmn
Chapter 09/business-activity-monitoring-reports/src/test/resources/processWithSignalEvent.bpmn
Chapter 09/business-monitoring-with-drools-fusion/pom.xml
Chapter 09/business-monitoring-with-drools-fusion/src/main/java/drools/cookbook/chapter09/CustomProcessEventListener.java
Chapter 09/business-monitoring-with-drools-fusion/src/main/resources/withdrawalProcess.bpmn
Chapter 09/business-monitoring-with-drools-fusion/src/main/resources/withdrawalRules.drl
Chapter 09/business-monitoring-with-drools-fusion/src/test/java/drools/cookbook/chapter09/BusinessMonitoring.java
Chapter 09/creating-process-using-the-api/pom.xml
Chapter 09/creating-process-using-the-api/src/test/java/drools/cookbook/chapter09/CreatingProcessUsingTheApiTest.java
Chapter 09/human-tasks/pom.xml
Chapter 09/human-tasks/src/test/java/drools/cookbook/chapter09/HumanTaskTest.java
Chapter 09/human-tasks/src/test/resources/META-INF/orm.xml
Chapter 09/human-tasks/src/test/resources/META-INF/persistence.xml
Chapter 09/human-tasks/src/test/resources/document.bpmn
Chapter 09/pom.xml
Chapter 09/unit-testing/pom.xml
Chapter 09/unit-testing/src/test/java/drools/cookbook/chapter09/JbpmJUnitTestCase.java
Chapter 09/unit-testing/src/test/java/drools/cookbook/chapter09/SimpleProcessTest.java
Chapter 09/unit-testing/src/test/java/drools/cookbook/chapter09/SimpleProcessWithPersistenceTest.java
Chapter 09/unit-testing/src/test/resources/META-INF/orm.xml
Chapter 09/unit-testing/src/test/resources/META-INF/persistence.xml
Chapter 09/unit-testing/src/test/resources/jndi.properties
Chapter 09/unit-testing/src/test/resources/processWithScriptTask.bpmn
Chapter 09/unit-testing/src/test/resources/processWithSignalEvent.bpmn

Download

Click the following link to download drools_cookbook-master.zip.

drools_cookbook-master.zip




















Home »
  Java Free Code »
    Book »




Book
Book Algorithm
Book Design Patterns
Book Example
Book Hadoop
Book JEE
Book Maven
Book Spring