Harald Pehl

Developer notes written down before they get lost.

Local Search in the Management Console

Today WildFly 8.2.0.Final was released. It comes with a number of improvements and bug fixes over the last release, 8.1.0.Final. Regarding the management console, Heiko Braun already gave a glimpse of some of new features in his recent blog post. Today I’d like to introduce yet another feature which was introduced in WildFyl 8.2: Local Search.

JUG Frankfurt

Yesterday I gave a talk about “WildFly 8 - the artist formerly known as JBoss AS” at the Java User Group Frankfurt. The venue was at the 4th floor of the “Deutsche Nationalbibliothek” in Frankfurt. I was quite impressed by the building and the nice meeting room! Afterwards we went to a nearby pub where I enjoyed “Äpplewoi” and a delicious “Schnitzel mit Frankfurter Soß’”.

I really enjoyed giving the presentation. Thanks for invitation.

Here are the slides of my talk:

Search Using lunr.js

When I moved my blog from Blogger to Octopress back in May 2013, I always missed a powerful and well integrated search feature. Octopress is a static site generator and has no database to be queried for searches. The default search is just a redirection to Google Custom Search. This navigates away from the blog site and comes with Google Ads.

WildFly Dockerfiles

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”.

Polyglot DMR

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

Send Mails From OpenShift

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.

HTTP Caching

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.

Web Components

I recently watched Eric Bidelmans presentation on Web Components at Google IO 13. Web Components is an effort to bring true modularisation to web development. For the first time you’ll have encapsulation at the browser level. No more mess with duplicate IDs or mixed CSS style rules.