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

 

Deployment Management Tools: Chef vs. Puppet vs. Ansible vs. SaltStack vs. Fabric

devops-logo

What are the pros and cons of Chef, Puppet, Ansible, SaltStack and Fabric? Working in production today often means continuous deployments and an environment distributed all over the world. When your infrastructure is decentralized and cloud-based and you’re dealing with frequent deployments of largely identical services across largely identical servers, having a way to automate the configuration and maintenance of everything ...

Read More »

It’s easy to document your Play Framework REST API with Swagger

java-interview-questions-answers

This post orig­i­nally ran on http://​swag​ger​.io (7/30/2015) I hav­ing been using Play Frame­work as a Java-based, lightning-fast REST back­end frame­work for sev­eral projects. Later, I was was excited to find Swag­ger and worked to inte­grate it into a few projects. As I strug­gled with it the first time, I thought it would be use­ful to share my expe­ri­ence and cre­ate ...

Read More »

Examples of caching backfiring on performance

software-development-2-logo

In 2015 it should not surprise anyone that caching frequently used data is likely to improve the performance of the application. Caching certain data structures locally inside the JVM instead of requesting them via remote calls from external storage is a widely used technique. Introducing such caches to your applications is likely to improve the application’s performance both in regards ...

Read More »

Are annotations bad?

java-logo

I eased off into this topic with my principles on my post about Spring XML vs. Annotations that other day. This easy inlet was also my way of not complicating things too much for my team who is currently involved in writing this new app that will probably have a production life-span for 3-5 years (if we do it right ...

Read More »

From Imperative to Pure-Functional and Back Again: Monads vs. Scoped Continuations

java-logo

This post accompanies this video and won’t make too much sense without it Last month I gave a talk at the Curry On conference, a new conference co-located with the academic, programming language conference, ECOOP. Curry On is intended to bridge the gap between academia. My academic interests do not include programming languages, which I view as the sub-discipline of computer ...

Read More »

Installing PostgreSQL PL/Java as a PostgreSQL Extension

postgresql-logo

In 2011 I wrote a series of articles on PostgreSQL PL/Java. The basic information is still solid but there is a now a much easier way to install PL/Java from source. This also eliminates the need to depend on third parties to create packages. These notes will be fairly brief since I assume my readers are already familiar with git ...

Read More »

Easy validation in Scala using Scalaz, Readers and ValidationNel

scala-logo

I’m working on a new book for Packt which shows how you can use various Scala frameworks to create REST services. For this book I’m looking at the following list of frameworks: Finch, Unfiltered, Scalatra, Spray and Akka-HTTP (reactive streams). While writing the chapters on Finch and Unfiltered I really liked the way these two frameworks handled validation. They both ...

Read More »

Making Thread Dumps Intelligent

java-logo

Long back I had learnt about something called Log MDC, and I was a big fan of it. I was suddenly able to make sense of anything that happens in log files and pin-point to a specific log entry and find what’s right or wrong with it especially when it was about debugging a bug in production. In 2013 I was ...

Read More »

Hibernate: use join table alias on sqlRestriction

jboss-hibernate-logo

When using hibernate in case of complex queries there is the need to use sql. Therefore sqlRestrictions come to the rescue. However using sql restrictions on join table alias is a bit tricky. There would be three tables: The company table. The employee table. Each employee belongs to one company therefore we have a many to one relationship. The benefit ...

Read More »

Interface over-segregation

software-development-2-logo

Programmers easily spot bloated interfaces, and usually carry with them an assortment of, “Knives and stabbing weapons,” for just such encounters. A previous post presented an interface-efficiency equation and demonstrated an algorithm – fueled by this equation – to guide this butchery. A trickier problem to spot, however, is when the members of a family of interfaces have been cut ...

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.