Harald Pehl

Developer notes written down before they get lost.

JUG Frankfurt 2

Yesterday I gave a talk about “Errai - The browser as a platform” at the Java User Group Frankfurt. It was my second time at the JUG and it has been fun again! Most of the audience were surprised that GWT is still alive and very active. Even more they were impressed by the features of Errai and how easy it is to get up and running.

As always everything was well organized and the “Äpplewoi” and the “Schnitzel mit Frankfurter Soß’” was delicious!

Thanks for having me! Here are the slides of my talk: Errai - The browser as a platform

Updated Management Console in WildFly 9

The upcoming WildFly 9 release will include an improved HAL management console based on the 2.6.x branch branch.

The improvements at a glance:

  • New subsystem configuration: Remoting
  • Support for datasource templates.
  • Provide all flush-* operations for connection pools
  • Improved log viewer
  • Enhanced model browser
  • Get more details about applied patches
  • Standalone console

Standalone Management Console

Back in 2013 I wrote about an idea to have an independent management console which can connect to arbitrary servers. Starting with WildFly 9 we finally have the technical prerequisites to ship such a console. In this blog post I will describe how to configure and launch an independent management console.

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.