> The question I ask myself is how and where would we use
> scripting, and why would it be useful.

I might be mis-interpretting your statement, but it sounds like you're
thinking about scripting as a runtime extension model. I think that's
one usecase for groovy, or jruby. The other usecase is actually
building your pages or services. Since groovy (and I believe jruby)
actually compile to bytecode that can be packaged up as a class just
like a .java file you can use some of the nice language features for
building pages. For instance, in groovy you're pages wouldn't have to
define all the extraneous getter/setters for the pages properties.

With intellij and maven both supporting combining java and groovy
source in the same project, I've been thinking more about ditching the
heavy java syntax for xml processing and using groovy's
XMLParser/XMLSlurper...

Josh


On Wed, Mar 12, 2008 at 9:29 AM, Chris Lewis <[EMAIL PROTECTED]> wrote:
> I've not looked at groovy integration, but I've often thought of how one
> might integrate scripting. T5Components provides a scripting service
> built on BSF, which gives you access to a large number of scripting
> languages. The question I ask myself is how and where would we use
> scripting, and why would it be useful. It seem like scriptable services
> would be nice, and certainly a way to tinker with how requests are
> routed (like RoR's routes). Good luck and do share thoughts if you have any.
>
> chris
>
> Angelo Chen wrote:
> > Hi,
> >
> > Is it possible to use Jruby with T5? any advantages ? just curious.
> >
> > A.C.
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>



-- 
--
TheDailyTube.com. Sign up and get the best new videos on the internet
delivered fresh to your inbox.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to