JFCML Support For JSR 223
Brought to you by:
metasolutions
JSR 223: Scripting for the Java Platform.
http://jcp.org/en/jsr/detail?id=223
This is a new scripting API which will be available in
Java 6.0 (Mustang):
http://java.sun.com/developer/technicalArticles/J2SE/Desktop/Mustang_build39.html
JFCML can provide forward-compatible support for this
feature. I am a member of the Sun's CAP (Compatibility
and Performance) beta group, and I have access to the
recent builds which have incorporated this feature.
This should be very easy to implement: a simple proxy
class would be created using Reflection to access the
new APIs. The class would provide the standard
eval/get/set interface, and simply become another
language understood by the ScriptHandler.
Logged In: YES
user_id=1118529
Upon further review of this JSR, it looks like it may
support an interface similar to the BSF, allowing the user
to choose from different scripting solutions.
If that is the case, it might be nice to support it as an
alternative to the BSF. The decision regarding which one
would be used could be controlled by the PackageRegistry.