Install NewRelic on JBoss EAP 7

Introduction This tutorial provides a step-by-step guide on installing NewRelic APM on Jboss EAP 7 in standalone mode Download NewRelic Download the current new relic APM from the website, or using the next powershell command: Invoke-WebRequest -Uri https://download.newrelic.com/newrelic/java-agent/newrelic-agent/current/newrelic-java.zip -OutFile newrelic-java.zip Configuring Jboss Create a folder named lib in JBOSS_HOME folder, and a new folder named endorsed in the lib folder. In case you are wondering, the JBOSS_HOME is the folder that has Jboss installed, and the folder with the bin/docs/etc folders....

February 22, 2024 · 2 min · Alex Popescu

Securing Quarkus Backend App with IBM App ID

Introduction This tutorial provides a step-by-step guide on securing a Quarkus backend application using IBM App ID. Configure IBM App ID Login to IBM Cloud and create an App ID instance using the lite (free) plan. Then create an application as a regular web app. Next, create a test user using Cloud Directory -> Users menu. Configure Quarkus First, update Maven pom.xml : <dependency> <groupId>io.quarkus</groupId> <artifactId>quarkus-oidc</artifactId> </dependency> Next, find the client ID/secret/login URL in IBM App id application details:...

December 30, 2023 · 3 min · Alex Popescu

From Source to Container: Building Efficient Quarkus Docker Images

In this article, we continue the trend from the previous article here and we will explore a few ways of creating a Docker image for a Quarkus app. Minimal install docker file Now with Quarkus, there are two ways of compiling a application: the normal java way and the native way. Quarkus native images and Java application packages have some significant differences. Java application packages contain a compiled bytecode that requires the JVM to run, while Quarkus native images are pre-compiled and optimized for a specific platform (in this example Linux), resulting in a smaller size and faster startup time....

May 5, 2023 · 5 min · Alex Popescu

Simplifying Java Container Images: Dockerfile vs Spring Native Buildpacks

Deploying a Java SpringBoot application to Docker and Kubernetes involves building a container image that bundles the application with its dependencies and environment. There are two methods of building a container image: Spring Cloud Native Buildpacks and Dockerfile. Dockerfile Dockerfile is the oldest and most common way to build container images. It is a text file that contains a series of instructions to compile the source code and assemble the layers of a container image....

April 29, 2023 · 4 min · Alex Popescu

How to use Java 17 on IBM Cloud Code Engine

In the previous articles here I used IBM Cloud Code Engine do deploy a Quarkus REST web service, but on Java 11. Now it’s the time to use Java 17. First, let’s update pom.xml to Java 17: <maven.compiler.source>17</maven.compiler.source> <maven.compiler.target>17</maven.compiler.target> Then create a new file in the root of the project with the name .buildenv and set the content: BP_JVM_VERSION=17 There are more variables to be set in the documentation. Then, commit, push the change to GIT, and rebuild the image and deploy it to IBM Cloud....

February 7, 2023 · 1 min · Alex Popescu