Application configuration

JRebel remote server support requires the rebel-remote.xml configuration file to operate. This file is used to distinguish between the different application modules. The regular rebel.xml configuration file is ignored when the remote server support plugin is enabled. This file is automatically generated by the IDE and should never be edited manually. Here is an example of rebel-remote.xml:

<?xml version="1.0" encoding="UTF-8"?>
<rebel-remote>
    <id>module-id</id>
</rebel-remote>

Note

The rebel-remote.xml configuration file should end up in your WEB-INF/classes directory in the case of a web module and in the root of the archive in the case of an EJB module or a JAR library. Put it in the root of a source or resource folder in your project (the same place where the .properties files are) and make sure it is copied to the target directory.

The configuration elements include:

  • id is the only required element in rebel-remote.xml configuration file. This is the id of the application module, which will include this configuration. By module, we mean an individual JAR or a WAR file (web archive).