Google Protocol Buffers (shortened protobuf) is data (de)serialization with good speed, size and cross-platform support (it supports Java, C++ and Python out of the box). It can also handle different versions of the same message (as in: old and new … Continue reading →
In some (rare) cases you might find yourself in the situation that you managed to crash the JVM itself. I most recently managed this by setting the name of a ThreadGroup to null. In these cases it is useful to … Continue reading →
JSON is a good alternative when you need a lightweight format to specify structured data. But sometimes (for example when you want the user to specify JSON manually) you would like to relax the formalism required to specify “valid” JSON … Continue reading →
It is my great pleasure to announce that the Transylvania JUG contributors have been accepted into the DZone Most Valued Blogger program. It is the deal as with Java Code Geeks: they will re-publish posts chosen by them, while giving … Continue reading →
On the surface it looks simple: just add the dependency and you can run the example code. However what the jython artifact doesn’t get you are the standard python libraries like re. This means that as soon as you try … Continue reading →
The problem: you have some resources in an Ivy repository (and only there) which you would like to use in a project based on Maven. Possible solutions: Migrate the repository to Maven (Nexus for example) since Ivy can easily use … Continue reading →
It is my pleasure to announce that our blog has joined the Java Code Geeks site. This means that selected posts from our blog will be re-published on the JCG site (with full attribution an link back) helping to raise … Continue reading →
Lets say that you need to verify that a certain logging message gets printed in a unit-test. Then the first step is to pause and ask yourself: do I really need to do this? Unit-tests involving text matching are particularly … Continue reading →
In many (most?) systems performance is an important non-functional requirement. And even if you attained the required performance, it is useful to keep an eye on it to detect if a codechange involuntarily deteriorates it. Enter the Performance plugin for … Continue reading →
Maven 3 was released recently (depending on your definition of recent), but is not yet packaged for Ubuntu. This is generally not a problem, since the installation instructions are easy to follow (alternatively here are the installation instructions from the … Continue reading →