A new version of Boost is available : Boost 1.48.0 This release includes three new libraries : Locale, Container and Move. A lot of bug have been fixed and there are also some changes in the existing libraries.
For a project at school, I needed to refactor an old code parsing almost 30 command line arguments. I needed to add some more arguments and change some old args, but the old code was not maintainable at all. So I decided to use a library to make the parsing. of the args. I chose […]
Hi, It’s my pleasure to announce the release of a new version of JTheque Utils, the 1.1.5. There is a lot of changes in this version. First of all, the library is now OSGi Ready, you can use it with no problem in an OSGi application. Here are the main changes of this version : […]
One week ago, I searched a way to launch a Java application from an other Java application without loosing portability. And I found a post on StackOverflow explaining how achieve that goal using Apache Ant. It’s really easy. It use the Ant classes and simulate a project launching and a build task. In this post, […]
Several months ago, I wrote an article to compare the performances of short indexes for loops. I wrote that code to achieve my goal : And i found as a result that short was two times slower than int and I was convinced of these results until a week ago. At this time, a reader […]
1. Introduction The mock objects allows to make unit tests on objects depending on other objects. We will replace this dependencies with mock objects. With that, we can by example verify than the method xyzzy() has been called 5 times and returned 33. That can be practical in a several cases. By exampe, if the […]
I. Introduction SLF4J is an abstract layer for logging APIs. The principle is roughly the same as Jakarta Commons Logging. The advantages of the use of such a layer enable to be completely independant of the logging implementation. So it’s possible to easily change the logging implementation without modifying the existing code. You only have […]