Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Struts 2 »

Re: [s2] Groovy Actions in Struts 2

Ian Roughley

2007-02-14

Replies:

I think it was Chris from Adigio that had the blog entry. The proxy
basically always checked the filesystem for the latest .groovy script,
and then used it.

I'm not sure about Spring's groovy support, and whether it allows for
hot swapping. I also personally think that defining actions in a
service tier doesn't "smell" right.

/Ian


Dave Newton wrote:
> --- Mark Menard <mark@(protected):
>  
>> Oooh... I was thinking about something like that,
>> where you would not need
>> to keep reloading the application, but be able to
>> change the script, have it
>> dynamically recompile and simply hit reload. Kind of
>> like you can do with
>> JSP files under the Maven Jetty Plugin.
>>  
>
> You can configure Spring2 beans to do this via the
> <lang:groovy.../> element.
>
> It's not clear to me if you can configure it so the
> Groovy action can be hot-compiled w/ a standard
> <bean.../> element but w/ a combination of refs or
> something I'd bet you could.
>
> d.
>
>
>
>
> ____________________________________________________________________________________
> Never miss an email again!
> Yahoo! Toolbar alerts you the instant new Mail arrives.
> http://tools.search.yahoo.com/toolbar/features/mail/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@(protected)
> For additional commands, e-mail: user-help@(protected)
>
>  
©2008 junlu.com - Jax Systems, LLC, U.S.A.