Do you want to test your REST API as soon as possible and without any hassle? The earliest point in the code where tests can occur is within the commit stage, where you can run unit tests. I want to present you an approach how to test REST API as soon as possible in an easy way. The example code is based on JUnit and RESTEasy. It does not require any external database or heavyweight application servers which means you can run it isolated and out of the box.

Read more ...

Debugging tests is always tricky. Debugging Selenium Tests executed with JBehave is harder. The JBehave tests are executed and stack traces are written to logs. In many cases, you can't reproduce the case or you need to fiddle around, where to set your breakpoint. This is not effective. This is annoying. I want to present you a slightly different and improved approach for debugging Selenium/Selenide tests. You will need either CDI, a Spring Context or Google Guice as prerequisite.

Read more ...

One day a coworker came to me convincing me: Let’s do something cool with internet of things and sensors. Until now, I did not know anything about IoT sensors but my first idea was a sonic sensor that tells the distance.

Read more ...

I released lettuce 3.0.2. This is a bugfix release fixing a memory leak in pubsub.

This release contains:

Fixes

Other

  • Streamline build and release

Links

Maven coordinates:

<dependency>
    <groupId>biz.paluch.redis</groupId>
    <artifactId>lettuce</artifactId>
    <version>3.0.2.Final</version>
</dependency>

<dependency>
    <groupId>biz.paluch.redis</groupId>
    <artifactId>lettuce</artifactId>
    <version>3.0.2.Final</version>
    <classifier>shaded</classifier>
</dependency>

Any feedback is appreciated or create issues on GitHub.

I got in touch with Couchbase a year ago. I attended a presentation of the Couchbase guys and learned that Memcached became a part of Couchbase. Until now I never had a chance to use Couchbase for more than just a play around. Recently I stumbled upon a new Book about Couchbase: Couchbase Essentials written by John Zablocki. I will let you know what I think about it and post my review here. Stay tuned.

I released today logstash-gelf 1.6.0. This release contains support for GELF 1.1 spec, Redis Sentinel and the Datenpumpe.

Read more ...

I wrote about 2 years ago about Clean Architecture/Onion Architecture. Now it is time to revisit this topic.

Architecture is about purpose and not about tools.

This rule applies to architecture of buildings the same way as it applies to software. Software consists of several parts that make the software do something. Software architecture represents what code is located in what place.

Read more ...

heckenlights-logoWeihnachten ist das Fest der Liebe, Freude und des Lichts. Weihnachtsdekorationen rund um die Welt zieren Häuser, Straßen und Bäume.

Der Christmas Spirit Tree hat im Internet der Dinge den Start gemacht und das Online-Unvisersum (Tweets und Blogs) auf einen Weihnachtsbaum gebracht. Im Heckenpfad in Weinheim erwachen ab dem 1. Dezember die Lichter der interaktiven Weihnacht mit einer Show, deren Programm in der Hand des Zuschauers liegt.

Read more ...

I released lettuce 3.0.3. This is a bugfix release fixing a memory leak in pubsub and adds stability when reconnecting.

Read more ...

heckenlights-logoChristmas means joy, love and light to us. Cities, houses and streets are decorated for christmas all around the world.

Christmas has reached the internet, too. The Christmas Spirit Tree was one of the first christmas-themed things of the internet. It showed movement in the social universe of tweets and blogs. And here, in Heckenpfad, Weinheim, Germany, the sparkle of Heckenlights will launch on December 1st. Lights will switch on for admiring and listening.

Read more ...