官术网_书友最值得收藏!

  • Mastering JBoss Drools 6
  • Mauricio Salatino Mariano De Maio Esteban Aliverti
  • 216字
  • 2021-07-09 19:58:41

Chapter 2. Writing and Executing Rules

The best way to learn something new is by trying it out. For this reason, in this chapter, we are going to cut to the chase to write and execute our first rules. We will also cover the most important points about the rule language and how to effectively write rules that mean something to your domain. This chapter will use the eShop model introduced in the previous chapter to demonstrate a set of scenarios where rules can be applied.

Before we start coding, in the first half of this chapter, you will learn how to set up all the standard tools required to work with Drools and the examples provided with this book. We will be creating a project from scratch, therefore, you can use this chapter as a reference to start your applications from the ground up. The second half of the chapter will cover the introduction to the DRL language and how we recommend to organize your projects when you are using rules or other knowledge assets such as business processes.

Briefing this up, this chapter we will cover the following topics:

  • Setting up our environment
  • Creating our first Drools project
  • Writing and executing our first rule
  • Discussing the DRL rule language
  • Organizing our projects
主站蜘蛛池模板: 延长县| 开封县| 蓬莱市| 蓬莱市| 札达县| 文山县| 中超| 福鼎市| 普兰店市| 广灵县| 阳山县| 新巴尔虎右旗| 比如县| 浮山县| 宿迁市| 巴塘县| 台湾省| 贵南县| 平遥县| 庆云县| 阿图什市| 兴隆县| 乃东县| 乐清市| 峨边| 巩留县| 怀化市| 施甸县| 黑山县| 明光市| 礼泉县| 灵川县| 新竹市| 崇明县| 攀枝花市| 五河县| 雷州市| 紫云| 古田县| 临澧县| 宝鸡市|