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


Scala setup on Windows 7


This article will be dedicated to installation of Scala on PC with Windows 7. In general, doesn’t metter which Windows you have. All steps you need to perform are approximately the same for all versions of Windows. In my previous post I have described how to install Scala on Mac OS. The first step you need to do is download ...

Read More »

Google account Integration in Android – Login with Gmail


Hello Friends, This is my post for Google account integration with your application,  login with gmail, signup with Google account. Some important step is given below- Step 1- Create new project say GoogleProfileDemo. Step 2- Add “Google play service” libray project. Step 3 – Add needed permission in manifest.xml-     <uses-permission android:name="android.permission.INTERNET" /> <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /> <uses-permission android:name="android.permission.GET_ACCOUNTS" /> ...

Read More »

Spring 4 Conditional


Spring 4 is introducing a new feature called Conditional – an annotation targeted towards Spring components which generate beans and vetos the generation of these beans, in essence it provides a way to conditionally generate beans. Consider a simple example: I have a service called “CustomerService”, with two implementations of this service, say “CustomerService1” and “CustomerService2”. Based on the presence ...

Read More »

Ahoy There Callbacks!


Because it’s my bag, I like JavaScript. In fact, I’ve grown to love JavaScritp’s asynchronous callback oriented style of programming. Consequently, when I find myself in a non-JavaScript environment, say, like Java, I tend to miss using callbacks. The good news is that you can emulate asynchronous callbacks in Java. In fact, I did just that recently with a library ...

Read More »

Android Header and Footer layout example


In this article we are going to see how you can create a simple Android Layout that includes a header part, a footer part and the content area. It is relatively easy to do that in the Android platform. The important bit is to try to make your layouts reusable and independent from one another, so you can use it ...

Read More »

Tomcat’s Graceful Shutdown with Daemons and Shutdown Hooks


My last couple of blogs have talked about long polling and Spring’s DeferredResult technique and to demonstrate these concepts I’ve shoehorned the code from my Producer Consumer project into a web application. Although the code demonstrates the points made by the blogs it does contain a large number of holes in its logic. Apart from the fact that in a ...

Read More »

Offensive programming


How to make your code more concise and well-behaved at the same time Have you ever had an application that just behaved plain weird? You know, you click a button and nothing happens. Or the screen all the sudden turns blank. Or the application get into a “strange state” and you have to restart it for things to start working ...

Read More »

Fine-Grained Concurrency with the Guava Striped Class


This post is going to cover how to use the Striped class from Guava to achieve finer-grained concurrency. The ConcurrentHashMap uses a striped locked approach to increase concurrency and the Striped class extends this principal by giving us the ability to have striped Locks, ReadWriteLocks and Semaphores. When accessing an object or data-structure such as an Array or HashMap typically ...

Read More »

3 Styles: Iterative, Incremental and Evolutionary Agile (part 1)


When I’m teaching training courses (as I was this week at Skills Matter) or advising clients on the requirements side of software development (which I’m doing a lot of just now) I talk about model I call “3 Styles of Agile”. Incredibly I’ve never blogged about this – although the model is hidden inside a couple of articles over the ...

Read More »

Why I Infracode


I’ve been involved in, and observed, some recent conversations which have me thinking about why I do what I do. Also, what exactly is it that I do? I was having a discussion about why I enjoy working in the areas I do – which I typically describe as: Config management & Deploy automation Monitoring infra & app integration CI ...

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.