In my current project we decided to use JBoss Drools 6, mainly for mapping data. It turned out to come in quite handy. However, when I tried to unit test my rules I was astonished how clumsy and cumbersome that was. Therefore I wrote a little library containing a JUnit-Runner that hides the needed boiler plate code and just lets you focus on the important thing: testing the rules.
Java, Web and Mobile
Month: April 2016
I’ve always wanted to attend a Java conference this big. This year I finally had the chance to participate for one day. I was too enthusiastic to concentrate on one specific topic. Therefore, I had quite a wide range of subjects like Elasticsearch, Continuous Documentation and Internet of Things.
On the second day of this year’s JAX we dived into subjects like Spring, HTTP/2, Cloud and Performance.
Altering a MongoDB index cannot be done out-of-the-box. If you are tired of dropping and creating indices by hand, have a look at this little hack.
A common way to estimate user stories is the planning poker. In planning poker every team member plays a card to estimate a story. The number of this card stands for the story points. I had a look at different tools which support this classical estimation technique in a digital way.
When invoking a method of an EJB we get features like transactions, security or monitoring for free. However, this only works when the method call is intercepted by the container. So, method calls within the same bean do not enjoy this benefits. There is a nice hack to solve this problem.