Home » Author Archives: Paolo Antinori

Author Archives: Paolo Antinori

JBoss Fuse – Some less known trick

osgi-alliance-logo

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

java-interview-questions-answers

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

jenkins-logo

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

apache-maven-logo

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

devops-logo

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

apache-maven-logo

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)

jboss-resteasy-logo

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 »

Java – Handmade Classloader Isolation

java-logo

In a recent project we had a typical libraries conflict problem. One component that we could control wanted a specific version of an Apache Commons library, while another component was expecting a different one. Due to external constraints we could not specify any class loading isolation at the Container level. It wasn’t an option for us. What we decided to ...

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.