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

 

Spring Security Login

spring-security-logo

1. Introduction This article is going to focus on Login with Spring Security. We’re going to built on top of the simple previous Spring MVC example, as that’s a necessary part of setting up the web application along with the login mechanism. 2. The Maven Dependencies To add Maven dependencies to the project, please see the Spring Security with Maven ...

Read More »

5 Things That Will Make Your Agile Development Project FAIL

agile-logo

Far too many Agile development projects fail. It is hard to even accurately measure the number of failures because so many software development projects end up “complete” and shipped, even though: They took far too long to build The quality of what we built was poor What was built was not what the customer wanted The cost to develop was ...

Read More »

Hibernate 4 with Spring

jboss-hibernate-logo

1. Overview This article will focus on setting up Hibernate 4 with Spring – we’ll look at how to configure Spring 3 with Hibernate 4 using both Java and XML Configuration. Parts of this process are of course common to the Hibernate 3 article. 2. Maven To add the Spring Persistence dependencies to the project pom.xml, please see the article ...

Read More »

Spring MVC Tutorial

spring-interview-questions-answers

1. Overview and Maven This is a simple Spring MVC tutorial showing how to set up a Spring MVC project, both with Java based Configuration as well as with XML Configuration. The Maven artifacts for Spring MVC project are described in the in detail in the Spring MVC dependencies article. 2. The web.xml This is a simple configuration of the ...

Read More »

Spring Security with Maven

apache-maven-logo

1. Overview This article will explain how to setup Spring Security with Maven and will go over specific use-cases of using Spring Security dependencies. The latest Spring Security releases can be found on Maven Central. This is a followup to the previous Spring with Maven article, so for non-security Spring dependencies, that’s the place to start.       2. ...

Read More »

Hibernate 3 with Spring

jboss-hibernate-logo

1. Overview This article will focus on setting up Hibernate 3 with Spring – we’ll look at how to use both XML and Java configuration to set up Spring 3 with Hibernate 3 and MySQL. 2. Java Spring Configuration for Hibernate 3 Setting up Hibernate 3 with Spring and Java config is straightforward:       import java.util.Properties; import javax.sql.DataSource; ...

Read More »

Installing Google Play on Android Emulator

android-logo

The problem I wanted to install Google Play on emulator. Problem is no guide on the net could tell me precisely how to do this. I’m not sure why, it seemed that they worked with old Android Market (pre version 3 era) or at least people shown some screenshots of that but I couldn’t make it work at home. The ...

Read More »

JPA – Querydsl Projections

querydsl-logo

In my last post: JPA – Basic Projections – I’ve mentioned about two basic possibilities of building JPA Projections. This post brings you more examples, this time based on Querydsl framework. Note, that I’m referring Querydsl version 3.1.1 here. Reinvented constructor expressions Take a look at the following code:         ... import static com.blogspot.vardlokkur.domain.QEmployee.employee; import javax.persistence.EntityManager; import ...

Read More »

Java 8: CompletableFuture in action

java-logo

After thoroughly exploring CompletableFuture API in Java 8 we are prepared to write a simplistic web crawler. We solved similar problem already using ExecutorCompletionService, Guava ListenableFuture and Scala/Akka. I choose the same problem so that it’s easy to compare approaches and implementation techniques. First we shall define a simple, blocking method to download the contents of a single URL:   ...

Read More »

Java 8: Definitive guide to CompletableFuture

java-logo

Java 8 is coming so it’s time to study new features. While Java 7 and Java 6 were rather minor releases, version 8 will be a big step forward. Maybe even too big? Today I will give you a thorough explanation of new abstraction in JDK 8 – CompletableFuture<T>. As you all know Java 8 will hopefully be released in ...

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.