users@glassfish.java.net

Re: Is there a way to deploy only changed classes?

From: Richard Kolb <rjdkolb_at_openrap.org>
Date: Thu, 24 Nov 2011 07:07:46 +0200

Hi there

On 23 November 2011 19:46, <forums_at_java.net> wrote:

> I use NetBeans7.0.1 + GlassFish3.1. Many of times, I just change a few
> classes, but when I press F6 to redeploy the webapp, NetBeans+GlassFish
> always redeploy all classes. And the project is increasing, then, this will
> be very slow in the future. I know there is JRebel tool that tries to do
> this, and to save developer time. But it is not a free software, and my
> organization is short and we use only free software to develop our app. If
> there isn't yet a way for this, could GlassFish developers try to do this
> in
> the future versions?
>

JRebel is great.

But what I do it debug deploy my app.
Then I start changing code as needed, when I am ready I click save, then
apply changes. (little button on the right with three boxes)

This reloads only the classes changed.
Works like a bomb.

I'm sure Hong and the team will get something way cooler than this is the
future ;-)


Just use Glassfish 3.1.1 as you are less lightly to get into maxperm gen
issues :)

regards
Richard.