Java 7 : Add “public defender methods” to Java interfaces

Java Logo

At this time, we aren't sure that the closures will be included in the Java 7 release. But these doubts have generated a new project : The "public defender methods" proposal.This new proposal for Java 7 wants to improve the interfaces allowing to … [Read more...]

Java 7 : Oracle pushes a first version of closures

Java Logo

2 days ago, Oracle pushed a first version of the closures implementation. We can see the evolving syntax in the test cases they made for the Java compiler. You can see these test cases here.This revision supports the following features (copied … [Read more...]

15 years birthday of Java (a bit late)

Duke Java Logo

I didn't notice that earlier, but the 23 May 2010 was the 15 years birthday of Java !I started using Java only 5 years ago, but I've always been happy of this language.It makes now a long time that we've this wonderful language to develop … [Read more...]

Improve the performance of your Maven builds with maven-cli-plugin

Maven Logo

When you makes a lot of build using Maven, this is quickly a pain to wait for the end of the build. So this is always good to have solutions to improve the performances of the builds.The better improvement i found until now is the … [Read more...]

Evernote : A very smart note-book

A Note-book

Like any developer, I write a lot of notes with different tools :A lot of paper Office Word My iPhone My emails Web applications like RememberTheMilkI use them depending on what I do and  where I am. But this not a really good way … [Read more...]

Java Concurrency : Part 2 – Manipulate Threads

Java Logo

After seeing how to create Threads, we'll see in this article what we can do to manipulate Threads.When we've Threads, we can make several operations on the Threads :Make the current Thread sleeping during x milliseconds Wait for an other … [Read more...]

Tip : Add resources dynamically to a ClassLoader

Java Logo

Theoretically, it's not possible to ad resources to a ClassLoader in Java after creation. I say theoretically, because, we can do that using Reflection.In fact, the URLClassLoader class has a addUrl(URL url) method to add a new URL, so we can … [Read more...]

Develop a modular application – The loading

Java Logo

Now that we've seen how to describe a module in Java, we'll see how to load it dynamically in our application.In Java, all the classes are loaded using several ClassLoader.In this article, we'll develop a loader for our modules and watch the … [Read more...]

Develop a modular application – Implementation

Java Logo

Now that we saw in details the characteristics of the modules, we'll see how to implement a module.We need a simple container for our module to load it after with a loader from the modular application.In this post, we'll only see what will be … [Read more...]

Develop a modular application – The modules

Java Logo

After explaining what's a modular application, I'll now explain with more details the concept of modules.We said that a module add features to the application. But before writing any code, we've to define exactly what are the modules, what they … [Read more...]