Do you want to know how to develop your skillset to become a Java Rockstar?

Subscribe to our newsletter to start Rocking right now!

To get you started we give you our best selling eBooks for FREE!

1. JPA Mini Book

2. JVM Troubleshooting Guide

3. JUnit Tutorial for Unit Testing

4. Java Annotations Tutorial

5. Java Interview Questions

and many more ....

Don’t rely on unit tests alone

junit-logo

When you are building a complex system, barely testing components in isolation is not enough. It’s crucial, but not enough. Imagine a car factory that manufactures and imports highest quality parts, but after assembling the vehicle never starts the engine. If your test case suite consists barely of unit tests, you can never be sure that the system as a ...

Read More »

Using twitter4j with Scala to access streaming tweets

scala-logo

Introduction My previous post provided a walk-through for using the Twitter streaming API from the command line, but tweets can be more flexibly obtained and processed using an API for accessing Twitter using your programming language of choice. In this tutorial, I walk-through basic setup and some simple uses of the twitter4j library with Scala. Much of what I show ...

Read More »

Spring Bean names

spring-interview-questions-answers

Spring bean names are straightforward, except for cases where names are not explicitly specified. To start with, Spring bean names for an xml based bean definition is specified this way:                 <bean name='sampleService1' class='mvcsample.beanname.SampleService'> <constructor-arg> <bean class='mvcsample.beanname.SampleDao'></bean> </constructor-arg> </bean> For a Java @Configuration based bean definition, the method name of the @Bean annotated ...

Read More »

AndEngine for Android Game Development Cookbook Giveaway

jcg-logo

Fellow geeks, We are pleased to announce that we have once again teamed up with Packt Publishing and we are organizing another Android book giveaway just for you! As you have noticed, we love Android programming and of course Android game development here at Java Code Geeks. So, we are thrilled to have some Andengine books to give you! Andengine ...

Read More »

Pool of ssh connections using Apache KeyedObjectPool

apache-commons-logo

I found the org.apache.commons.pool extremely useful and robust, but not well documented. So, I’ll try to help a bit here explaining how to use an Apache KeyedObjectPool. What is a KeyedObjectPool? It’s a map that contains a pool of instances of multiple types. Each type may be accessed using an arbitrary key. In this example I’ll create a pool of ...

Read More »

My favourite programming quotes

software-development-2-logo

I find myself thinking about some of these quotes every now and then and I just wanted to share them here. Some of them are kind of funny but mostly I believe they all should make us think for a second about our job and how many times you’ve been in that situation… If you have some pearl of wisdom ...

Read More »

How To Secure an Organization That Is Under Constant Attack

software-development-2-logo

There have been many recent security incidents at well-respected organizations like the Federal Reserve, the US Energy Department, the New York Times, and the Wall Street Journal. If these large organizations are incapable of keeping unwanted people off their systems, then who is? The answer unfortunately is: not many. So we must assume our systems are compromised. Compromised is the ...

Read More »

Hello GroovyFX

groovy-logo

GroovyFX brings together two of my favorite things: Groovy and JavaFX. The main GroovyFX Project page describes GroovyFX as ‘[providing] a Groovy binding for JavaFX 2.0.’ GroovyFX is further described on that page: GroovyFX is an API that makes working with JavaFX in Groovy much simpler and more natural. GroovyFX is focused on exploiting the power of the Groovy Builder ...

Read More »
Do you want to know how to develop your skillset and become a ...

Subscribe to our newsletter to start Rocking right now!

To get you started we give you our best selling eBooks for FREE!
Get ready to Rock!
To download the books, please verify your email address by following the instructions found on the email we just sent you.

THANK YOU!

Close