Jelastic Java Host – Recommended by James Gosling !

Jelastic Logo

I recently came across an interesting tool. Jelastic is a Platform as a Service (PaaS) provider for Java. Basically, it’s a cloud for Java applications. The most interesting point about Jelastic (in my opinion) is the fact that it can run any Java application. There are no API to use or special change that have [...]



Architexa is available for free – Understand your code base

Architexa Logo

Architexa is a tool suite that helps a team to document collaboratively a large Java code base. The tool is made for a whole team to understand a code base. The tool is available as an Eclipse plugin. When several developers are working on a large application, it is not always simple to have a [...]



COJAC, A Numerical Problem Sniffer

Java Logo

During my bachelor at the HES-SO University of applied sciences in Fribourg, I worked on a Java project, COJAC. COJAC is a tool performing On-the-fly code instrumentation to help uncover numerical problems with integer (overflows) and floating point (smearing, cancellation, infinity, NaN) arithmetic. Yesterday, Dr Dobbs published an article by one of my professor Frédéric [...]



Java 7 has been released!

Duke Cowboy Java

Five years after Java 6, Oracle has just released Java 7! This is the first release of Java since Oracle bought Sun Microsystems. This new version of Java introduces a lot of new features, but some of the languages new features will be introduced in Java 8 as stated by the “Plan B”. In this [...]



JTheque Core 2.1.0 released !

Hi, It’s my pleasure to announce that I’ve finally released JTheque Core 2.1.0 ! The different services of the core are now separated using OSGi. With this separation, I’ve improved a lot the design of the core and the orthogonality of the different services. Each service is now an OSGi bundle. I’ve also refactored the implementation of [...]



Compute command-line arguments with Apache Commons CLI

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 [...]



Swing tip : A better SwingWorker without exception swallowing

Duke Tubbing

When we develop Swing applications, SwingWorker are very helpful. But there is a big disadvantage using this class. if you don’t call get() in the done method, you will lose all the exceptions that the computation in the doInBackground() has thrown. And you action can stop and you will never see why. In 95% of [...]



JDK 7 Features updated ! Plan B has apparently been approved

OracleStratSmall

I was presenting the Plan B of JDK 7 the last week and apparently, this plan has been approved. The JDK 7 Features page has been updated on the site of Oracle. So here are the (definitive ?) list of features for JDK 7 : JSR 292: Support for dynamically-typed languages (InvokeDynamic) Languages update of [...]



JTheque Utils 1.1.5

Java Logo

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 : [...]



Java Concurrency – Part 7 : Executors and thread pools

Duke Cowboy Java
This entry is part 6 of 7 in the series Java Concurrency Tutorial

This entry is part 6 of 7 in the series Java Concurrency TutorialLet’s start with a new post in the Java concurrency series. This time we’ll learn how to start cleanly new threads and to manage thread pools. In Java, if you have a Runnable like this : You can easily run it in a [...]