File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

scripting in java: JSR 223

 
manuel aldana
Ranch Hand
Posts: 308
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Ulf Dittmer
Rancher
Pie
Posts: 42966
73
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 308
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic