Chapter 9. Enable MicroProfile application development for JBoss EAP using VSCode


JBoss EAP expansion packs provide support for MicroProfile.

JBoss EAP expansion packs are not supported on JBoss EAP 7.2 and earlier.

Each version of the JBoss EAP expansion pack supports specific patches of JBoss EAP. For details, see the JBoss EAP expansion pack Support and Life Cycle Policies page.

Important

The JBoss EAP XP Quickstarts for Openshift are provided as Technology Preview only. Technology Preview features are not supported with Red Hat production service level agreements (SLAs), might not be functionally complete, and Red Hat does not recommend to use them for production. These features provide early access to upcoming product features, enabling customers to test functionality and provide feedback during the development process.

See Technology Preview Features Support Scope on the Red Hat Customer Portal for information about the support scope for Technology Preview features.

You can configure VSCode for developing applications with MicroProfile capabilities or to use MicroProfile quickstarts for JBoss EAP.

Procedure

  1. Download and install VSCode. For instructions, see the Download Visual Studio Code on the VSCode website.
  2. Set up the VSCode environment and install extensions.

    1. Consider installing the Extension Pack for Java. The minimal set of recommended extensions is:

  3. Set up the JBoss EAP server in VSCode. For more information, see Working with Application Servers in VSCode.

    1. Download and install the JBoss Toolkit extension for VSCode. For instructions, see JBoss Toolkit on the VSCode marketplace.
  4. Set up a new server pointing to your JBoss EAP JBoss EAP XP 6.0 installation. For more information, see JBoss Toolkit on theVSCode marketplace.

    1. From the Server tab, right-click JBoss Toolkit. Then select Create server.
    2. In the new Download Server? dialog box, select No, use server on disk.
    3. Navigate to your JBoss EAP JBoss EAP XP 6.0 installation directory and click Select desired server location.
    4. For the Server Name field, set an appropriate name for your server.
    5. For the wildfly.server.config.file field, set standalone-microprofile.xml.
    6. Check the vm.install.path attribute and ensure that JDK 17 or JDK 21 is used.
    7. Click Finish.

Result

You are now ready to begin developing applications using MicroProfile capabilities, or to begin using the MicroProfile quickstarts for JBoss EAP.

9.2. Using MicroProfile quickstarts for VSCode

Enabling the MicroProfile quickstarts makes the simple examples available to run and test on your installed server.

These examples illustrate the following MicroProfile capabilities.

  • MicroProfile Config
  • MicroProfile Fault Tolerance
  • MicroProfile Health
  • MicroProfile JWT
  • MicroProfile OpenAPI
  • MicroProfile REST Client

Procedure

  1. Start VSCode.
  2. From the File menu, select Open Folder.
  3. Browse to the desired quickstart directory, and click Select.
  4. Import the pom.xml file from the Quickstart Parent Artifact.
  5. If you are using a quickstart that requires environment variables, set the environment variables at the operating system level. For example, if you are using RHEL, you can use the {user.home}/.bashrc file. You can also set the relevant system property for your server. See System Parameters.

Additional resources

About Microprofile

About JBoss Enterprise Application Platform expansion pack

Red Hat JBoss Enterprise Application Platform expansion pack Support and Life Cycle Policies

Tools for MicroProfile Visual Studio Code extension

Red Hat logoGithubredditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat Documentation

Legal Notice

Theme

© 2026 Red Hat
Back to top