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 toSettings→Pluginsand select the check-box.
To configure a server, go toSettings→Application Serversand click theAdd application serverbutton. 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 toSettings→Pluginsand select the corresponding plugin:
Before you can deploy your application to OpenShift from the IDE, you have to configure an OpenShift account viaSettings→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. ClickCheck out from Version Control→Giton theWelcome screenor in theVCSmenu:
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 toEdit configurations...and clickAdd run configurationbutton.
Now you can deploy/debug your OpenShift application simply by clicking theRun/Debugbuttons 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 toSettings→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 pressCtrl+Alt+4. Alternatively, if prefer the command line over any popup windows, you can still use the Forge utility from the built-inTerminaltool window:
To have the coding assistance for editing Drools Expert files be sure to enable the JBoss Drools Support plugin inSettings→Plugins:
To use the graphical designer for jBPM files, enable the JBoss jBPM plugin: