Home » Author Archives: Paolo Antinori

Author Archives: Paolo Antinori

Debugging tip: How to simulate a slow hardisk


As a Software Engineer there are times when you’d like to have a slower system. It doesn’t happen really often actually: usually it’s when someone reports a bug on your software that you have never seen before and that you can not reproduce. The majority of time, the reason of those ghost bugs are race conditions. Race conditions, are issues ...

Read More »

JBoss Fuse – Some less known trick


TL;DR expose java static calls as Karaf shell native commands override OSGi Headers at deploy time override OSGi Headers after deploy time with OSGi Fragments Expose java static calls as Karaf shell native commands As part of my job as software engineer that has to collaborate with support guys and customers, I very often find myself in the need of ...

Read More »

Use Byteman in JBoss Fuse / Fabric8 / Karaf


Have you ever found yourself in the process of try to understand how come something very simple is not working? You are writing code in any well known context and for whatever reason it’s not working. And you trust your platform, so you carefully read all the logs that you have. And still you have no clue why something is ...

Read More »

Continuous Integration with JBoss Fuse, Jenkins and Nexus


Recently I was putting together a quickstart Maven project to show a possible approach to the organization of a JBoss Fuse project. The project is available on Github here: https://github.com/paoloantinori/fuse_ci And it’s an slight evolution of what I have learnt working with my friend James Rawlings The project proposes a way to organize your codebase in a Maven Multimodule project. ...

Read More »

Integration testing with Maven and Docker


Docker is one of the new hot things out there. With a different set of technologies and ideas compared to traditional virtual machines, it implements something similar and at the same time different, with the idea of containers: almost all VMs power but much faster and with very interesting additional goodies. In this article I assume you already know something ...

Read More »

Monitoring JBoss Fuse ESB with Nagios


Note: this article describe a scenario based on JBoss Fuse, but it’s applicable to any Java context able to run Servlet java, like JBoss EAP, WildFly, Tomcat, etc… One of my recent activity at work has been to provide guidance about monitoring a JBoss Fuse ESB setup with Nagios/OpsView. Despite more specialized solutions for the specific problem do exist (Fuse ...

Read More »

Maven: Start an external process without blocking your build


Let’s assume that we have to execute a bunch of acceptance tests with a BDD framework like Cucumber as part of a Maven build. Using Maven Failsafe Plugin is not complex. But it has an implicit requirement: The container that hosts the implementation we are about to test needs to be already running. Many containers like Jetty or JBoss provide ...

Read More »

Java: Rest-assured (or Rest-Very-Easy)


Recently I had to write some Java code to consume REST services over HTTP. I’ve decided to use the Client libraries of RestEasy, the framework I use most of the time to expose REST services in Java, since it also implements the official JAX-RS specification. I am very satisfied with the annotation driven approach that the specification defines and it ...

Read More »
Want to take your Java Skills to the next level?
Grab our programming books for FREE!
  • Save time by leveraging our field-tested solutions to common problems.
  • The books cover a wide range of topics, from JPA and JUnit, to JMeter and Android.
  • Each book comes as a standalone guide (with source code provided), so that you use it as reference.
Last Step ...

Where should we send the free eBooks?

Good Work!
To download the books, please verify your email address by following the instructions found on the email we just sent you.