

There are some minor features that could work better. Depending of the size of you application it can save you a couple of minutes till tens of minutes. Not having to rebuild or restart is every developers dream.

JRebel will definitely save you quite some time developing and boost your productivity. Depending on the hardware you use it can save you about ten minutes of rebuild and restart time for both the modules. This will enable you to reload your changes in Hippo.
JREBEL MAVEN JETTY CODE
You can have the plugin generate the configuration for JRebel by placing the above code in the CMS and HST parent poms. Although Hippo 7.6 comes with configuration for using JRebel by default, version 7.5 is not. This can easily be done by including the plugin in your Maven parent pom:Ī good example here is Hippo. Each module is then monitored and changes in your dependencies will reflect in the web module while the application is running. You can make JRebel monitor your changes through your all your dependencies by generating JRebel configuration in each of your modules. The changes in class file were not visible. The only difference when not using JRebel, I had to recompile the class to see changes in the HTML. It behaved almost the same way as in Tomcat. I started same Wicket application that I tested in the previous example using Jetty. Again some time saved here.Īfter testing some features using Tomcat, I was wondering how it would behave under Jetty. Not using JRebel gives you the opportunity to only reload HTML and not the class. So when you change the HTML, you should only recompile the class. I can reload both my HTML and class, but changes in HTML will only be visible if the class is recompiled. Using Apache Wicket in a couple of projects, I was wondering how JRebel could help me develop Wicket applications faster. JRebel can apply configuration changes to singleton beans that are created and configured by spring directly and not through a factory bean. In one of the replies Lauri explains that not all changes in the xml files can be reloaded by JRebel. After trying to find out why I came across this post. However when I was making changes to my Spring XML configuration it didn’t reload some changes. In my case it saved me about fifteen seconds. Depending on how big your application is, depends how much time it can save for you not having to restart. Although I needed to recompile my class, I didn’t have to restart the server to reload all my Spring context. Running the application without JRebel and recompiling the class made no difference to neither the method or Spring configuration. JRebel reloaded my class and reconfigured my bean. The only thing I needed to do is to recompile my class. In the controller I changed the method implementation and Spring configuration in the annotations. At start up the Spring context is loaded with my controller bean. In the log I could see that JRebel reloaded my JSP without needing to executing the repackage command. With JRebel refreshing the page only, resulted in my changes visible immediately. In IntelliJ usually I need to repackage the JSP using the CTRL + ALT + F9 command and then refresh the page to see my changes. Check this page for the reference.Īfter starting the web application using the plugin I was modifying some JSP files.
JREBEL MAVEN JETTY INSTALL
