In addition to Java EE support, IntelliJ IDEA Ultimate also provides a dedicated set of tools and integrations for the JBoss technology stack. These include the JBoss EAP and WildFly application servers, the OpenShift cloud platform, the Hibernate persistence framework, the Drools Expert business rule engine, and the JBPM workflow integration.

Table of Contents

JBoss EAP and WildFly

The integration with JBoss EAP and WildFly provided by the IDE gives you full control over your application and your server, including:

Before you deploy to JBoss EAP or WildFly, make sure you’ve enabled the JBoss Integration plugin and configured the application server.

To enable the plugin, go to

{span:class=shortcut}Settings{span}
{span:class=shortcut}Plugins{span}
and select the check-box.

To configure a server, go to

{span:class=shortcut}Settings{span}
{span:class=shortcut}Application Servers{span}
and click the
{span:class=shortcut}Add application server{span}
button. The IDE will automatically detect its version and offer you to select which libraries to add to the dependencies when the server is used in the project.

For more details on how to manage application servers, configure artifacts and run/debug Java EE applications, refer to the Application Servers tutorial.

OpenShift

To ensure that the OpenShift cloud platform support is on, go to

{span:class=shortcut}Settings{span}
{span:class=shortcut}Plugins{span}
and select the corresponding plugin:

Before you can deploy your application to OpenShift from the IDE, you have to configure an OpenShift account via

{span:class=shortcut}Settings{span}
{span:class=shortcut}Clouds{span}
:

When you add an OpenShift configuration, the IDE offers to fill in your username, password, domain, and upload an SSH key.

The easiest way to import your OpenShift application to the IDE is to check out it from its Git repository. Click

{span:class=shortcut}Check out from Version Control{span}
{span:class=shortcut}Git{span}
on the
{span:class=shortcut}Welcome screen{span}
or in the
{span:class=shortcut}VCS{span}
menu:

IntelliJ IDEA will automatically detect Maven’s pom.xml file and configure the project dependencies correspondingly.

To be able to deploy your application to OpenShift, you need an OpenShift run configuration. To create one, go to

{span:class=shortcut}Edit configurations...{span}
and click
{span:class=shortcut}Add run configuration{span}
button.

Now you can deploy/debug your OpenShift application simply by clicking the

{span:class=shortcut}Run{span}
/
{span:class=shortcut}Debug{span}
buttons on the toolbar.

For more details on how to run and debug your OpenShift application watch this video.

Forge

In order to use the Forge tool from inside the IDE, go to

{span:class=shortcut}Settings{span}
{span:class=shortcut}Plugins{span}
{span:class=shortcut}Browse repositories...{span}
and install JBoss Forge IDEA Plugin:

This plugin lets you run Forge commands from the handy popup window that appears when you press

{span:class=shortcut}Ctrl{span}
+
{span:class=shortcut}Alt{span}
+
{span:class=shortcut}4{span}
. Alternatively, if prefer the command line over any popup windows, you can still use the Forge utility from the built-in
{span:class=shortcut}Terminal{span}
tool window:

Drools Expert

To have the coding assistance for editing Drools Expert files be sure to enable the JBoss Drools Support plugin in

{span:class=shortcut}Settings{span}
{span:class=shortcut}Plugins{span}
:

jBPM

To use the graphical designer for jBPM files, enable the JBoss jBPM plugin:

See also