


consumer producer java implementation
This is an example of a java implementation for consumer producer design pattern: The Producer public class Producer extends Thread { private final int MAX_QUEUE_SIZE = 10; private Queue queue = new...

mvn site:deploy on windows
I had to find a way to deploy javadoc towards a server. So I found out that the maven site has a reporting plugin for javadocs. To get all this working on...

scm using maven and subversion
You remember my first post on SCM? Well finally I had some time to get this running. Let me tell you how. First create a project using maven2 (maven in 5 minutes):...

about the java classloader
Some stuff you should know about classloading. The classloader makes 3rd party classes available to the jvm. So you can run your own code and use others libraries. The first important thing...

maven: add resources to ear
When building ear for weblogic you’ll probably want to add a custom weblogic-application.ear to the ear. This file should be in the META-INF directory of the ear next to the application.xml. To...

my jstl frustrations
the in-container jstl interpreter functionality is great. And where there are greats things there are also less great things. Some of my frustrations on jstl: no way to cast objects. In some...

maven and jetty for quick dev deploy (2)
See previous post for more on general maven-jetty-plugin info. This time I’ll explain how to get all this to work in eclipse. Wouldn’t it be very easy to be able to execute...

maven and jetty for quick dev deploy
Jetty is a java powered lightweight servlet container. It can be used as an embedded container bringing webapps closer to desktop applications. But that’s another story. Here I will quickly explain how...

maven and tiger
By default the maven compiler plugin assumes you’re working with 1.3 compatible sources. So tiger (java 1.5) sources will throw an UnsupportedClassVersionError. The solution is to configure the maven-compiler plugin in your...