前回は、Javaに標準ライブラリとして搭載されているJava Scripting APIと、JDKに付属するJavaScriptエンジンである「Nashorn」を使って、JavaとJavaScriptを相互に連携させる方法について紹介した。NanhornはJava 8の頃からJDKに標準で付属していたが、2018年9月にリリースさ ...
Javaには「Java Scripting API」と呼ばれるAPIが用意されている。これは、正式には「JSR 223: Scripting for the Java Platform」という名前の機能で、Java 6から標準で搭載されるようになった。この機能を利用すると、Javaプログラム内でほかのスクリプト言語のコードを実行 ...
前回は、JDK 15で削除される予定のJavaScriptエンジン「Nashorn」に対して、その移行先の有力候補である「GraalJS(GraalVM JavaScript)」の使用方法を解説した。GraalJSはJava Scripting APIをサポートしているので、Nashornと同じように使うことができるが、一方で独自の ...
本連載では,今後数回にわたってスクリプト言語に関連するプロダクトを紹介してゆく。今回は,Apache BSF(Bean Scripting Framework)とJava SE6のスクリプティング機能について紹介しよう。 スクリプティング標準仕様JSR-223を実装したBSF 現在,Javaの世界でスクリプト ...
ログインして、InfoQのすべての体験をアンロックしましょう!お気に入りの著者やトピックの最新情報を入手し、コンテンツと交流し、限定リソースをダウンロードできます。 クラウドコンピューティングの登場以降、ソフトウェア業界は大きな変革の中に ...
Some Java applications’ requirements make integration with a scripting language necessary. For example, your users may need to write scripts that drive the application, extend it, or contain loops and ...
Script languages have been experiencing a renaissance over the past few years. There are many open-source projects such as Jython, Groovy and Bean Shell to allow the scripting environment to interact ...
The Java platforms (J2SE and J2EE) are filled with rich and useful features, making Java an extremely useful resource for more than mere programming. To use Java, a good scripting tool is needed.
Three years ago, I wrote an article for JavaWorld called “Java Scripting Languages: Which Is Right for You?” When I collected the interpreters to compare, I tried to choose ones that seemed a good fit ...
一部の結果でアクセス不可の可能性があるため、非表示になっています。
アクセス不可の結果を表示する