You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bsf-user@jakarta.apache.org by Thanh Nguyen <tn...@accovia.com> on 2002/12/16 20:09:32 UTC

Re: A question w.r.t. arguments for BSFEngine.apply(...)

Hi Rony,
I took the chance to ask you a general question:

Is there an archive for bsf-user and bsf-dev?

I tried http://www.mail-archive.com/bsf-user@jakarta.apache.org/, but that
gave me a HTTP 404 error.
(that link is provided on the bsf-jakarta site)

thanks ,
tom nguyen.


"Rony G. Flatscher" wrote:

> Hi there,
>
> BSFEngine.apply(...) allows for a Vector of Objects to be passed to the
> script. Question: should the scripting engine deal with arguments being
> non-primitive and non-String (i.e. "pure" Java objects)?
>
> Theoretically, the Java programmers employing BSF should
> pre-declare/register Java objects, such that only the indices (String
> objects) needed to refer to them are passed to the script itself. Maybe
> there are Java programmers who are not too well acquainted with the
> BSF-rules and pass Java objects directly as arguments to scripts?
>
> What do you think? Should I make the BSFEngine bullet-proof by checking
> myself whether Java objects are handed in as arguments and do the
> registering and unregistering stuff myself? (This is for an adaptation
> of scripting engine for Rexx and Object Rexx, which originally was
> developed for IBM's BSF 2.2 and should now get updated for Apache's BSF
> 2.3. The interface to the se non-Java-implemented scripting engines is
> implemented via JNI.)
>
> Happy for any feedback and/or hints.
>
> Regards,
>
> ---rony
>
> --
> To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>


Archive of (IBM) BSF-discussions ... (Re: A question w.r.t. arguments for BSFEngine.apply(...)

Posted by "Rony G. Flatscher" <Ro...@wu-wien.ac.at>.
Tom:

>I took the chance to ask you a general question:
>
>Is there an archive for bsf-user and bsf-dev?
>
Well, it seems that on Apache the archive has not been set up (yet?):

>I tried http://www.mail-archive.com/bsf-user@jakarta.apache.org/, but that
>gave me a HTTP 404 error.
>(that link is provided on the bsf-jakarta site)
>  
>
The forerunner of BSF 2.3 (Apache version) is BSF 2.2 (IBM's original 
version) and it has an archived e-mail-list, which you can lookup at:

    
http://www-124.ibm.com/developerworks/oss/mailman/listinfo/bsf-discussion

It may be worthwhile to just skim over those few messages posted in the 
past 18 months (most people have been waiting for the move to Apache to 
be done).

Hope that helps,

---rony