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 Code Geeks are giving away a FREE Sublime Text Editor License

jcg-logo

Struggling with your heavy-weight editor? Then we have something especially for you! We are running a contest giving away a FREE license for the kick-ass Sublime Text Editor. Sublime Text is a sophisticated text editor for code, markup and prose. You’ll love the slick user interface, extraordinary features and amazing performance! Sublime Text is available for OS X, Windows and ...

Read More »

FREE Programming books with the WCG Newsletter

wcg-logo

Dear fellow geek, it is with great honor that we announce the launch of Web Code Geeks! This is our sister site, targeted to Web programming developers. Come on, admit it, there is a web developer inside you too, so make sure to check it out. To celebrate this, we have decided to distribute 2 of our books for free. ...

Read More »

How does Hibernate READ_ONLY CacheConcurrencyStrategy work

jboss-hibernate-logo

Introduction As I previously explained, enterprise caching requires diligence. Because data is duplicated between the database (system of record) and the caching layer, we need to make sure the two separate data sources don’t drift apart. If the cached data is immutable (neither the database nor the cache are able modify it), we can safely cache it without worrying of ...

Read More »

Clustering Using Docker Swarm 0.2.0

docker-logo

One of the key updates as part of Docker 1.6 is Docker Swarm 0.2.0. Docker Swarm solves one of the fundamental limitations of Docker where the containers could only run on a single Docker host. Docker Swarm is native clustering for Docker. It turns a pool of Docker hosts into a single, virtual host. This Tech Tip will show how ...

Read More »

Why Start-Ups Fail

agile-logo

You’ve probably heard that a start-up’s chance of success is very low. There are many factors of why that happens. I want to illustrate this through the waterfall process that plagues many companies,. Waterfall, the root of all evil? Wasn’t it killed by agile? We’ll see. The process we’re talking about looks like this:     Vision – A startup ...

Read More »

Gradle Goodness: Handle Copying Duplicate Files

gradle-logo

In Gradle we can configure how duplicate files should be handled by the Copy task. Actually we can configure how duplicate files are handled by any task that implements the CopySpec interface. For example archive tasks also implements this interface. We must use the setDuplicatesStrategy method to configure how Gradle behaves. The parameter is a value of the enumeration DuplicatesStrategy. ...

Read More »

Scala Snippet: How to filter a list in Scala

scala-logo

In Scala, filtering and processing collections is easy and elegant. There are many filtermethods available, but the most used will probably the basic filter method. Here’s a code example of some filtering on my (ex)camera collection. The filter method will not only work on Lists, but on any Scala collection. object MyCameraCollection02 { class Camera(_brand: String, _model: String, _sensorType: String, ...

Read More »

Simplify your logging with tinylog 1.0

apache-log4j-logo

With a size of only 75 KB, tinylog is a lightweight alternative to the widespread classical logging frameworks Log4j and Logback. The final version 1.0 has been just released at the end of March, after three years of development. In several design issues, tinylog takes a deliberately different approach from classical logging frameworks in Java. This article will show the ...

Read More »

Spring-session demonstration using docker-compose

spring-interview-questions-answers

I have earlier written about an exciting new project called Spring-session which provides a clean way to externalize user sessions for java based web applications. I managed to get a good demonstration set-up for spring-session using docker-compose which shows off the strengths of this project and I wanted to write about this here. In short, this is the set-up that ...

Read More »

UA Web Challenge Conference: SpringIO for startups

spring-interview-questions-answers

On this week I was speaking on UA Web Challenge Conference in BackEnd section. I’ve chosen strange topic of my talk – “SpringIO for startups”. What is the result of it? I’m going to summarise below. Within three past years I’ve been developed different personal web projects. I never called them “startups” further more no one from them are in ...

Read More »

Building Minimal Docker Containers for Go Applications

docker-logo

There are several great official and community-supported containers for many programming languages, including Go, but these containers can be quite large. Let’s walk through a comparison of methods for building containers for Go applications, then I’ll show you a way to statically build Go apps for containerization that are extremely small. Part One: Our “app” We need something to test ...

Read More »

R: Replacing for loops with data frames

software-development-2-logo

In my last blog post I showed how to derive posterior probabilities for the Think Bayes dice problem: Suppose I have a box of dice that contains a 4-sided die, a 6-sided die, an 8-sided die, a 12-sided die, and a 20-sided die. If you have ever played Dungeons & Dragons, you know what I am talking about. Suppose I ...

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