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

 

Prefix and Suffix Matches in Solr

apache-solr-logo

Search engines are all about looking up strings. The user enters a query term that is then retrieved from the inverted index. Sometimes a user is looking for a value that is only a substring of values in the index and the user might be interested in those matches as well. This is especially important for languages like German that ...

Read More »

Generate your JAXB classes in a second with xjc

java-interview-questions-answers

Since JAXB is part of the JDK, it is one of the most often used frameworks to process XML documents. It provides a comfortable way to retrieve and store data from XML documents to Java classes. As nearly every Java developer has already used JAXB, I will not explain the different JAXB annotations. Instead I will focus on a little ...

Read More »

10 ideas to improve Eclipse IDE usability

eclipse-logo

Few years ago, we had a mini IDE war inside our office. It happened between Eclipse and Netbeans supporters. Fortunately, we did not have IntelliJ supporter. Each side tried their best to convince people from the other side to use their favourite IDE. On that war, I am the Eclipse hardcore supporter and I had a hard time fighting Netbeans ...

Read More »

From Scrum to Kanban

agile-logo

This month marks one year from the time we switched from Scrum to Kanban. I find it is a good time for us to review the impact of this change. Our Scrum I have experienced two working environment that practice Scrum and still they are quite different. That why it may be more valuable if we start with sharing of ...

Read More »

SSL encrypted EJB calls with JBoss AS 7

java-interview-questions-answers

Encrypting the communication between client and server provides improved security and privacy protection for your system. This can be an important requirement by the customer, especially if client or server need to work in an unprotected network. This article shows you how to setup SSL encrypted EJB calls in JBoss AS 7. Server There are only two things that need ...

Read More »

Spring Rest Controller with angularjs resource

spring-interview-questions-answers

Angularjs ngResource is an angularjs module for interacting with REST based services. I used it recently for a small project with Spring MVC and wanted to document a configuration that worked well for me. The controller is run of the mill, it supports CRUD operations on a Hotel entity and supports the following methods:           POST ...

Read More »

Spice up your test code with custom assertions

java-logo

Inspired by the @tkaczanowski talk during GeeCON conference I decided to have a closer look at custom assertions with AssertJ library. In my ‘Dice’ game I created a ‘Chance’ that is any combination of dice with the score calculated as a sum of all dice. This is relatively simple object:             class Chance implements Scorable ...

Read More »

API design and performance

software-development-2-logo

When you design a new API you have to take a lot of decisions. These decisions are based on a number of design principles. Joshua Bloch has summarized some of them in his presentation “How to Design a Good API and Why it Matters”. The main principles he mentions are:             Easy to learn Easy ...

Read More »

JPA 2.1 Type Converter – The better way to persist enums

java-interview-questions-answers

Persisting enums with JPA 2.0 is possible, but there is no nice way to do it. Using the @Enumerated annotation, you can use EnumType.ORDINAL or EnumType.STRING to map the enum value to its database representation. But both options have some drawbacks, that we will discuss in the first part of this article. In the second part, I will show you ...

Read More »

5 Reasons you should try JCG Academy

jcg-logo

It is a while now since we quietly launched JCG Academy. It is a subscription based site geared to serious developers that wish to sharpen their technical skills. It includes numerous courses on the latest technologies and it gets updated with new content on a weekly basis. I urge you to have a look at it and try it out, ...

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.