JSR 223: Scripting for the Java Platform

View: [ 2009 | 2008 | 2007 | 2006 | 2005 | 2004 | 2003 ]

Articles
  

Articles:
  • Dynamic Language Support on the JVM by Danny Coward   - [Clicks: 21]
    Java SE 6 is no longer only about the Java language: SE 6 can be used to execute dynamic scripting language code as well. According to Danny Coward, Sun's Java SE platform lead, scripting language support is merely the first step in turning the JVM into the best possible execution platform for any dynamic language. Artima spoke with Coward about his new JSR 292, Supporting Dynamically Typed Languages on the Java Platform.
    http://www.artima.com/lejava/articles/dynamic_languages.html - Dec, 2006
  • Java SE 6's New Scripting and Compiling Goodies by Eric Bruno   - [Clicks: 47]
    Among the most intriguing features of the first Java SE 6 release candidate are the capabilities the new scripting and compiling APIs deliver.
    http://www.devx.com/Java/Article/33206 - Nov, 2006
  • Making Scripting Languages JSR-223-Aware by Thomas Kunneth   - [Clicks: 21]
    Thomas Kuenneth shows how to implement JSR-223 to make scripting languages accessible from Java.
    [Includes sample code]
    http://today.java.net/pub/a/today/2006/09/21/making-scripting-languages-jsr-223-aware.html - Sep, 2006
  • Scripting for the Java Platform by John O'Conner   - [Clicks: 41]
    This article focuses on the specification's third goal and will show you how to use an embedded scripting environment from a Java platform application. A demo application called ScriptCalc will provide a working example of how to extend your applications with user-defined scripts in the JavaScript programming language.
    http://java.sun.com/developer/technicalArticles/J2SE/Desktop/scripting/ - Jul, 2006
  • Speak your own programming language with Web scripting by Chaur Wu   - [Clicks: 19]
    In Char Wu's previous JavaWorld article, "Build Your Own Scripting Language for Java" (April 2006), he designed and implemented a simple Boolean language called BoolScript and used it to illustrate all the aspects of Java Specification Request 223, Scripting for the Java Platform, except for the JSR's Web scripting capability. This article will take that same language and equip it with that missing piece. The end result of these efforts is the ability to run BoolScript code in a servlet container.
    [Includes source code]
    http://www.javaworld.com/javaworld/jw-05-2006/jw-0522-scripting.html - May, 2006
  • The Mustang Meets the Rhino: Scripting in Java 6 by John Ferguson Smart   - [Clicks: 51]
    Among Java SE 6's key features is the ability to mix scripting languages into Java code, thanks to the implementation of the JSR-223 spec. In this article, John Ferguson Smart takes a look at the spec and what it means for Java, and shows how to use Java 6's integrated Rhino implementation to call JavaScript from Java...and vice versa.
    http://www.onjava.com/pub/a/onjava/2006/04/26/mustang-meets-rhino-java-se-6-scripting.html - Apr, 2006
  • Build your own scripting language for Java by Chaur Wu   - [Clicks: 23]
    The upcoming Java Standard Edition 6.0 release will include an implementation of Java Specification Request 223, Scripting for the Java Platform. This JSR is about programming languages and their integration with Java. This article demonstrates the power and potential of JSR 223 through the implementation of a simple Boolean language. Throughout the example, you will see how to program to the Scripting API (javax.script.*), how to package and deploy a language implementation in accordance with the script engine discovery mechanism, and how to make your script engine compilable as well as invocable the JSR 223 way.
    [Includes source code]
    http://www.javaworld.com/javaworld/jw-04-2006/jw-0424-scripting.html - Apr, 2006
  • Scripting for the Java Platform by Thomas Kunneth   - [Clicks: 41]
    One of the exciting new features of Java Standard Edition 6 will allow the tight integration of Java and scripting languages through a standard Java Scripting API. In this article I will take a closer look at how the current Mustang beta implements the underlying JSR-223 (Scripting for the Java Platform) and introduce you to its classes and interfaces. We will, however, concentrate on client-side scripting. Web scripting, which is also described in JSR-223, might be subject of a later article.
    [Includes sample code]
    http://today.java.net/pub/a/today/2006/04/11/scripting-for-java-platform.html - Apr, 2006
  • Scripting Support in Mustang by Paul Jensen   - [Clicks: 39]
    The upcoming JDK 6.0 (Mustang) release does not approach the magnitude of enhancements in JDK 5.0, but does offer several interesting updates. Among these updates is the incorporation of JSR 223 Scripting for the Java Platform. Essentially, this introduces a standard framework to allow scripting language programs to be executed from and have access to the Java platform. It provides many of the capabilities of BSF (Bean Scripting Framework). As with BSF, JSR 223 provides a common interface for integration of a variety of scripting langages. The specification includes examples incorporating PHP and Javascript. Eventual support for a wide range of scripting languages (BeanShell, Jython, Ruby, etc) is expected. At the time of this writing, the author could find support for only JavaScript and Pnuts languages.
    http://www.ociweb.com/jnb/jnbFeb2006.html - Feb, 2006

[Top]