Do you want to know how to develop your skillset to become a Java Rockstar?
Subscribe to our YouTube channel to start Rocking right now!
Gain access to the industrys' best FREE video guides including:
1. Core Java guides
2. Enterprise Java guides
3. JVM insights, configuration and troubleshooting guides
4. Java performance guides
5. Java Interview Questions
and many more ....

Using FindBugs to produce substantially less buggy code

Some time ago a user of Java-monitor, the forum of our JCG partner, Kees Jan, spotted that his system was forcing a large number of full Garbage Collections despite the fact that the overall memory utilization was low. A rough estimation for the cause of the problem suggested a potential call to System.gc() performed by one of the libraries in ...

Read More »

Xuggler Tutorial: Frames Capture and Video Creation

Note: This is part of our “Xuggler Development Tutorials” series. So far in our Xuggler tutorials series we have performed an Introduction to Xuggler for Video Manipulation and we have discussed Transcoding and Media Modification. In this tutorial, we shall see how to decode video and capture frames, as well as how to create video from scratch. Let’s begin with ...

Read More »

Selecting a new programming language to learn

Looking to start learning a programming language besides Java? Our JCG partner Brian Du Preez from Zen in the art of IT provides a relatively extensive analysis on the factors one should take into account when facing the “what’s beyond Java” question! Let’s see what he has to say: (NOTE: The original post has been slightly edited to improve readability) I have been ...

Read More »

Domain Driven Design with Spring and AspectJ

In a previous post hosted at JavaCodeGeeks, our JCG partner Tomasz Nurkiewicz presented an introduction to Domain Driven Design using the State design pattern. At the end of that tutorial, he admitted that he had left out the process of how to inject dependencies (DAOs, business services etc.) to the domain objects. However, he promised to explain the details in ...

Read More »

Best Of The Week – 2011 – W08

Hello guys, Time for the “Best Of The Week” links for the week that just passed. Here are some links that drew JavaCodeGeeks attention: * A 30 minute guide to integrating Twitter in your Android application: A detailed guide on how to integrate Twitter in your Android app. It covers almost everything, from setting up an account, to authorization and ...

Read More »

Using JAXB to generate XML from XSD

This is a post originally published by Mohamed Sanaulla from Experiences Unlimited, our latest JCG partner. Mohamed explains how to use JAXB to generate XML from a given XSD. (NOTE: The original post has been slightly edited to improve readability) We can use JAXB to marshal the Java objects into XML using the given Schema and vice versa- unmarshal XML ...

Read More »

Using the State pattern in a Domain Driven Design


Domain driven design (DDD) is an approach to developing software where the complexity of the problem is addressed by connecting the implementation to an evolving model of the core business concepts. The term was coined by Eric Evans and there is a DDD dedicated site which promotes its use. According to their definition (Glossary of Domain-Driven Design Terms), DDD is ...

Read More »

Java Fork/Join for Parallel Programming

The last few years a paradigm shift is taking place in the field of computer processors. For years, processor makers consistently delivered increases in clock rates, so developers enjoyed the fact that their single-threaded software executed faster without any effort from their part. Now, processor makers favor multi-core chip designs, and software has to be written in a multi-threaded or ...

Read More »

Spring 3.1 Cache Abstraction Tutorial


One of the new features introduced in the forthcoming Spring 3.1 version is the one of cache abstraction. Spring Framework provides support for transparently adding caching into an existing Spring application. Similar to the transaction support, the caching abstraction allows consistent use of various caching solutions with minimal impact on the code. At its core, the abstraction applies caching to ...

Read More »