Sunday, 1 June 2014

JRebel 5.5.3 + JBoss EAP 6.1 + Eclipse Juno + Maven 3 + Jboss-as Plugin

I was excited to be handed over a 14 days extension on JRebel licence as the previous 14 days trial license was doomed to expire by misconfiguration in my project's springframework. Glad that one of the JRebel online representative was kind enough to grant my wish. I really need this trail licence before I bleed my wallet of USD365 for single user licence, anually. This decision was after all my attempts on JRebel alternative were unsatisfactorily successful. 

I did search around the web and found DCEVM and HotswapAgent (https://github.com/HotswapProjects/HotswapAgent). 
I did try the latest binaries for jdk1.7/jdk1.8 (https://github.com/dcevm/dcevm) and  jdk1.6 soylatte (http://landonf.bikemonkey.org/static/soylatte/).
Those binaries work just fine but, as claimed, it was limited to existing class swap and etc. 
furthermore I need patched jdk1.6 with the latest update which soylatte are not (update 3) and I am hopeless with building my own binary. As for the HotswapAgent, it look very promising with Spring context reload but hibernate was not getting session manager or something and I don't have much time to investigate. Probably I will when I have time to spare.
What feature I really in dire need is the ability to reload Spring and hibernate context flawlessly. JRebel did very well as seen in the videos. I am impressed. and then there goes my weekends in front of my macbook.
After tirelessly spending my hours of my weekends on JRebel setup, finally got JRebel working with Jboss EAP 6.1!

I was targetting to get all these setup working:
A. Embedded Jetty 8.x (local)
B. Embedded Jetty 8.x (remote)
C. Jboss EAP 6.1 (local)
D. Jboss EAP 6.1 (remote) 

Currently I've gotten A, B and C working properly. As of now,  I am positive I will nail the remote Jboss. Wait till I nail down my next target, I will lay out the steps to get them working, of course if above stuff are in interest of anyone, otherwise it would just be my own note which I hope to save hours of my time in the future.

No comments:

Post a Comment