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

 

Updating code at runtime (spring-loaded demystified)

java-logo

When the development cycle from compile over deployment up to testing takes too long, one wishes to be able to replace the running code just in time without the need for restarting an application server and waiting until deployment has been finished. Commercial solutions like JRebel or open source frameworks like Grails help in such kind of situations. Replacing code ...

Read More »

Getting Started With Gradle: Integration Testing

gradle-logo

Because the standard project layout of a Java project defines only one test directory (src/test), we have no standard way to add integration tests to our Gradle build. If we want to use the standard project layout, we can add integration tests to our Gradle build by using one of the following options:       We can add our ...

Read More »

Using @Context in JAX-RS [part 1]

java-interview-questions-answers

JAX-RS provides the @Context annotation to inject a variety of resources in your RESTful services. Some of the most commonly injected components are HTTP headers, HTTP URI related information. Here is a complete list (in no specific order)           HTTP headers HTTP URI details Security Context Resource Context Request Configuration Application Providers Lets look at these ...

Read More »

Java Code Geeks are giving away FREE copies of their JSF 2.0 Programming Cookbook eBook!

jcg-logo

Want to boost your knowledge on JSF Programming ? Then we have something especially for you! Enter the contest now to win your very own copy of our JSF 2.0 Programming Cookbook eBook. JavaServer Faces (JSF) is a Java specification for building component-based user interfaces for web applications, using Facelets as its default templating system. It was formalized as a ...

Read More »

How to optimize Hibernate EllementCollection statements

jboss-hibernate-logo

Introduction Hibernate supports three data mapping types: basic (e.g String, int), Embeddable and Entity. Most often, a database row is mapped to an Entity, each database column being associated to a basic attribute. Embeddable types are more common when combining several field mappings into a reusable group (the Embeddable being merged into the owning Entity mapping structure). Both basic types ...

Read More »

How to show a Toast for a specific duration in Android

android-logo

In the Android SDK, an android.widget.Toast is a small message that pops up at the bottom of the screen to display an information. The toast will disappears by itself after a specified duration. Here is an example of what a toast looks like and how to display one :           Context context = getApplicationContext(); Toast.makeText(context, "Hello ...

Read More »

Coding: Visualising a bitmap

java-logo

Over the last month or so I’ve spent some time each day reading a new part of the Neo4j code base to get more familiar with it, and one of my favourite classes is the Bits class which does all things low level on the wire and to disk. In particular I like its toString method which returns a binary ...

Read More »

Sublime VS. Atom: Can GitHub Take the Lead?

software-development-2-logo

Comparing Sublime and Github’s Atom in 10 major categories Sublime has been the undisputed text editing champion for a while now. But a new contender – GitHub’s Atom – is stepping into the spotlight, making noise and trying to steal the not-so-old champion’s thunder. Some 30 versions after the release of Atom’s beta, we felt it would be a good time to test these two head-to-head. On ...

Read More »

Grails Goodness: Custom Data Binding with @DataBinding Annotation

grails-logo

Grails has a data binding mechanism that will convert request parameters to properties of an object of different types. We can customize the default data binding in different ways. One of them is using the @DataBinding annotation. We use a closure as argument for the annotation in which we must return the converted value. We get two arguments, the first ...

Read More »

Software Development Lessons Learned from Consumer Experience

software-development-2-logo

Because we software developers are also inevitably consumers of others’ software applications, we are undoubtedly influenced in the creation of our own software by the software we use. For example, our opinions of what makes an effective interface for users are influenced by our experiences “on the other side” using someone else’s software interface. This is particularly true for web ...

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.