Werner,

thanks for all the great stuff. Good job!

-Matthias

On Wed, Aug 19, 2009 at 4:47 PM, Werner Punz<werner.p...@gmail.com> wrote:
> Ok guys I was able to work on the stuff a little bit more.
> Here is what definitely is working now:
> a) Scripting of Renderers, Validators, Phase Listeners (should work but
> only partially tested)
>
> b) Scripting of managed beans, here comes the goody.
> This fully now works.
>
> Reloading works on all type of beans, request, session, and application
> scoped beans, with all properties as far as possible being kept intact,
> thanks to a custom el resolver doing the hard lifting
> Also I managed to pull of dependency resolution on the groovy side
> which means you now can simply drop a class into the sources and have it
> included from one of the beans and it automatically is picked up, same
> goes for the changes if a referencing bean also is changed.
> (this is a small limitation of the classloader hierarchy used here)
>
> I tried it with a custom utils class which does el resolving and it was
> properly picked up by the managed bean referenced in the view layer.
>
> My personal goal on this is to be able to write a mini blogging app
> without a single server restart (except for faces-config changes, where
> myfaces reloading should kick in)
>
> Also additionally you can now add a servlet context init parameter with
> search paths for your scripts so that you now be able to work directly
> with your scripts in your source directory and have the server picking
> it up. (and do an occasional recompile here and then)
>
>
>
>
>
>
>
>



-- 
Matthias Wessendorf

blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf

Reply via email to