Workshop in a Can: Setup a JBoss BRMS Full Day Workshop

java-interview-questions-answers

Looking for an easy way to promote, present or demonstrate how easy it is to get started with JBoss Business Rules Management System (BRMS) product? Look no further as we have pulled together this workshop so that you can construct an evening, half day or full day session of learning around JBoss BRMS. You can setup this workshop and run ...

Read More »

Neo4j: The football transfers graph

Given we’re still in pre season transfer madness as far as European football is concerned I thought it’d be interesting to put together a football transfers graph to see whether there are any interesting insights to be had. It took me a while to find an appropriate source but I eventually came across transfermarkt.co.uk which contains transfers going back at ...

Read More »

Bugs and cracks

Compile-time and run-time villains. Consider the software system on which you currently work. Would you release that system with 31,197 bugs? Not potential bugs, mind; actual identified bugs. If you answer yes to this then you can stop reading now. This post is not for you. Taking a ridiculously simplistic view of software, we can split software development into three ...

Read More »

Consuming java.util.concurrent.BlockingQueue as rx.Observable

Classical producer-consumer pattern is relatively simple in Java since we have java.util.concurrent.BlockingQueue. To avoid busy waiting and error-prone manual locking we simply take advantage of put() and take(). They both block if queue is full or empty respectively. All we need is a bunch of threads sharing reference to the same queue: some producing and others consuming. And of course ...

Read More »

Comment Your Fucking Code!

You’re the elite. You know Clean Code by heart, you dream of SOLID design, and you unit-test every line you write. Your code is so self-documenting you don’t even need to write comments! Then this rant is just for you! Because let me tell you something: Without comments, working with your code is still a fucking pain. No matter how ...

Read More »

IOT in a Nutshell

Call it a buzzword, hype, talk of the town, new kid on the block, the in thing, well the Internet of Things (IOT) is all things that can be made to talk to internet. It boils down to things providing data of some sort that can be used to perform different types of analysis. IOT is an abstract concept that ...

Read More »

Tomcat’s Default Connector(s)

Tomcat has a couple of connectors to choose from. I’ll leave aside the APR connector, and focus on the BIO and NIO. The BIO connector (blocking I/O) is blocking – it uses a thread pool where each thread receives a request, handles it, responds, and is returned to the pool. During blocking operations (e.g. reading from database or calling an ...

Read More »

Building A Chat App With Codename One Part I

In this tutorial we will cover the basics of building a good looking chat application with Codename One that will work on all mobile OS’s. We will cover everything from design to social network login and the actual chat behavior. This tutorial is for a hand coded application mostly because GUI builder tutorials require video and are thus less searchable. ...

Read More »

Scaling Kubernetes Cluster

Automatic Restarting of Pods inside Replication Controller of Kubernetes Cluster shows how Kubernetes reschedule pods in the cluster if one or more of existing Pods disappear for some reason. This is a common usage pattern and one of the key features of Kubernetes. Another common usage pattern of Replication Controller is scaling: The replication controller makes it easy to scale the ...

Read More »