-
1. Re: JRebel 3 and Seam 2 tutorial available now!
asookazian Apr 17, 2010 1:09 AM (in response to asookazian)Sorry, I meant the fix for the bug did not make 3.0 final but is in 3.0.1...
-
2. Re: JRebel 3 and Seam 2 tutorial available now!
yahawari Apr 17, 2010 3:00 AM (in response to asookazian)thanks man
-
3. Re: JRebel 3 and Seam 2 tutorial available now!
yahawari Apr 17, 2010 5:26 AM (in response to asookazian)just tried it with in my war seam project. this is magic!.
-
4. Re: JRebel 3 and Seam 2 tutorial available now!
yahawari Apr 17, 2010 8:34 AM (in response to asookazian)does it support add new components (new classes) without restarting ?
-
5. Re: JRebel 3 and Seam 2 tutorial available now!
asookazian Apr 17, 2010 3:49 PM (in response to asookazian)I just tried that with the testInject Seam component from the tutorial and I got this exception:
Caused by: java.lang.Error: Unresolved compilation problem: testInject cannot be resolved
This may be due to the fact that JRebel detects changes to already deployed classes, not detecting and hot deploying new classes.
Is it possible with JRebel to add a new stateless session bean and inject it with the @EJB annotation into another SLSB, JSF based managed bean or servlet?
Adding new ejbs is not supported. Supporting injection into servlets shouldn't be to difficult, but adding a new ejb is probably difficult.source: http://www.zeroturnaround.com/forum/topic.php?id=683
I don't have the definitive answer about adding new JavaBeans and/or Seam JavaBean components. You'll have to ask ZT support team.
Some related info: http://wikis.sun.com/display/mlvm/HotSwap
btw, everything JRebel, JVM HotSwap, and hot deploy are capable of (i.e. features comparison) is listed here: http://www.zeroturnaround.com/jrebel/comparison
Note that the
leaks memory
may not be 100% accurate due to the permgen space size growing on hot redeploys (I haven't checked this myself but you can check this yourself using the jconsole tool that ships with the Sun HotSpot JVM, this is not an issue with Oracle JRockit, it does not have a permgen space).
25%-30% less memory use. It is not uncommon to need a lot of PermGen heap with JRebel enabled, so we optimized memory use and will continue to drive it down in the upcoming milestones.source: http://www.zeroturnaround.com/news/jrebel-3-0/
In your VM args, this is specified as follows: -XX:MaxPermSize=256m, so feel free to bump it up to 512m, etc. as required.
-
6. Re: JRebel 3 and Seam 2 tutorial available now!
yahawari Apr 17, 2010 4:49 PM (in response to asookazian)that is a small limitation for me, the speed of turnover is pretty good. thanks for the reply !