Rexx and JSR 223

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Rexx and JSR 223

Chip Davis-3
Hi Paul,

Hope you are doing well.  I am not familiar with JSR 223, except that it sounds
somewhat akin to the Bean Scripting Framework, from what I can tell.  If that is
true, it would appear that both NetRexx and Rony Flatscher's BSF4Rexx packages
may address your question.

Odds are that I'm misinformed however, so I am cross-posting the to the NetRexx
and the RexxLA discussion lists for more knowledgeable responses.

-Chip-

-------- Original Message --------
Subject: Re: Rexx and JSR 223
Date: Mon, 26 Oct 2009 17:35:38 +0000
From: [hidden email]
Reply-To: [hidden email]
To: Paul Tremblett <[hidden email]>
CC: [hidden email]

I do remember you, Paul, and I hope things are going well for you.
Unfortunately, I don't knoiw the answer to your question, though I agree with
Mike's assessment.  I'm on vacation at the moment with only Blackberry access to
email, so I've cc'd Chip Davis in the hope he can pass on the query.
------Original Message------
From: Paul Tremblett
To: [hidden email]
Sent: Oct 26, 2009 17:22
Subject: Rexx and JSR 223

Hi Pam,
Not sure if your remember me from SHARE. I emailed Mike Cowlishaw to
ask him if he was aware of any JSR 223 wrappers that had been
developed for Rexx. He indicated that someone from RexxLA might know
the answer.

Thanks,
Paul Tremblett


Sent via BlackBerry from T-Mobile



Reply | Threaded
Open this post in threaded view
|

Rexx and JSR 223

Kermit Kiser
Chip, et al.;

JSR 223 is a Java specification and an API released in recent Java
versions which allows Java applications to add support for arbitrary
scripting languages that have a scripting engine written to the
specification. My understanding is that BSF4Rexx uses the older BSF 2.x
version and not the newer BSF 3.x version which implements the JSR 223
specification. It seems to be a secret just what the BSF 3.x version
supports so far but the official list of JSR 223 scripting languages
currently available is here:

https://scripting.dev.java.net

It does NOT include any Rexx versions!

I am currently planning to begin development of a JSR 223 script engine
for NetRexx as soon as I finish releasing the beta version of the
NetRexxScript plugin for jEdit which is a scripting engine that adds
NetRexx scripting support to jEdit. (The beta release is pending
repackaging to official jEdit package standards but is effectively equal
to the alpha version available here: http://kermitkiser.com/NetRexx )
While not insurmountable, the problem with implementing JSR 223 for
NetRexx is that the JSR 223 API passes a script as a string object or as
an arbitrary input stream while the current NetRexx API only accepts
file names and processes scripts from disk files. As long as a file
system is available to the engine this can be worked around but a really
"good" solution will have to wait for the release of open source NetRexx.

There are plans that I have seen to implement "adapters" that will
interface all BSF 2.x and 3.x engines. I think that would make ooRexx
available as a JSR 223 scripting language.

Short answer: There are no JSR 223 engines for Rexx yet that I can find,
but "real soon now"... ;-)

-- Kermit

On 10/27/2009 5:36 PM, Chip Davis wrote:

> Hi Paul,
>
> Hope you are doing well.  I am not familiar with JSR 223, except that
> it sounds
> somewhat akin to the Bean Scripting Framework, from what I can tell.  
> If that is
> true, it would appear that both NetRexx and Rony Flatscher's BSF4Rexx
> packages
> may address your question.
>
> Odds are that I'm misinformed however, so I am cross-posting the to
> the NetRexx
> and the RexxLA discussion lists for more knowledgeable responses.
>
> -Chip-
>
> -------- Original Message --------
> Subject: Re: Rexx and JSR 223
> Date: Mon, 26 Oct 2009 17:35:38 +0000
> From: [hidden email]
> Reply-To: [hidden email]
> To: Paul Tremblett <[hidden email]>
> CC: [hidden email]
>
> I do remember you, Paul, and I hope things are going well for you.
> Unfortunately, I don't knoiw the answer to your question, though I
> agree with
> Mike's assessment.  I'm on vacation at the moment with only Blackberry
> access to
> email, so I've cc'd Chip Davis in the hope he can pass on the query.
> ------Original Message------
> From: Paul Tremblett
> To: [hidden email]
> Sent: Oct 26, 2009 17:22
> Subject: Rexx and JSR 223
>
> Hi Pam,
> Not sure if your remember me from SHARE. I emailed Mike Cowlishaw to
> ask him if he was aware of any JSR 223 wrappers that had been
> developed for Rexx. He indicated that someone from RexxLA might know
> the answer.
>
> Thanks,
> Paul Tremblett
>
>
> Sent via BlackBerry from T-Mobile
>
>
>
> _______________________________________________
> Ibm-netrexx mailing list
> [hidden email]
>
>
>