The rebel.xml configuration file should be placed in your WEB-INF/classes directory in the case of a web module and in the jar root in the case of an ejb module. You’ll need to have one rebel.xml file per module. This is mandatory when you deploy your app as a WAR/EAR. We’ll use a rebel.xml configuration file to tell it. In order to do it’s magic, JavaRebel needs to know where your classes and resources are. STEP 3: Make a rebel.xml for your application
#Jrebel eclipse configuration install#
You can install the plugin by going to Help » Software updates » Available software » Add site and use the URL as the update site. The JRebel Eclipse IDE plugin was introduced with JRebel 2.0 and makes configuring and using JRebel considerably easier. STEP 2: Installing JRebel Eclipse IDE plugin The latest stable version of JRebel can be downloaded here. Most of the steps will be applicable to other versions as well, but it may look different from the screenshots included.Ĭontents:STEP 1: Install JRebelSTEP 2: Installing JRebel Eclipse IDE pluginSTEP 3: Make a rebel.xml for your applicationSTEP 4: Configuring the Eclipse WTP IDESTEP 5: Configuring the Eclipse IDESTEP 6: Success! We assume that you are using Eclipse 3.x with Tomcat 5.x or later.
#Jrebel eclipse configuration how to#
In this tutorial we explain how to install and use it step-by-step. In the embedded video you can take a quick look at how coding looks when using JRebel. JRebel eliminates the need to redeploy in 80% of situations, and it’s easy to get started. Still, in asurvey we conducted, developers estimate spending 18% of their coding time (about 145 hours annually, per developer – somewhere between 3-4, full, 40-hour workweeks) waiting for applications to redeploy. How to install and use JRebel in Tomcat, JBoss or Jetty with the Eclipse IDE September 9th, 2009 by Toomas RömerĪlthough this tutorial concerns the Tomcat container, exactly the same instructions also can be used for JBoss and Jetty containers.Ĭompared to other containers out there, the Tomcat web container is one of the fastest when it comes to startup and redeploy times.