cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Upayavira ...@upaya.co.uk>
Subject Re: Introducing IOC for Java classes created in flowscript
Date Fri, 21 Nov 2003 21:20:27 GMT
Bertrand Delacretaz wrote:

> Le Jeudi, 20 nov 2003, à 17:49 Europe/Zurich, Sylvain Wallez a écrit :
>
>> ...I don't agree with this "unfortunately": writing and installing a 
>> component is not an easy task for a newbie, and if it's the only 
>> solution we provide for calling Java code from flowscript, many will 
>> turn around and go away...
>
>
> Just wildthinking here: I've been using BeanShell 
> (http://www.beanshell.org/) recently, and with it you can very easily 
> write scripts that implement java interfaces.
>
> This means that BeanShell (dunno if BSF does this too) scripts could 
> be called from flow *and* interpreted *and* implement Avalon or Cocoon 
> interfaces. I haven't thought about all implications but it might be a 
> nice intermediate solution between limited interpreted stuff and 
> full-blown java coding.

Can you say more about how you do this? Give some examples? I would find 
that very useful.

Regards, Upayavira



Mime
View raw message