List/Grid Java Subscribe to the RSS feed of category Java

Java Concurrency Tutorial – CountDownLatch
Some concurrency utilities in Java naturally get more attention than others just because they serve general purpose problems instead of more specific ones. Most of us encounter things ...

Java Concurrency Tutorial – Blocking Queues
As discussed in Part 3, the thread pools introduced in Java 1.5 provided core support that was quickly a favourite of many java developers. Internally, the implementations make smart ...

Sometimes in Java, One Layout Manager Is Not Enough
Most often when developing Java Swing applications, we need to use several layout managers in several nested panels. This is usually not a problem and is considered the normal practice ...

Java Concurrency Tutorial – Callable, Future
One of the beautiful things about Java from its very first release was the ease with which we could write multi-threaded programs and introduce asynchronous processing into our designs. ...

Java Concurrency Tutorial – Thread Pools
One of the most generally useful concurrency enhancements delivered in Java 1.5 was the introduction of customizable thread pools. These thread pools give you quite a bit of control ...

Java Concurrency Tutorial – Reentrant Locks
Java’s synchronized keyword is a wonderful tool – it allows us a simple and reliable way to synchronize access to critical sections and it’s not too hard to understand. But sometimes ...

Mapping Objects to Multiple XML Schemas – Weather Example
I have written previous posts on EclipseLink JAXB (MOXy)‘s @XmlPath and external binding file extensions. In this post I will demonstrate how powerful these extensions are by ...

Java Concurrency Tutorial – Semaphores
This is the first part in a series that we’re going to be doing on Java concurrency. Specifically, we are going to dive into the concurrency tools built into Java 1.5 and beyond. ...

The Java Logging Mess
Every application needs logging. And right now there are a lot of options on what exactly to use for logging in Java. The most famous frameworks are: log4j, logback, commons-logging, ...

Simple Twitter: Play Framework, AJAX, CRUD on Heroku
So the big announcement is out – Heroku started offering native support to Play Framework applications! If you haven’t heard it, checkout the post from Jesper Joergensen on ...


