Skip to main content
Redhat Developers  Logo
  • Products

    Platforms

    • Red Hat Enterprise Linux
      Red Hat Enterprise Linux Icon
    • Red Hat AI
      Red Hat AI
    • Red Hat OpenShift
      Openshift icon
    • Red Hat Ansible Automation Platform
      Ansible icon
    • View All Red Hat Products

    Featured

    • Red Hat build of OpenJDK
    • Red Hat Developer Hub
    • Red Hat JBoss Enterprise Application Platform
    • Red Hat OpenShift Dev Spaces
    • Red Hat OpenShift Local
    • Red Hat Developer Sandbox

      Try Red Hat products and technologies without setup or configuration fees for 30 days with this shared Openshift and Kubernetes cluster.
    • Try at no cost
  • Technologies

    Featured

    • AI/ML
      AI/ML Icon
    • Linux
      Linux Icon
    • Kubernetes
      Cloud icon
    • Automation
      Automation Icon showing arrows moving in a circle around a gear
    • View All Technologies
    • Programming Languages & Frameworks

      • Java
      • Python
      • JavaScript
    • System Design & Architecture

      • Red Hat architecture and design patterns
      • Microservices
      • Event-Driven Architecture
      • Databases
    • Developer Productivity

      • Developer productivity
      • Developer Tools
      • GitOps
    • Automated Data Processing

      • AI/ML
      • Data Science
      • Apache Kafka on Kubernetes
    • Platform Engineering

      • DevOps
      • DevSecOps
      • Ansible automation for applications and services
    • Secure Development & Architectures

      • Security
      • Secure coding
  • Learn

    Featured

    • Kubernetes & Cloud Native
      Openshift icon
    • Linux
      Rhel icon
    • Automation
      Ansible cloud icon
    • AI/ML
      AI/ML Icon
    • View All Learning Resources

    E-Books

    • GitOps Cookbook
    • Podman in Action
    • Kubernetes Operators
    • The Path to GitOps
    • View All E-books

    Cheat Sheets

    • Linux Commands
    • Bash Commands
    • Git
    • systemd Commands
    • View All Cheat Sheets

    Documentation

    • Product Documentation
    • API Catalog
    • Legacy Documentation
  • Developer Sandbox

    Developer Sandbox

    • Access Red Hat’s products and technologies without setup or configuration, and start developing quicker than ever before with our new, no-cost sandbox environments.
    • Explore Developer Sandbox

    Featured Developer Sandbox activities

    • Get started with your Developer Sandbox
    • OpenShift virtualization and application modernization using the Developer Sandbox
    • Explore all Developer Sandbox activities

    Ready to start developing apps?

    • Try at no cost
  • Blog
  • Events
  • Videos

Enable Eclipse MicroProfile applications on Red Hat JBoss Enterprise Application Platform 7.3

June 16, 2020
Emmanuel Hugonnet
Related topics:
JavaContainersDevOpsMicroservices

