Imagine a bacon-wrapped Ferrari. Still not better than our free technical reports.

JRebel 5.4 Released – Updates for WebLogic, WebSphere, RESTEasy and more

JRebel 5.4 release comes with a few updates for the new versions of servers and frameworks. The integrations were update to support WebLogic 12.1.2 and WebSphere 8.5.5, including Liberty Profile. Also RESTEasy plugin now works with RESTEasy 3.x.

One new plugin is also added to the list – Apache BVal, the one that is bundled with Apache TomEE. With that JRebel will be able to handle Bean Validation annotation changes on TomEE.

One notable feature that was added in the new release is the command line configuration utility for automating the setup of JRebel for application containers. In the ZIP distribution of JRebel, in bin/ directory, you will find setup.sh and setup.bat scripts (for *nix and Windows respectively). The scripts take a server directory path as an argument and it will setup the correct JVM arguments either the server startup scripts or XML configuration files, depending on which server you use.

Here is an example of how you would use the command line utility to setup JRebel for Tomcat:

mars:bin anton$ ./setup.sh /Users/anton/servers/apache-tomcat-6.0.18
This will modify your server startup scripts to use JRebel. Please review the list of modifications after completion.
Do you wish to continue? [y/n]? y
New generated or changed content has been saved as '/Users/anton/servers/apache-tomcat-6.0.18/bin/startup-jrebel.sh'

You could now use startup-jrebel.sh script to run Tomcat instance with JRebel enabled.
And here’s how it works for Glassfish:

mars:bin anton$ ./setup.sh /Users/anton/servers/glassfish3 -d domain1
This will modify your server startup scripts to use JRebel. Please review the list of modifications after completion.
Do you wish to continue? [y/n]? y
New generated or changed content has been saved as '/Users/anton/servers/glassfish3/glassfish/domains/domain1/config/domain.xml'

The domain.xml configuration file will actually be backed up and saved in the same directory before inserting the new JVM arguments. So you will be able to roll back if required.

You can find the full list of changes in the change log.

As usual – we’re open to feedback and suggestions of what features you would like to see in JRebel! Stay tuned for the updates!