This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Languages » Other Languages
Bookmark "scripting in java: JSR 223" Watch "scripting in java: JSR 223" New topic
Author

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?

thanks.


aldana software engineering blog & .more
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41068
    
  43
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.


Ping & DNS - my free Android networking tools app
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: http://aspose.com/file-tools
 
subject: scripting in java: JSR 223
 
Similar Threads
What the heck is a "scripting language" these days?
JSP/Servlet VS PHP
Difference between java5 and java6
Is Ruby a scripting or a programming Language?
Jython, Python etc. (Use Scenarios)