It's not a secret anymore!
The moose likes Other Languages and the fly likes scripting in java: JSR 223 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Languages » Other Languages
Bookmark "scripting in java: JSR 223" Watch "scripting in java: JSR 223" New topic

scripting in java: JSR 223

manuel aldana
Ranch Hand

Joined: Dec 29, 2005
Posts: 308
hi, i've read some articles which state, that scripting in Java should be supported better in future. i quite like this idea because i am using Python often, which speeds up my development for software-eng. issues (of course not for all of them).

but i think the problems with java complexity is not only the sometimes lengthy syntax sometimes it is more the API. it is much easier completing tasks by using the script's custom API.
and all scripting examples with JSR 223 i've seen use just java API exclusivly.

so are there efforts to:
1: support Python or Ruby in JSR 223 as scripting language?
2: make it possible that the chosen scripting language make use of their own library?


aldana software engineering blog & .more
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42965
There is an additional project that maintains bindings for quite a few other scripting languages, including Jython and JRuby. So, in that sense, Python and Ruby are supported.

I haven't tinkered with JSR-223 stuff (BSF works fine for me), but since it enables scripts in other languages to be used, why wouldn't those be able to use their own libraries? It would be a major headache to write a (e.g.) PHP script which had to use Java libraries instead of PHP libraries.
manuel aldana
Ranch Hand

Joined: Dec 29, 2005
Posts: 308
yes i've tried Jython (as Java Python bridge) already, which made me some problems.

so if i used it professionaly, i would find it quite risky. last release of Jython was last year july and it is release 2.1 and python is far more ahead with release 2.4.3. generally it is not very active if you look at sourceforge-Jython.

does anybody why? no supporters/comitters, not required any longer (which i doubt)?
i just heard that a guy went off to .net python, but that should not affect the whole development.

i am not moaning (could help out by myself, if i had time), i am just wondering...
I agree. Here's the link:
subject: scripting in java: JSR 223
It's not a secret anymore!