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



How Many People Can You Manage as a Manager?


In my first management role, I “managed” one person.  My managee didn’t need much management. He guided me into how to manage him more than I managed him. He saved me from making too many mistakes. It was great practice for me. Later in my management career, I managed a “team” of 15 testers. They were not a team. They ...

Read More »

Spring Data MongoDB cascade save on DBRef objects


Spring Data MongoDB by default does not support cascade operations on referenced objects with @DBRef annotations as reference says: The mapping framework does not handle cascading saves. If you change an Account object that is referenced by a Person object, you must save the Account object separately. Calling save on the Person object will not automatically save the Account objects ...

Read More »

Exploit better the results of Pmd, Findbugs and CheckStyle.


Many Java static analysis tools exist right there, each one focus on a specific area and has its advantages, we can enumerate:                   Pmd which is a static rule-set based Java source code analyzer that identifies potential problems like: Possible bugs—Empty try/catch/finally/switch blocks. Dead code—Unused local variables, parameters and private methods. Empty ...

Read More »

Add Apache Camel and Spring as jboss modules in WildFly


These days I am playing with Wildfly and Apache Camel and Spring. A simple way to communicate between EARs / WARs is using direct-vm component of Camel. There are many ways to achieve this with or without Camel. Camel works like a charm in WildFly without any need for extra configurations. Camel is great!!! In order to avoid pack all ...

Read More »

Architecting a Multi-tenant Application


A multi-tenant application is an application where a single running instance serves many customers. An alternative to multi-tenancy is managed services, where one running instance is set up for each customer. The table below shows a comparison between the two approaches.               Feature Multi-Tenant Application Managed Services Cost Structure Supports usage based pricing as ...

Read More »

Crashing your JVM


Thorough testing can be harmful as we discovered recently. Extending our test coverage led us to a several-hours debugging session caused by just one line of code. What made the debugging particularly unpleasant was the fact that the code crashed not just the JVM it was deployed to, but also the virtual and/or physical machine underneath. So, run the following ...

Read More »

Building and testing a websocket server with undertow


The upcoming version of JBoss Application Server will no longer use Tomcat as integrated webserver, but will replace it with undertow. The architecture of undertow is based on handlers that can be added dynamically via a Builder API to the server. This approach is similar to the way of constructing a webserver in Node.js. It allows developers to embed the ...

Read More »

Auditing Entities in Spring Data MongoDB


Spring Data MongoDB 1.2.0 silently introduced new feature: support for basic auditing. Because you will not find too much about it in official reference in this post I will show what benefits does it bring, how to configure Spring for auditing and how to annotate your documents to make them auditable Auditing let you declaratively tell Spring to store: date ...

Read More »

Two things to remember when using Java RMI


This is a short blog post about two common pitfalls you should be aware of when using Java RMI. Setting java.rmi.server.hostname If you are getting strange Connection refused to host: error messages on the RMI client and you are sure the connection should work (you double checked all the standard things like network configuration etc.) the RMI system property java.rmi.server.hostname is ...

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.