Skip to main content
Redhat Developers  Logo
  • AI

    Get started with AI

    • Red Hat AI
      Accelerate the development and deployment of enterprise AI solutions.
    • AI learning hub
      Explore learning materials and tools, organized by task.
    • AI interactive demos
      Click through scenarios with Red Hat AI, including training LLMs and more.
    • AI/ML learning paths
      Expand your OpenShift AI knowledge using these learning resources.
    • AI quickstarts
      Focused AI use cases designed for fast deployment on Red Hat AI platforms.
    • No-cost AI training
      Foundational Red Hat AI training.

    Featured resources

    • OpenShift AI learning
    • Open source AI for developers
    • AI product application development
    • Open source-powered AI/ML for hybrid cloud
    • AI and Node.js cheat sheet

    Red Hat AI Factory with NVIDIA

    • Red Hat AI Factory with NVIDIA is a co-engineered, enterprise-grade AI solution for building, deploying, and managing AI at scale across hybrid cloud environments.
    • Explore the solution
  • Learn

    Self-guided

    • Documentation
      Find answers, get step-by-step guidance, and learn how to use Red Hat products.
    • Learning paths
      Explore curated walkthroughs for common development tasks.
    • Guided learning
      Receive custom learning paths powered by our AI assistant.
    • See all learning

    Hands-on

    • Developer Sandbox
      Spin up Red Hat's products and technologies without setup or configuration.
    • Interactive labs
      Learn by doing in these hands-on, browser-based experiences.
    • Interactive demos
      Click through product features in these guided tours.

    Browse by topic

    • AI/ML
    • Automation
    • Java
    • Kubernetes
    • Linux
    • See all topics

    Training & certifications

    • Courses and exams
    • Certifications
    • Skills assessments
    • Red Hat Academy
    • Learning subscription
    • Explore training
  • Build

    Get started

    • Red Hat build of Podman Desktop
      A downloadable, local development hub to experiment with our products and builds.
    • Developer Sandbox
      Spin up Red Hat's products and technologies without setup or configuration.

    Download products

    • Access product downloads to start building and testing right away.
    • Red Hat Enterprise Linux
    • Red Hat AI
    • Red Hat OpenShift
    • Red Hat Ansible Automation Platform
    • See all products

    Featured

    • Red Hat build of OpenJDK
    • Red Hat JBoss Enterprise Application Platform
    • Red Hat OpenShift Dev Spaces
    • Red Hat Developer Toolset

    References

    • E-books
    • Documentation
    • Cheat sheets
    • Architecture center
  • Community

    Get involved

    • Events
    • Live AI events
    • Red Hat Summit
    • Red Hat Accelerators
    • Community discussions

    Follow along

    • Articles & blogs
    • Developer newsletter
    • Videos
    • Github

    Get help

    • Customer service
    • Customer support
    • Regional contacts
    • Find a partner

    Join the Red Hat Developer program

    • Download Red Hat products and project builds, access support documentation, learning content, and more.
    • Explore the benefits

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

June 16, 2020
Emmanuel Hugonnet
Related topics:
JavaContainersDevOpsMicroservices

    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

    • MCP servers vs. skills: Choosing the right context for your AI

    • How to route external and local LLMs with Models-as-a-Service

    • Protect data offloaded to GPU-accelerated environments with OpenShift sandboxed containers

    • Case study: Measuring energy efficiency on the x64 platform

    • How to prevent AI inference stack silent failures

    Red Hat Developers logo LinkedIn YouTube Twitter Facebook

    Platforms

    • Red Hat AI
    • Red Hat Enterprise Linux
    • Red Hat OpenShift
    • Red Hat Ansible Automation Platform
    • See all products

    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
    © 2026 Red Hat

    Red Hat legal and privacy links

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

    Chat Support

    Please log in with your Red Hat account to access chat support.