users@glassfish.java.net

Re: Class replace - no redeploy

From: Ludovic Champenois <ludovic.champenois_at_oracle.com>
Date: Tue, 07 Jun 2011 07:25:05 -0700

On 6/7/11 5:33 AM, forums_at_java.net wrote:
> Glassfish: 3.1, eclipse helios, wtp and glassfish plugin
>
> Hi, I'm developing an tapestry application. Tapestry ships with it's own
> classloader which is doing live class reloading - very useful while
> developing.
>
> I'm currently using jetty(dev) and tomcat(prod), but is looking to
> glassfish
> for using jee 6 web profile.
>
> I've tried deploying a simple tapestry app to glassfish - and it works
> fine.
> However if I make any changes to a java (class) file, it triggers a
> publish
> and redeploy of the app. Making changes to a jsp does not force a
> reload and
> I see changes immediately.
>
> Ideally I'd like only the class file to be replaced so that tapestry's
> classloader can take care of reloading of classes in it's watched
> packages. -
> Same behaviour as with a jsp.
>
> Reloading of app is like 6 seconds in my simple test app, by letting
> tapestry
> do just the class reload is 1< second - so considering switching for
> us is
> depending on getting tapestry reload working without glassfish getting
> in the
> way.
>
> (I don't know if it's the eclipse connector or glassfish itself is
> doing the
> publish/reload.)
Not for now...
The scenario seems very limited!!! What about EE 6 artifacts in the web
apps which are not handled from Tapestry?
Which other server is supporting that?
Ludo
>
>
>
> So - How can I configure glassfish to replace, but not redeply on class
> modification ?
>
>
>
>
>
>
> --
>
> [Message sent by forum member 'MagnusKvalheim']
>
> View Post: http://forums.java.net/node/809990
>
>