Home » Author Archives: Heiko Rupp

Author Archives: Heiko Rupp

Heiko is a senior software engineer working at Red Hat in the area of systems management (RHQ project). He also works on an open source Twitter client called Zwitscher.

Introducing HawkFX

javafx-logo

As I said before, I started playing with JRubyFX. And for me learning something new best works with a use case, so I started creating an inventory browser for Hawkular. Why JRubyFX? Let’s first start with “What is JRubyFX” anyway? JRubyFX is JavaFX brought to the Ruby world by the means of JRuby. This means that you can implement UIs ...

Read More »

Reacting on IoT data with Hawkular

software-development-2-logo

In the first post I have been talking about how send IoT sensor data to the metrics subsystem of Hawkular and then how to register the metric in Hawkular so that it can be graphed in the console. In this article I will talk about how the Hawkular alerts component (that is already available in Hawkular-full) can be used to ...

Read More »

WiPy on the home network

python-logo

Recently there was a Kickstarter about “an Arduino that runs Python”, the WiPy. This is a small IoT board with WiFi on it (which is not available on stock Arduinos) for an attractive price. And being able to use a high level language along with a lot of existing libraries makes it attractive too. A few days ago I got ...

Read More »

Running OkHttpClient from within WildFly 9 (subsystem)

jboss-wildfly-logo

A few days ago WildFly 9 was released and one of the highlight for sure is the support of HTTP/2.0 in the Undertow web subsystem. As Hawkular has recently moved to use WildFly 9 (from 8.2) as its underlying server, it was sort of natural to try to use http2 for connections from the Hawkular-Wildfly-Monitor client to the server. One ...

Read More »

WildFly subsystem for RHQ Metrics

jboss-wildfly-logo

For RHQ-Metrics I have started writing a subsystem for WildFly 8 that is able to collect metrics inside WildFly and then send them at regular intervals (currently every minute) to a RHQ-Metrics server. The next graph is a visualization with Grafana of the outcome when this sender was running for 1.5 days in a row:           ...

Read More »

Custom Deserializer in Jackson and validation

json-logo

tl;dr: it is important to add input validation to custom json deserializers in Jackson. In RHQ we make use of Json parsing in a few places – be it directly in the as7/Wildfly plugin, be it in the REST-api indirectly via RESTEasy 2.3.5, that already does the heavy lifting. Now we have a bean Link that looks like:     ...

Read More »

Creating a delegating login module (for JBoss EAP 6.1)

jboss-logo

[ If you only want to see code, just scroll down ] Motivation In RHQ we had a need for a security domain that can be used to secure the REST-api and its web-app via container managed security. In the past I had just used the classical DatabaseServerLoginModule to authenticate against the database. Now does RHQ also allow to have ...

Read More »

Monitoring the monster with RHQ

jboss-rhq-logo

The classical RHQ setup assumes an agent and agent plugins being present on a machine (‘platform’ in RHQ-speak). Plugins then communicate with the managed resource (e.g. an AS7 server); ask it for metric values or run operations (e.g. ‘reboot’). This article shows an alternative way for monitoring applications at the example of the Ticket Monster application from the JBoss Developer ...

Read More »

Want to take your Java skills to the next level?

Grab our programming books for FREE!

Here are some of the eBooks you will get:

  • Spring Interview QnA
  • Multithreading & Concurrency QnA
  • JPA Minibook
  • JVM Troubleshooting Guide
  • Advanced Java
  • Java Interview QnA
  • Java Design Patterns