Share:

    In this article, we show you how to install Red Hat JBoss Enterprise Application Platform (JBoss EAP) XP 1.0.0.GA and enable Eclipse MicroProfile support on JBoss EAP. Once you have MicroProfile support enabled, you can start using the quickstart examples or start developing your own application.

    You can find a demo video at the end of this article.

    Installing JBoss EAP XP 1.0.0.GA

    To install JBoss EAP XP 1.0.0.GA:

    1. Download the following software from the product download page:

      • JBoss EAP XP manager
      • JBoss EAP 7.3.1 GA patch
      • JBoss EAP XP 1.0
    2. Apply the JBoss EAP 7.3.1 GA patch:

      $ patch apply /DOWNLOAD/PATH/jboss-eap-7.3.1-patch.zip
    3. Set up JBoss EAP XP manager using the following CLI command:

      $ java -jar jboss-eap-xp-1.0.0.GA-CR1-manager.jar setup --jboss-home=/INSTALL_PATH/jboss-eap-7.3
    4. Apply the JBoss EAP XP 1.0 patch using the following management command:

      $ patch apply /DOWNLOAD/PATH/jboss-eap-xp-1.0.0.GA-patch.zip

    Configure CodeReady Studio

    To enable Eclipse MicroProfile support on JBoss EAP, we first need to register a new runtime server for JBoss EAP XP 1.0.0 (which we just installed). For this, we will create a new JBoss EAP 7.3.0 server called Red Hat JBoss EAP 7.3 XP 1.0.

    This server will use a newly created JBoss EAP 7.3 XP 1.0 Runtime that points to the newly installed runtime and uses the standalone-microprofile.xml configuration file. Set up the New Server dialog box as shown in Figure 1:

    1. Select server type Red Hat JBoss Enterprise Application Platform 7.3.
    2. Set Server's host name to localhost.
    3. In Server name, enter Red Hat JBoss EAP 7.3 XP 1.0.
    4. Click Next.
    New Server dialog box with the specified options selected
    Create Red Hat JBoss EAP 7.3 XP 1.0 server
    Figure 1: Define your new server.">

    In the next dialog box, configure your new server as shown in Figure 2:

    1. Set the Home Directory if you don't want to use the default setting.
    2. Make sure your Execution Environment is set to JavaSE-1.8.
    3. Change the settings for Server base directory and Configuration file if you don't want the defaults.
    4. Click Finish.
    New Server dialog box for configuring the JBoss Runtime
    Create JBoss EAP 7.3 XP 1.0 Runtime
    Figure 2: Configure your new server.

    In order to use the microprofile-opentracing quickstart (Figure 5) we need to set environment variables on our runtime. To do so, in the Red Hat JBoss EAP 7.3 XP 1.0 server Overview dialog box shown in Figure 3, click Open launch configuration.

    dialog box showing an overview of the server's settings
    Server Configuration
    Figure 3: Set environment variables from the server Overview dialog box.

    In particular, you need to create three environment variables as shown in Figure 4:

    • JAEGER_REPORTER_LOG_SPANS set to true
    • JAEGER_SAMPLER_PARAM set to 1
    • JAEGER_SAMPLER_TYPE set to const
    dialog box showing the newly created environment variables
    Server OpenLaunch Configuration
    Figure 4: Configure your runtime's environment variables.

    Use the quickstarts

    Select the Quickstart Parent pom.xml to import it as shown in Figure 5, and you are ready to go.

    Project Explorer with quickstart-parent selected.
    Importing Quickstarts
    Figure 5: Import quickstart-parent to turn on kickstarts.">

    With the kickstarts turned on, you have simple examples that you can run and test on your installed server covering:

    • Eclipse MicroProfile Config
    • Eclipse MicroProfile Fault-tolerance
    • Eclipse MicroProfile Health
    • Eclipse MicroProfile JWT
    • Eclipse MicroProfile Metrics
    • Eclipse MicroProfile OpenAPI
    • Eclipse MicroProfile OpenTracing
    • Eclipse MicroProfile REST Client

    For more information about Eclipse MicroProfile take a look at the specifications, check out MicroProfile Starter. If you prefer to watch a demo, check it out here:

    Last updated: June 25, 2020

    Recent Posts

    • Cloud bursting with confidential containers on OpenShift

    • Reach native speed with MacOS llama.cpp container inference

    • A deep dive into Apache Kafka's KRaft protocol

    • Staying ahead of artificial intelligence threats

    • Strengthen privacy and security with encrypted DNS in RHEL

    Red Hat Developers logo LinkedIn YouTube Twitter Facebook

    Products

    • Red Hat Enterprise Linux
    • Red Hat OpenShift
    • Red Hat Ansible Automation Platform

    Build

    • Developer Sandbox
    • Developer Tools
    • Interactive Tutorials
    • API Catalog

    Quicklinks

    • Learning Resources
    • E-books
    • Cheat Sheets
    • Blog
    • Events
    • Newsletter

    Communicate

    • About us
    • Contact sales
    • Find a partner
    • Report a website issue
    • Site Status Dashboard
    • Report a security problem

    RED HAT DEVELOPER

    Build here. Go anywhere.

    We serve the builders. The problem solvers who create careers with code.

    Join us if you’re a developer, software engineer, web designer, front-end designer, UX designer, computer scientist, architect, tester, product manager, project manager or team lead.

    Sign me up

    Red Hat legal and privacy links

    • About Red Hat
    • Jobs
    • Events
    • Locations
    • Contact Red Hat
    • Red Hat Blog
    • Inclusion at Red Hat
    • Cool Stuff Store
    • Red Hat Summit
    © 2025 Red Hat

    Red Hat legal and privacy links

    • Privacy statement
    • Terms of use
    • All policies and guidelines
    • Digital accessibility

    Report a website issue