commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@multitask.com.au
Subject Re: jexl again...
Date Wed, 12 Jun 2002 17:06:18 GMT
The hassle I had with Jexl was using the context to set a variable to a 
value to be evaluated later. With Jexl, it meant I couldn't have a string 
with the same value as a variable name, i.e. setting 'name' to 'value' 
meant if I evaluated 'name' I always got 'value'. Good except that I'm 
trying to fit in with ant's property / value naming style.
--
dIon Gillard, Multitask Consulting
Work:      http://www.multitask.com.au
Developers: http://adslgateway.multitask.com.au/developers




"Geir Magnusson Jr." <geirm@adeptra.com>
06/13/02 12:59 AM
Please respond to "Jakarta Commons Developers List"

 
        To:     Jakarta Commons Developers List <commons-dev@jakarta.apache.org>
        cc: 
        Subject:        Re: jexl again...


On 6/12/02 11:09 AM, "dion@multitask.com.au" <dion@multitask.com.au> 
wrote:

> Cool....I've just started the move to Jelly to handle this. It seems a
> much cleaner implementation...?

Much cleaner than?  Jelly uses Jexl...

> --
> dIon Gillard, Multitask Consulting
> Work:      http://www.multitask.com.au
> Developers: http://adslgateway.multitask.com.au/developers
> 
> 
> 
> 
> "James Strachan" <james_strachan@yahoo.co.uk>
> 06/12/02 08:05 PM
> Please respond to "Jakarta Commons Developers List"
> 
> 
>       To:     "Jakarta Commons Developers List"
> <commons-dev@jakarta.apache.org>
>       cc: 
>       Subject:        Re: jexl again...
> 
> 
> From: <dion@multitask.com.au>
>> 1) Are expressions cacheable? i.e. if I create an expression and 
execute
> it
>> once, can I store it away in a Map and reevaluate it, rather than
>> recreating it?
> 
> FWIW Jelly creates Expression objects and caches them so that they are
> reused inside a Script. The same Expression instance could be reused in
> multiple threads too.
> 
> James
> 
> 
> _________________________________________________________
> Do You Yahoo!?
> Get your free @yahoo.com address at http://mail.yahoo.com
> 
> 
> --
> To unsubscribe, e-mail:   <mailto:commons-dev-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:commons-dev-help@jakarta.apache.org>
> 
> 
> 
> 
> 
> --
> To unsubscribe, e-mail:   <mailto:commons-dev-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:commons-dev-help@jakarta.apache.org>
> 

-- 
Geir Magnusson Jr. 
Research & Development, Adeptra Inc.
geirm@adeptra.com
+1-203-247-1713



--
To unsubscribe, e-mail:   <mailto:commons-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:commons-dev-help@jakarta.apache.org>





--
To unsubscribe, e-mail:   <mailto:commons-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:commons-dev-help@jakarta.apache.org>


Mime
View raw message