Welcome to Smartjava.org

Welcome to Smartjava.org. My name is Jos Dirksen, I work as Architect for JPoint. I like talking, reading, presenting and writing about technology. On this website you can find additional information relating to the books I've written:

You can also find documentation on the open source BAM tool Bamos here. With the Bamos solution you can easily create gadgets that provide you with metrics on your running service environment. And finally this site hosts my blog where I post information about my current projects, interestes and more. The latest version of the Bamos software can be downloaded from here: Download latest version of the Bamos server

On this page you can find the latest set of articles I've written for this blog. For an overview of all the articles, you can use the link in the menu.

HTML5: Remotely vibrate a phone with morse code using web sockets and the vibrate API.

In my last couple of blog posts I showed you can use a couple of the new HTML5 related APIs (webrtc, web workers, device orientation) directly from your browser. A couple of days ago I ran into the W3C Vibration API, which reached "Candidate Recommendation" status last week (8th of May).

HTML5: Easily parallelize jobs using web workers and a threadpool

I've been experimenting with web workers and the various browser implementations. Most of the articles I've seen show an example where a single worker thread is started in the background to execute some heavy task. This frees up the main thread to render the rest of the webpage and respons to user input.

HTML5: Combining physics engine (box2dWeb) with DeviceOrientation

When the first smartphones came out, they all had the traditional labyrinth applications. Application where you had to move a ball around a certain path by tilting and moving your phone around. There is also an HTML5 specification that allows you to do this directly from your browser. This would allow us to create all kind of cool games that run directly from the browser.

Binary websockets with Play 2.0 and Scala (and a bit op JavaCV/OpenCV)

In a recent article I showed how you can use webrtc, canvas and websockets together to create a face detection application whose frontend runs completely in the browser, without the need for plugins. In that article I used a Jetty based backend to handle the image analysis using OpenCV through the JavaCV wrapper.

Connect to RabbitMQ (AMQP) using Scala, Play and Akka

In this article we'll look at how you can connect from Scala to RabbitMQ so you can support the AMQP protocol from your applications. In this example I'll use the Play Framework 2.0 as container (for more info on this see my other article on this subject) to run the application in, since Play makes developing with Scala a lot easier.