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

 

Quick tip: Exception handling in Message Driven Beans

java-interview-questions-answers

Let’s do a quick review of exceptional handling with regards to Message Driven Beans. The entry point into a MDB is the overridden onMessage method. It does not provide any scope for throwing checked exceptions and as a result, you will need to propagate unchecked exceptions (subclass of java.lang.RuntimeException) from your code if you want to handle error scenarios. Types ...

Read More »

R: Scraping the release dates of github projects

software-development-2-logo

Continuing on from my blog post about scraping Neo4j’s release dates I thought it’d be even more interesting to chart the release dates of some github projects. In theory the release dates should be accessible through the github API but the few that I looked at weren’t returning any data so I scraped the data together. We’ll be using rvest ...

Read More »

Discovering the Computer Science Behind Postgres Indexes

software-development-2-logo

This is the last in a series of Postgres posts that Pat Shaughnessy wrote based on his presentation at the Barcelona Ruby Conference. You can also watch the video recording of the presentation. The series was originally published on his personal blog, and we are republishing it on Codeship with his kind permission. You can also read posts one, two, ...

Read More »

Writing a download server. Part I: Always stream, never keep fully in memory

java-interview-questions-answers

Downloading various files (either text or binary) is a bread and butter of every enterprise application. PDF documents, attachments, media, executables, CSV, very large files, etc. Almost every application, sooner or later, will have to provide some form of download. Downloading is implemented in terms of HTTP, so it’s important to fully embrace this protocol and take full advantage of ...

Read More »

5 Great Snacks For the Coder’s Brain

software-development-2-logo

You’re coding and you’ve been in the flow for a few hours. Everything is going just fine, but then hunger strikes suddenly. Since you don’t have anything on hand, you go to the cafeteria or to a nearby café to grab a muffin or a pastry full of sugar. When you sit down to resume coding while eating your snack, ...

Read More »

Integrating Active Directory from Java

java-interview-questions-answers

Firstly you will need to setup Active Directory so that you can run and test your code. If (like me) you don’t have a machine with Windows Server no worries, this is how you can set up Active Directory even on Mac OSX. The first thing you want to do is set up a user a in AD.  Make sure ...

Read More »

Problems with Cobertura and Sonar 5.1

sonar-logo

Recently, I was having some bother trying to use Sonar 5.1 with my Grails 2.4.4 project. I was using the usual Groovy stuff:Gmetrics, Codenarc and Cobertura. For the Sonar database I was using Postgres 9.4. The logfile for the Sonar runner just gave me this: build 22-Jun-2015 07:44:30 INFO: ------------------------------------------------------------------------ build 22-Jun-2015 07:44:30 INFO: EXECUTION FAILURE build 22-Jun-2015 07:44:30 INFO: ...

Read More »

How to Debug Your Maven Build with Eclipse

eclipse-logo

When running a Maven build with many plugins (e.g. the jOOQ or Flyway plugins), you may want to have a closer look under the hood to see what’s going on internally in those plugins, or in your extensions of those plugins. This may not appear obvious when you’re running Maven from the command line, e.g. via: C:\Users\jOOQ\workspace>mvn clean install Luckily, ...

Read More »

Structural simplicity

software-development-2-logo

You’ve all seen Rich Hickey’s excellent Simple-made-easy presentation, in which Mr Hickey trawls the dictionary to remind us that, “Simple,” doesn’t mean ease-of-use or intellectually un-challenging but, “Not complex or compound.” The opposite of simple is not, “Hard,” but, “Composition.” If a piece of software is simple then it is not composed of other pieces of software. We all know, ...

Read More »

Following a Select Statement Through Postgres Internals

postgresql-logo

This is the third in a series of Postgres posts that Pat Shaughnessy wrote based on his presentation at the Barcelona Ruby Conference. You can also watch the video recording of the presentation. The series was originally published on his personal blog, and we are republishing it on Codeship with his kind permission. You can also read posts one 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.