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

Three Reasons Why I Like the Builder Pattern

java-logo

There are three ways to create new objects in Java programming language: The telescoping constructor (anti)pattern The Javabeans pattern The builder pattern I prefer the builder pattern over the other two methods. Why? Joshua Bloch described the builder pattern and the benefits of using it in Effective Java. He did an excellent job and I will not repeat these benefits ...

Read More »

5 most awesome desktop environments for Ubuntu

devops-logo

Are you using Ubuntu and bored of using Unity desktop all the time? Then, you should check out other options available that can replace unity for you. I have collected 10 desktop environments that are superbly awesome and you sure would want to use them once you are done with this article. Let me show what i have got for ...

Read More »

Testing for expected exceptions in JUnit

junit-logo

Unit tests are used to verify that a piece of code operates as the developer expects it to. Sometimes, that means checking that the code throws expected exceptions too. JUnit is the standard for unit testing in Java and provides several mechanisms for verifying exceptions were thrown. This article explores the options and their relative merits.   Take the following ...

Read More »

Java 8 Friday Goodies: Lambdas and SQL

java-logo

At Data Geekery, we love Java. And as we’re really into jOOQ’s fluent API and query DSL, we’re absolutely thrilled about what Java 8 will bring to our ecosystem. We have blogged a couple of times about some nice Java 8 goodies, and now we feel it’s time to start a new blog series, the… Java 8 Friday Every Friday, ...

Read More »

Cost of Delay Due to Multitasking, Part 2

agile-logo

In Cost of Delay: Not Shipping on Time, Part 1, I introduced you to the notion of cost of delay. I said you could reduce the cost of delay by managing your projects: have shorter projects, using release criteria, or selecting a lifecycle that manages the risk. Sometimes, you don’t have short projects, so projects get backed up, and your ...

Read More »

My advice to (junior) developers about their career

career-logo

The last couple of months I have met several young developers that either looking for the first job or are still trying to get their bachelor degree. Many of them asked me to give them my advice on how they can make their first steps in the software development career. It’s really nice to see young people to care so ...

Read More »

Grails Goodness: Customize Root Element Name Collections for XML Marshalling

grails-logo

When we convert a List or Set to XML using the Grails XML marshalling support the name of the root element is either <list> or <set>. We can change this name by extending the org.codehaus.groovy.grails.web.converters.marshaller. xml.CollectionMarshaller. We must override the method supports() to denote the type of collection we want to customize the root element name for. And we must ...

Read More »

Don’t Make Me Read Your Resume (How to Apply to Jobs)

career-logo

I will read your résumé unless it’s 10 pages, but (just as you didn’t want to write your résumé) I really don’t want to read your résumé. To put it another way, I don’t want to read it because I must in order to make a yes/no decision. Ideally, I can decide to speak to you based on a few sentences in the ...

Read More »

Spring JMS: Processing messages within transactions

spring-interview-questions-answers

1.Introduction This post will show you how an error in the execution of the consumer during the asynchronous reception of messages with JMS, can lead to the loss of messages. I then will explain how you can solve this problem using local transactions. You will also see that this solution can cause in some cases, message duplication (for example, when ...

Read More »

You’re Very Likely to Have Gotten SQL Date Time Arithmetic Wrong!

software-development-2-logo

You’re very likely to have gotten SQL date time arithmetic wrong. And why is that? Google it! You’ll quickly find blog posts like these: Date / Time Arithmetic with Oracle 9 / 10 How does one add a day/hour/minute/second to a date value? Orace Date Arithmetic Tips And they’re all advocating stuff like this: SYSDATE + (10/1440) is ten minutes ...

Read More »
Do you want to know how to develop your skillset and become a ...

Subscribe to our newsletter to start Rocking right now!

To get you started we give you our best selling eBooks for FREE!
Get ready to Rock!
To download the books, please verify your email address by following the instructions found on the email we just sent you.

THANK YOU!

Close