Dieser Inhalt ist in der von Ihnen ausgewählten Sprache nicht verfügbar.

Chapter 4. JBoss EAP and JBoss WFK basics in CodeReady Studio


Eclipse IDE supports application development and deployment with Red Hat JBoss Enterprise Application Platform (JBoss EAP) and Red Hat JBoss Web Framework Kit (JBoss WFK). However, you need to configure Maven repositories first. This configuration is essential for using the enterprise versions of the example Maven projects provided in Red Hat Central. These projects are intended for deployment to JBoss EAP and require IDE access to JBoss EAP and JBoss WFK repositories.

The following section describes how to use CodeReady Studio to:

  • Configure Maven repositories.
  • Set up JBoss EAP.
  • Verify that JBoss EAP and CodeReady Studio are working correctly.

4.1. Configuring Maven repositories

The following section describes how to configure Maven repositories.

Procedure

  1. Start CodeReady Studio.
  2. Click Window Preferences.

    The Preferences window appears.

  3. Enter JBoss Tools in the search field.
  4. Select JBoss Maven Integration.

    The JBoss Maven Integration window appears.

  5. Click the Configure Maven Repositories button.

    The Maven Repositories window appears.

  6. Click the Add Repository button.

    The Add Maven Repository window appears.

  7. Click the down-arrow in the Profile ID field.
  8. Select the redhat-ga-repository.

    Other fields are populated automatically.

  9. Click the OK button.
  10. Click the Finish button.

    The Confirm File Update window appears.

  11. Click the Yes.
  12. Click the Apply and Close button.

Additional resources

4.2. Setting up JBoss EAP

To set up JBoss EAP in Eclipse IDE, you must direct the IDE to the local or remote runtime servers. This establishes a communication channel between the IDE and the JBoss EAP server for efficient deployment and server management workflows.

The following section describes how to install JBoss EAP in CodeReady Studio.

Prerequisites

Procedure

  1. Start CodeReady Studio.
  2. Click Window Preferences.

    The Preferences window appears.

  3. Enter JBoss Tools in the search field.
  4. Select JBoss Runtime Detection.

    The JBoss Runtime Detection window appears.

  5. Click the Download button.

    The Download Runtimes window appears.

  6. Select one of the JBoss EAP versions.

    Note

    If you select the JBoss EAP version 6.0.x or earlier, follow the on-screen instructions. If you select a later version, follow the instructions below.

  7. Click the Next button.
  8. Click the Add button.
  9. Enter your access.redhat.com username and password.
  10. Click the OK button.

    The Secure Storage Password window appears.

  11. Enter the new master password.

    Optionally, you can provide a password hint.

  12. Click the Next button.

    Review the license agreement, if satisfied, accept the license and click the Next button to continue with the installation.

  13. Click the Browse button to select the Install folder.
  14. Click the Browse button to select the Download folder.
  15. Click the Finish button.

    The Download Red Hat JBoss EAP window appears.

    Note that downloading and installing the Runtime might take a while.

  16. Ensure the path to the JBoss EAP installation file is checked.
  17. Click the Apply and Close button.

Verification steps

  1. Click the Window Show View Other.

    The Show View window appears.

  2. Type Servers in the search field.
  3. Select Servers.
  4. Click the Open button.

    The Servers view appears.

Your newly added JBoss EAP is now listed in the Servers view.

The following section describes how to verify that JBoss EAP and CodeReady Studio are working correctly by building, deploying, and running the imported helloworld application in the JBoss EAP server.

Procedure

  1. Start CodeReady Studio.
  2. Open Project Explorer.
  3. Click the Red Hat Central icon.

    Figure 4.1. Click the Red Hat Central icon

  4. Enter helloworld into the search field.
  5. Click the helloworld-rs quickstart.

    The New Project Example window appears.

  6. Click the Finish button.

    Note that it might take some time for the helloworld application and its Maven dependencies to get imported. Once all the dependencies are imported, the New Project Example window appears.

  7. Click the Finish button.
  8. In the Server view select the Red hat JBoss EAP.
  9. Click the Start the Server icon.

    Figure 4.2. Click the Start the Server icon

  10. In the Project Explorer view right-click the jboss-helloworld-rs Run Ad Run on Server.

    The Run on Server window appears.

  11. Click the Finish button.

    The helloworld application opens in the internal CodeReady Studio web browser.

  12. Choose between the JSON or XML format.

The CodeReady Studio web browser prints the Hello World! message.

Nach oben
Red Hat logoGithubredditYoutubeTwitter

Lernen

Testen, kaufen und verkaufen

Communitys

Über Red Hat Dokumentation

Wir helfen Red Hat Benutzern, mit unseren Produkten und Diensten innovativ zu sein und ihre Ziele zu erreichen – mit Inhalten, denen sie vertrauen können. Entdecken Sie unsere neuesten Updates.

Mehr Inklusion in Open Source

Red Hat hat sich verpflichtet, problematische Sprache in unserem Code, unserer Dokumentation und unseren Web-Eigenschaften zu ersetzen. Weitere Einzelheiten finden Sie in Red Hat Blog.

Über Red Hat

Wir liefern gehärtete Lösungen, die es Unternehmen leichter machen, plattform- und umgebungsübergreifend zu arbeiten, vom zentralen Rechenzentrum bis zum Netzwerkrand.

Theme

© 2025 Red Hat