Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Where did scripting.dev.java.net move to?

 
Robert James Liguori
Author
Ranch Hand
Posts: 551
5
Java Netbeans IDE Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Does anyone know where scripting.dev.java.net moved to?

Thanks,
Robert
 
Ulf Dittmer
Rancher
Pie
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
scripting.java.net, but it seems that it got abandoned in the move. No downloads are available, only the source code: http://java.net/projects/scripting/sources
 
Jesper de Jong
Java Cowboy
Saloon Keeper
Posts: 15203
36
Android IntelliJ IDE Java Scala Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Maybe this is useful: Scripting for the Java™ Platform from the Java SE 7 documentation.
 
nicholas whitehead
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I started a fork of this project on Github at https://github.com/nickman/javax-scripting.
Initially I am moving over just the ones I really need, and I will follow with ones that do not have JSR-233 implementations out there already.
The project is mavenized and I am packaging all the implementations into one artifact.

Bear with me, I should complete it shortly. Please post an issue if you have any questions.

//nicholas
 
Campbell Ritchie
Sheriff
Posts: 48363
56
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to the Ranch Nicholas Whitehead.
 
Jesper de Jong
Java Cowboy
Saloon Keeper
Posts: 15203
36
Android IntelliJ IDE Java Scala Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome, Nicholas.

Why did you fork the project; what do you intend to change or add to it?

Are you aware that the people at Oracle are busy implementing a new and much better JavaScript engine which should be included in Java 8? See Project Nashorn.
 
nicholas whitehead
Greenhorn
Posts: 2
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Jesper;

Good question. Thanks for asking.

Last issue first: I have been following the Nashorn development with interest, however, it is a re-implementation of the JavaScript ScriptEngine and the original java.net/Scripting project provided implementations of a variety of different languages. Several of them are probably obsolete at this point, but others continue to be great and unique assets (at least to me, anyways) such as jawk, xpath, xslt and ognl. These engine implementations have unique capabilities that are not provided in Nashorn, so I do not feel they have been obsoleted by it.

As far as the fork goes, I would categorize the changes into 2 groups:

1. Repackaging

The fork is in maven format which makes the project more "consumable". The original project only exists in source code, and there are no downloads, artifacts or javadoc available. This maven fork will provide ready to use jar artifacts, as well as javadoc and source attachments. In addition, rather than producing one jar per engine, I am packaging all the implementations into one artifact. In general, I am not modifying or adding to the source code, except that I am attempting to provide javadoc for all public and protected methods. I am adding the required maven poms, and as best as I can, I am defining the dependencies against published artifacts in the Sonatype public repositories.

2. Enhancements

In a separate sub-project, I am extending some of the current engines to use Java 7 Invoke Dynamic instead of reflection for runtime invocation. I don't have any hard numbers, but by all accounts, this should significantly improve the performance of some of the engines. I have some ideas for some other enhancements, but they're more experimental.

That's all I have.

//Nicholas
 
Jesper de Jong
Java Cowboy
Saloon Keeper
Posts: 15203
36
Android IntelliJ IDE Java Scala Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for the information. Looks like and interesting and challenging project!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic