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:
- Connecting to a remote server
- Starting a local instance of a server
- Building artifacts
- Deploying and running an application
- Re-deploying without stopping the server
- Debugging running application
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 Settings → Plugins and select the check-box.
To configure a server, go to Settings → Application Servers and click the Add application server 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.
To ensure that the OpenShift cloud platform support is on, go to Settings → Plugins and select the corresponding plugin:
Before you can deploy your application to OpenShift from the IDE, you have to configure an OpenShift account via Settings → Clouds:
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 Check out from Version Control → Git on the Welcome screen or in the VCS 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 Edit configurations... and click Add run configuration button.
Now you can deploy/debug your OpenShift application simply by clicking the Run/Debug buttons on the toolbar.
For more details on how to run and debug your OpenShift application watch this video.
In order to use the Forge tool from inside the IDE, go to Settings → Plugins → Browse repositories... and install JBoss Forge IDEA Plugin:
This plugin lets you run Forge commands from the handy popup window that appears when you press Ctrl + Alt + 4. Alternatively, if prefer the command line over any popup windows, you can still use the Forge utility from the built-in Terminal tool window:
To have the coding assistance for editing Drools Expert files be sure to enable the JBoss Drools Support plugin in Settings → Plugins:
To use the graphical designer for jBPM files, enable the JBoss jBPM plugin: