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

 

JavaFX Tip 2: Sharp Drawing with Canvas API

javafx-logo

When I initially started out working with the Canvas API I noticed that the results of my rendering code were somewhat blurry and even worse, inconsistent. Some lines were blurry, others sharp. Coming from Swing it took me some time to realize that this was caused by the coordinate system of JavaFX, which allows for double precision rendering. To solve ...

Read More »

JavaFX Tip 1: Resizable Canvas

javafx-logo

While working on FlexGanttFX I had to deal a lot with the JavaFX Canvas node. I am using it to render activities on a timeline. Each row in the Gantt chart is a Canvas node. The user has the option to resize each row individually. So I had to figure out the best way to resize a canvas, which out-of-the-box is not ...

Read More »

Memoization of Scala Streams

scala-logo

I learnt the hard way that scala internally uses memoization with Streams. This was my first attempt at a solution to Euler Problem 5                 def from(n: Int): Stream[Int] = n #:: from(n + 1) def isDivisibleByRange(n: Int, r: Range) = { r.forall(n % _ == 0) } val a = from(21) val ...

Read More »

Dubious Aspects of Features of JDK 8

java-logo

Most of us who develop with Java are generally enthusiastic for the features and improvements that come with JDK 8. However, there have been several recent posts that have pointed out some features that can be misused and abused and might lead to some additional issues in the future. These features, which remind me of the introduction of autoboxing in ...

Read More »

ClassNotFoundException: is it slowing down your JVM?

java-logo

Most Java developers are familiar with the infamous and very common java.lang.ClassNotFoundException. While the sources of this problem are generally well understood (missing classes/libraries in classpath, class loader delegation problems etc.), the impact to the overall JVM and performance is often unknown. This situation can lead to significant impacts to your application response time and scalability. Large Java EE enterprise ...

Read More »

A Docker Maven Plugin for Integration Testing

docker-logo

What is Docker? Docker is the buzzword that is taking the DevOps world. If you don’t know yet what is Docker, be warned, you will find yourself using it one way or another very soon. The rest of this post assumes some basic understanding of Docker, but if you are not familiar with it now, I’m sure you will come ...

Read More »

Apache Olingo is now a top-level project

apache-olingo-logo

The Apache Software Foundation recently announced that Apache Olingo has graduated from the Apache Incubator to become a Top-Level Project, thus signifying that the project’s community and products have been well-governed under the ASF’s meritocratic process and principles. Apache Olingo is an open-source, generic Java client and server library implementation of the OData (Open Data Protocol) standard for interoperable querying ...

Read More »

How much faster is Java 8?

java-logo

Java SE 8 was released yesterday. Traditionally, every new major JRE version comes with a free performance boost. Do we get another free lunch? And how big is the gain this time? Let’s benchmark it.             Benchmark methodology Run the same code with 3 different JRE versions (SunJDK 1.6.0_26, OpenJDK 1.7.0_51 and OpenJDK 1.8.0). The ...

Read More »

Constructor/Method Parameters Metadata Available Via Reflection in JDK 8

java-logo

One of the lesser advertised new features of JDK 8 is the optional ability to include parameter metadata in compiled Java classes [JDK Enhancement Proposal (JEP) 118]. This feature allows Java applications to access this parameter metadata information at runtime via reflection. The Java Tutorials‘ Reflection API trail includes a lesson called Obtaining Names of Method Parameters that discusses and ...

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.