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 ....

 

Free Team Management Tool For JCG Readers (Giveaway)

bitrix24-logo

Being a Java Code Geeks reader comes with its perks and one of them is getting a free Bitrix24 account with 10 GB worth of online storage. In case you are not familiar, Bitrix24 is a collaboration platform created specifically for small teams that comes with 35+ tools and is 100% free for teams of up to 12 users.   ...

Read More »

5 Best Email Clients for Open Source Environment

software-development-2-logo

An email client, also known as Mail User Agent (MUA) is an application used to manage the emails. Linux has a lot of email clients, terminal and GUI based. I have collected the top 5 GUI based email clients and compared them in various aspects.  Standard formats normally used by most of the mailboxes are maildir and mbox. Outlook and ...

Read More »

Spring for Apache Hadoop 2.0 M5

spring-interview-questions-answers

Spring has happily announced the Spring for Apache Hadoop 2.0 M5 milestone releases, while they are also getting much closer to a release candidate. In the Spring blog there is a good comparison between the new version 2.0 and the 1.0 version. According to it: 1.0 version of Spring for Apache Hadoop uses HDFS and MapReduce with either MapReduce v1 ...

Read More »

Java: Handling a RuntimeException in a Runnable

java-logo

At the end of last year I was playing around with running scheduled tasks to monitor a Neo4j cluster and one of the problems I ran into was that the monitoring would sometimes exit. I eventually realised that this was because a RuntimeException was being thrown inside the Runnable method and I wasn’t handling it. The following code demonstrates the ...

Read More »

Retry web service operations with RequestHandlerRetryAdvice

spring-interview-questions-answers

1.Introduction Sometimes when invoking a web service, we may be interested in retrying the operation in case an error occurs. When using Spring Integration, we can achieve this functionality with RequestHandlerRetryAdvice class. This class will allow us to retry the operation for a specified number of times before giving up and throwing an exception. This post will show you how ...

Read More »

The Anatomy of a Great Stack Overflow Question (After Analyzing 10,000)

software-development-2-logo

How to phrase a question in Stack Overflow in order to get better answers Stack Overflow offers a great interface for accessing all of its data and running any possible query in the questions/answers database. We started using this database to better understand the most common questions about debugging (what we’re trying to solve at Takipi). While learning about debugging through ...

Read More »

How error handling works in Spring Integration

spring-interview-questions-answers

1.Introduction The target of this post is to show you how errors are handled when using the messaging system with Spring Integration. You will see that error handling is different between synchronous and asynchronous messaging. As usual, I’ll skip the chat and proceed with some examples. You can get the source code at github. 2.The sample application I will use ...

Read More »

Use Mockito to mock autowired fields

mockito-logo

Dependency injection is very powerful feature of Inversion of Control containers like Spring and EJB. It is always good idea to encapsulate injected values into private fields. But encapsulation of autowired fields decreases testability. I like the way how Mockito solved this problem  to mock autowired fields. Will explain it on example. (This blog post expects that you are little ...

Read More »

Spring Integration – Using RMI Channel Adapters

spring-interview-questions-answers

1.Introduction This article explains how to send and receive messages over RMI using Spring Integration RMI channel adapters. It is composed of the following sections: Implementing the service: The first section focuses on creating and exposing a service. Implementing the client: Shows how to invoke the service using the MessagingTemplate class. Abstracting SI logic: Finally, I’ve added another section explaining ...

Read More »

Version Numbering Scheme – Yet another approach

software-development-2-logo

Version numbering schemes are probably one of the few things we software engineers have more than sort algorithms. However, there’s always room for one more. While the classic approach of MAJOR.MINOR.PATCH (e.g. 1.8.2) works quite well for libraries or products which are distributed in a broad manner, it is still not as easy as it seems.What is a major change? ...

Read More »
Want to take your Java Skills to the next level?
Grab our programming books for FREE!
  • Save time by leveraging our field-tested solutions to common problems.
  • The books cover a wide range of topics, from JPA and JUnit, to JMeter and Android.
  • Each book comes as a standalone guide (with source code provided), so that you use it as reference.
Last Step ...

Where should we send the free eBooks?

Good Work!
To download the books, please verify your email address by following the instructions found on the email we just sent you.