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

 

Java 8 news

java-logo

The first release candidates of Java 8, b128 and Java 8 RC2 showed up on February, fixing a serious flaw in the new Comparator API, where its new thenComparing() method had an unnecessary type restriction. The thenComparing() method of java.util.Comparator does not require that type U extend java.lang.Comparable, since keyComparator is used to compare extracted key objects. Java 8 RC2 ...

Read More »

Using Reflection for Testing

java-logo

I am working on a presentation about the ‘Single Responsibility Principle’, based on my previous post. It take most of my time. In the meantime, I want to share a sample code of how I use to test inner fields in my classes. I am doing it for a special case of testing, which is more of an integration test. ...

Read More »

OutOfMemoryError: solution antipatterns

java-logo

Throughout those years we have kept a close eye on the problems packaged in different flavours of OutOfMemoryError message. Daily digests on new questions on specific keywords via specialised services such as the Google Alerts have given us a good overview about the situations where applications fail with the java.lang.OutOfMemoryError in logs. The people facing the problem tend to fall ...

Read More »

ADF Faces. Immediate custom client events

java-interview-questions-answers

In this post I am going to focus on ADF Faces Javascript API method to fire a custom event from the client side. For example:                      function cliListener(actionEvent) {      AdfCustomEvent.queue(actionEvent.getSource(), "servListener",                         null, true);     } We can use af:clientListener tag in order to attach the cliListener function to a ...

Read More »

Two Ways to Get the Most Out of Daily Stand-up Meetings

agile-logo

A daily stand-up meeting is an essential part of agile software development. It is a meeting which takes place at the same place and time every working day. The agenda of this meeting is simple. Each team member must answer to three question: What did I do yesterday? What will I do today? What problems (impediments) prevents me from doing ...

Read More »

Creating Maven Source and Javadoc Artifacts

java-interview-questions-answers

Many people are aware of maven source and javadoc artifacts but don’t know why they would want to create them. I was definitely in this camp – I can see why people want this information but it seemed like a relatively inefficient way to get it since it requires manual navigation of the maven repository. Then I got hit by ...

Read More »

Creating Sonarqube Projects

sonar-logo

Sonarqube (nee Sonar) is da bomb. It’s not something you have to check daily but if you’re serious about quality you’ll check it during sprint planning if not weekly. Check out a sample project at nemo.sonarqube.com, e.g., OpenJPA, to get an idea of what information is available. You might want to focus on a specific component at first, e.g., OpenJPA ...

Read More »

Why Unix utilities are worth learning

devops-logo

Why VIM? Sooner or later there comes the day when your easy-to-use IDE becomes useless for handling huge files. There aren’t many editors capable of working with very large files, like production logs for instance. I’ve recently had to analyze a 100 MB one-line JSON file and once more VIM saved the day. VIM, like many other Unix utilities, is ...

Read More »

Monitoring JBoss Fuse ESB with Nagios

devops-logo

Note: this article describe a scenario based on JBoss Fuse, but it’s applicable to any Java context able to run Servlet java, like JBoss EAP, WildFly, Tomcat, etc… One of my recent activity at work has been to provide guidance about monitoring a JBoss Fuse ESB setup with Nagios/OpsView. Despite more specialized solutions for the specific problem do exist (Fuse ...

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.