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


Netflix Archaius for property management – Basics


Netflix Archaius provides a neat set of features to load dynamic properties into an application. This blog post is just a documentation of the extent of Archaius that I have understood, there is much more to it than I have documented here, but this should provide a good start:     Default Behavior Consider a simple properties file: stringprop=propvalue listprop=value1, ...

Read More »

WildFly 9 on NetBeans, Eclipse, IntelliJ, OpenShift, and Maven


WildFly 9 CR1 was recently released. Lots of cool features are included: Intelligent load balancing HTTP/2 and SPDY support A new offline CLI mode Graceful single node shutdown A new Servlet-only distribution And this is above the usual Java EE 7 compliance! This blog is a quick check to verify that it works in all three major IDEs and OpenShift. ...

Read More »

Logging JAX-WS SOAP messages in Spring


Whenever you’re using JAX-WS within Spring you’ll probably want to log the incoming and outgoing SOAP messages – if only for debugging during development. So the first thing to do is increase the log levels, right? Unfortunately this will have no effect. What you will have to do is to make use of the interface. So how do we ...

Read More »

Updating code at runtime (spring-loaded demystified)


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


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]


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!


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


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