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

 

Writing Data Driven Tests for your Java Application

java-logo

JUnit is an extremely powerful testing framework that not only provides its users with a facility to write quick and easy tests but also provides an opportunity for users to extend it and make it work the way they want it to. Many frameworks have been built on top of JUnit that provides various ease of use functionalities to their ...

Read More »

Set up Jenkins for Android projects

jenkins-logo

Nowadays continuous integration is a must for Android application development. Jenkins plugins make it a lot easier to go with continuous integration while developing your Android application. First we must install the Gradle plugin for Jenkins.               The we must install the Android emulator plugin for Jenkins. We have to install Gradle on jenkins: ...

Read More »

Wiring YAML to a file or network with Chronicle Wire

java-interview-questions-answers

Overview Chronicle Wire is designed to get the benefits of a text protocol in terms of ease of development and faster debugging, but be able to switch to a more performant and smaller binary protocol without having to change your code. In this post, I looked at the performance you might achieve using a YAML based text format for serialization, ...

Read More »

Adding Database Logging to JUnit3

junit-logo

We have written many thousands of JUnit3 tests over the last decade and are now trying to consolidate the results in a database instead of scattered log files. It turns out to be remarkably easy to extend the TestCase class to do this. Note: this approach does not directly apply to JUnit4 or other test frameworks but it’s usually possible ...

Read More »

Increasing complexity one entity at a time

software-development-2-logo

While working on one of our internal tools, I decided to make a small comprise and not follow my own advice. We are building a mini CRM tool and the initial requirements were: Maintain information about the companies we are dealing with; Maintain a list of contacts per company; Maintain a list of engagements (projects, training, consultancy) per company. NOTE: ...

Read More »

Set up a SpringData project using Apache Cassandra

apache-cassandra-logo

On this post we will use Gradle and spring boot in order to create a project that integrates spring-mvc and the Apache Cassandra database. First we will begin with our Gradle configuration group 'com.gkatzioura' version '1.0-SNAPSHOT' apply plugin: 'java' apply plugin: 'eclipse' apply plugin: 'idea' apply plugin: 'spring-boot' buildscript { repositories { mavenCentral() } dependencies { classpath("org.springframework.boot:spring-boot-gradle-plugin:1.2.5.RELEASE") } } jar ...

Read More »

Unix: Redirecting stderr to stdout

software-development-2-logo

I’ve been trying to optimise some Neo4j import queries over the last couple of days and as part of the script I’ve been executed I wanted to redirect the output of a couple of commands into a file to parse afterwards. I started with the following script which doesn’t do any explicit redirection of the output: #!/bin/sh   ./neo4j-community-2.2.3/bin/neo4j start ...

Read More »

JBoss BRMS Complex Event Processing (CEP) Performance Benchmark

java-interview-questions-answers

 Technologies come and go, but one thing remains constant. We love the complex components that make our lives easier when designing enterprise solutions and as architects and developers we are constantly searching for ways to make our lives easier. One way to do this is to keep up on the popular new sites that relate to technologies of interest. Another ...

Read More »

Using YAML over the network

software-development-2-logo

Overview There is a number of popular text based protocols for exchanging data over the network. These include XML, FIX, and JSON. Chronicle Engine uses YAML which has some advantages and disadvantages. Isn’t text slower than binary? Text protocols are slower than binary protocols. The cost of encoding numbers and even unicode strings adds an overhead for the CPU. While ...

Read More »

Sed: Using environment variables

software-development-2-logo

I’ve been playing around with the BBC football data set that I wrote about a couple of months ago and I wanted to write some code that would take the import script and replace all instances of remote URIs with a file system path. For example the import file contains several lines similar to this: LOAD CSV WITH HEADERS FROM ...

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.