Java

Hudson Project-Based Matrix Security is Out!

One feature that I've been waiting for a long time to see in Hudson is project-level security. To be able to say that certain projects can only be built by...

1 replies - 2311 views - 09/04/08 by John Ferguson Smart in News

On The Need of OSGi-compatible JSR API Class Libraries

Although JSR APIs are generally simple to use, they introduce a lot of difficulties when used from OSGi Environments. The main two problems they introduce are:

0 replies - 2099 views - 09/04/08 by vladrin in Articles

Avoid NIO, Get Better Throughput

The Java NIO (new/non-blocking I/O) API introduced in Java 1.4 is arguably the most arcane part of the standard library.  With channels, selectors,...

5 replies - 6077 views - 09/03/08 by Dan Dyer in Articles

Why GPL? Or How the GPL Eats the Kittens it Protects

The GNU Public License is the best known for its viral aspects. Among the prominent GPL licensed software is of course the Linux core and MySQL. Recent...

12 replies - 3222 views - 09/03/08 by joern.zaefferer in Articles

Java as a Scripting Language?

I came across a language comparison (which I wish I could still find) where the author presented a code sample in many different languages. The example he...

18 replies - 3397 views - 09/03/08 by Derek Young in News

My main() Method is Better Than Yours

People are good at turning concrete examples into generalization. The other way around, it does not work so well. So when I write about general concepts it is...

3 replies - 3759 views - 09/01/08 by mhevery in Articles

Code Metrics in Minutes

One of the primary goals of every developer should be to prevent or drastically limit the number of bugs or defects from being introduced in their source code....

4 replies - 7571 views - 09/01/08 by Meera Subbarao in Articles

Spring and OSGi R4.2

I've been scanning the early draft of OSGi R4.2, specifically RFC 124, "A Component Model for OSGi". I am delighted to see that the great work that...

1 replies - 2336 views - 08/29/08 by Craig Walls in News

Root Cause of Singletons

Since I have gotten lots of love/hate mail on the Singletons are Pathological Liars and Where Have All the Singletons Gone I feel obliged to to do some root...

13 replies - 3338 views - 08/29/08 by mhevery in Articles

The Capability Pattern: Future-Proof Your APIs

Here is a simple pattern which you can use to make your APIs extensible, even by third parties, without sacrificing your ability to keep...

0 replies - 6210 views - 08/29/08 by Tim Boudreau in News

Learning from Reverse Engineered JSF Components (Part 1)

One thing I really enjoy doing is reverse engineering technology solutions to learn from them. A case in point is Manfred Riem's set of JSF components, with...

0 replies - 2236 views - 08/29/08 by Geertjan Wielenga in News

EJB 3.0 and Spring 2.5

Why is it that developers from these two communities don't like to see eye to eye?

29 replies - 13366 views - 08/27/08 by Meera Subbarao in Articles

Where Have All the Singletons Gone?

In Singletons are Pathological Liars we discussed the problems of having singletons in your code. Let’s build on that and answer the question “If I don’t...

11 replies - 3444 views - 08/27/08 by mhevery in Articles

Getting Started with JCODER

Today Java is used widely across the internet but it is also an invisible force behind many of the applications and devises that power our day-to-day lives....

9 replies - 6476 views - 08/25/08 by kevincheung18 in Articles

Simple Dependency Injection with ServiceLoader in JDK 6

There are a lot of dependency injection/IOC frameworks out there. What you may not know is that there is a very simple yet useful one built...

0 replies - 4713 views - 08/22/08 by Tim Boudreau in News