Tag Archives: Drools

Drools Workshop @JBCNConf – Rules Explained & Slides

During my Drools workshop in Barcelona, I’ve provide the audience with 3 incomplete DRL files for them to implement. The DRL rules were quite challanging, and for that reason, on this post I will be explaining how to get all the rules working and the tests green. The main reason why I didn’t provide the solutions right away, was to push the attendees to provide their own solutions, which might include changing the model, changing the rules and how they were defined. When working with Rule Engines and Knowledge Based formalization, it is quite important to understand there is always multiple solutions available for the same problem, take this blog post as one of those solutions. If we try to make the game more complex, the rules will change and probably also gain more complexity, without more introduction, here are the slides and the final complete rules.

Continue reading

Tagged , , , , , , , , , , , ,

Drools Workshop @JBCNConf – Updated Project & Setup

Hi everyone, I would love to invite all my readers and also the people attending to the Drools workshop tomorrow (16th June 2: 3pm – 5pm – Spain time (GMT +1)) @JBCNConf to follow the instructions of the repository that we will be using: https://github.com/Salaboy/drools-game-engine/blob/master/README.md 

This repository contains a minimalistic Game Engine using Drools to define the logic of the game, some model conformance checking and a suggestions mechanism to assist the player while it is in the game. The main idea of the exercise is to try to write the Rules so all the Tests are green again🙂

While you try to write the rules a lot of questions will arise and I will be there trying to answer them and assist you via Twitter or in person, so everyone is invited!

IMPORTANT: The workshop will be done in the “Open Source Way” so, instead of cloning the repository directly to your environment, Fork it! to your github account. This will allow you to send Pull Requests that I can see, comment and even apply depending on the content.


Tagged , , , , , , ,

#Drools & #jBPM @ #JBCNConf 2016 (Barcelona, June)

Great news! Once again the amazing and flamboyant leaders of the Java User Group from Barcelona manage to put together their anual conference JBCNConf. And, of course, Drools & jBPM will be there. Take a look at their website for more information about the talks and speakers, and if you are close enough to Barcelona I hope to see you all there.


This year I will be doing a Drools Workshop there (Thursday, first day of the conference), hoping to introduce people to Drools in a very hands on session. So if you are looking to start using Drools straight away, this is a great opportunity to do so. If you are a more advanced user and wants to bring your examples or issues to the workshop you are more than welcome. I will be sharing the projects that I will be using on the workshop a couple of weeks before the event so  can take a look and bring more questions to the session. It is also probable that I will be bringing with me freshly printed copies of the new Mastering Drools book, so you might be able to get some copies for free🙂

Maciej Swiderski will be covering the jBPM and Knowledge Driven Microservices this year. I totally recommend this talk to anyone interested in how to improve your micro services by adopting tools to formalise and automate domain specific knowledge.

Finally, this year Maciej and I will be given the closing talk of the conference titled : The Open Source Way were we will be sharing with the audience the main benefits of getting involved with the open source community & projects but most importantly we will be sharing how to do achieve that. If you are already an Open Source project contributor and you plan to attend to the conference, get in touch!

Stay tuned for more news, and get in touch if you want to hang around with us before and after the conference!


Tagged , , , , , , , , , , ,