What I learned at JavaZone 2014

Posted by


Another JavaZone is over and hopefully I will be able to experience this nerdy gathering next year too. Throughout the conference I learned new things, met new interested people and ate great food. I went to a lot of talks and will highlight some of them in this article.

Using Docker to streamline development

This talk was about how to streamline the development process using Docker by splitting up into modules. Depenencies on modules are handled by Docker services (exposed port numbers). To manage the configuration of deployment of all services he showed how to do this with Fig. He showed that everything could be deployed to the could using Kubernetes (a container cluster manager). What was really suprising was that even Microsoft is using (and working on) Kubernetes. He also used an interesting unix shell calles Fish. He did not talk about that, but Fish is basically a shell with some human-readable scripting. I had some knowledge of Docker before attending the talk, but that was not necessary since he also showed some basic Docker usage.

Building Modular Java Applications in the Cloud Age

OSGi has a bad reputation, but some of us has come to the conclusion that we do not have much alternatives for enforcing strict modularity. OSGi is here today and will (probably) be in the future. Bert's talk started about what OSGi is (without actually naming it until later). I know a quite a lot about OSGi so for me it did not add to my knowledge, but it was a good introduction. The next part was in the form of live-coding using BndTools and Eclipse. It looks very productive and I really hope IntelliJ will come with some better OSGi support in the future. BndTools rely on Eclipse and Ant (for building), but can also be used with Gradle in the latest build (as I was told).

How to "login with Facebook": OAuth 2 demystified

I have always said that I really need to read trough the OAuth 2.0 spesifications but never had time. This lightning talk was consise and right to the point on how to login using Facebook and Google with OAuth 2.0 protocol. He managed to show us all three OAuth dances in the 10 minute talk. It went a little fast in the last 2 minutes of the talk, but still the talk was very informative.

Push in Finn.no

Finn.no is the largest online marketplace in Norway and is relying on a number of open-source libraries. This talk was about how they implemented the new push notification support in Finn. He talked about how they use Elasticsearch's percolator to execute stored-searches so the users can be notified on certain hits. He also talked about how the users can be notified using any number of methods (e-mail, mobile app-service or SMS). This is the first talk I heard about using the percolator feature in Elasticsearch in a real-world application.

Controversial mathematics

I always liked mathematics and still do. This talk got me inspired to read more about certain matematical problems. Christian talked problems that we think are right but really are totally wrong (or atleast a little wrong). The 1 equals 0.999... proof was fun to watch and the Monty Hall problem was cool to see illustrated. Learned a new mathematical law and one new paradox. Also learned a new "number" - The Aleph number. Linked some of the problems at the end for the like-minded math-heads to look at.

Fix That!

This talk was the most entertaining talk that I attended. She's really good at telling a story and she tells it with real enthusiasm. It was basically about trusting the services you need and distance yourself from over-complex scalability toughts. I learned that maybe we tend to think too much about scalability when we do not need to. As she said, Facebook needs to think about that kind of things when serving over 800 million people each day, but maybe we do not need to?


We are using agile metholody at where I work, but we tend to not doing planning poker (even if we should). No-estimates movement seems like a good idea to estimate the release of some software by not estimating tasks. I enjoyed the talk and I really encourage you to look at the recorded presentation.

That's all. Thanks for reading.