Links

  • 1. Sogeti
  • 2. JBoss
  • 3. IBM
  • 4. Oracle
  • 5. SpringSource
  • 6. NL-JUG
  • 7. Java

Archives

Syndication  RSS 2.0

RSS 1.0
RSS 2.0

Bookmark this site

Add 'JCN Blog' site to delicious  Add 'JCN Blog' site to technorati  Add 'JCN Blog' site to digg  Add 'JCN Blog' site to dzone

Posted by Eric Gunnewegh at 8:37 on Wednesday 26 July    Add 'Scripting for the Java Platform' site to delicious  Add 'Scripting for the Java Platform' site to technorati  Add 'Scripting for the Java Platform' site to digg  Add 'Scripting for the Java Platform' site to dzone

The Java platform provides rich resources for both desktop and web application development. However, using those resources from outside the platform has been impractical unless you resort to proprietary software solutions. No industry standard has defined or clarified how developers can use Java class files from other programming languages. Scripting languages haven’t had a standard, industry-supported way to integrate with Java technologies. However, as Bob Dylan once said, “the times, they are a changin’.” One change is Java Specification Request (JSR) 223, which helps developers integrate Java technology and scripting languages by defining a standard framework and application programming interface (API) to do the following:

1) Access and control Java technology-based objects from a scripting environment
2) Create web content with scripting languages
3) Embed scripting environments within Java technology-based applications

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.

Posted by jcn at 10:45 on Thursday 1 July    Add 'JSR 223: Scripting Pages in Java Web Applications' site to delicious  Add 'JSR 223: Scripting Pages in Java Web Applications' site to technorati  Add 'JSR 223: Scripting Pages in Java Web Applications' site to digg  Add 'JSR 223: Scripting Pages in Java Web Applications' site to dzone

Anders dan de titel van de JSR 223 zou doen vermoeden, zijn de leden van deze JSR uiteindelijk op een algemener scriptingmechanisme uitgekomen dan de smallere opdracht die alleen uitging van webscripting. De JSR is nu in early review, dus dit is een impressie van wat er gaat komen.
Read the rest of this entry »


© 2019 Java Competence Network. All Rights Reserved.