Loading and storing Knowledge Modules

Loading and storing knowledge modules

Basics

The knowledge modules created by the Maven Drools Plugin can easily be loaded using a thin wrapper-library around Drools' DroolsStreamUtils from drools-core.

This library is called knowledge-io and lives in Maven Central. It adds better version tracking between different versions of Drools.

How to manually update Adobe Flash plugin for Google Chrome in Fedora Linux

Here's how I manage to update the flash plugin for Google Chrome reliably.

BED-CON 2012 Follow-Up and Slides of our Talk "Modularisierung wagen"

Follow-Up including slides of BED-CON 2012 talk "Modularisierung wagen..." by Ansgar Konermann and Jacob Fahrenkrug

The slides attached to this blog post also include a picture of our Ten Commandments ("10 Gebote"), which many visitors of our talk asked for. Plus, you get one additional commandment for free ;-)

Using SSL or HTTPS servers with self-signed certificates in IntelliJ IDEA

HTTPS connections need to make sure the server 'at the other end' is actually the server it claims to be. This is done using public key certificates. For testing purposes or to save the costs of a commercially issued certificate, it is possible to use a self-issued certificate. This blog post shows how to connect to this kind of servers in IntelliJ IDEA or other Java programs.

How to run your tests only once during a Maven-based release

Maybe you also observed that maven-release-plugin executes all tests twice when you run release:prepare release:perform. This short HOWTO explains why this happens in the first place and demonstrates how you can get rid of the extra test run and save some time during release.

New mailing lists for JODReports project

I'm pleased to announce that the JODReports project has received two brand new mailing lists, one for user and one for developer discussion each. They are hosted by Google Groups and can be posted to by anyone with a valid Google account.

Emulating "self types" using Java Generics to simplify fluent API implementation

The Java programming language does not support the notion of "self types", that is "type of this". When implementing fluent APIs, this lack of support can lead to significant duplication of boilerplate code. Taking FEST Assertions as an example, this article shows how "self types" can be emulated in Java using Generics.

Beware: now().equals(now()) might yield false

Using time-dependent data

I stumbled across a piece of code the other day, allowing some versioned entity from our domain model to find out whether it's valid from a certain point in time. The corresponding test failed sporadically, so I went and looked into it.

What's inside a violation?

What's Inside A Violation?

If the validator found a number of violations, what can we do with it? Let's have a look at the simple usages of violation objects.

Validate single, primitive attribute

Learning Test One: Validate a single, primitive attribute

Time to write our first (domain) object and validate something. We'll do this using the TestNG framework to create a tiny test driver showcasing how the most basic validation API calls interact.

Syndicate content