For the last couple of days I have been playing with Docker. In a nutshell Docker is a tool that lets you create images and run so called containers. It uses Linux Containers (LXC) under the hood. What appears to be yet another virtualization solution, is in fact a very lightweight way to setup, manage and run “processes in a box”.
Yesterday I presented “WildFly 8 - the artist formerly known as JBoss AS” at the JBoss One Day Talk in Munich. Furthermore I had the chance to give a brief introduction to “DMR.scala / DMR.repl”.
I really enjoyed attending the conference. It was well organized and packed with great talks. Here are the slides of my talks (partly in German):
The dynamic or detyped model representation (DMR) is an API to interact with the management model of a running WildFly instance. There’s an Java API available at https://github.com/jbossas/jboss-dmr which is described in the WildFly Wiki. Though the Java API is very rich and powerful it is somewhat hard to write scripts that perform useful tasks like
- Periodically read the memory and send an SMS / tweet / email when a threshold is reached
- Rollout a deployment over all servers in a cluster
- Monitor the state of an application
OpenShift is a great place to host your applications. In this post I’m going to show you how you can easily send mails from your JEE applications running on JBoss. For sending mails I’m going to configure an external SMTP server. Any SMTP server will do, I’m going to use GMail.
I recently implemented caching for distinct operations of the HTTP management API in WildFly. As a preparation I did some research on HTTP caching and how it’s best implemented on the server side. A really good introduction is the caching tutorial by Mark Nottingham. I’ll discuss the key points in this blog post.
For over three years I was hosting my blog at Blogger.com. Although publishing was quite easy I never was really happy with the layout and the support for customization.