{"id":195870,"date":"2013-09-30T21:05:03","date_gmt":"2013-09-30T17:05:03","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=195870"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=195870","title":{"rendered":"<span class=\"post_title\">\u0412\u0432\u0435\u0434\u0435\u043d\u0438\u0435 \u0432 Nashorn<\/span>"},"content":{"rendered":"<div class=\"content html_format\">\n<h4>\u0412\u0432\u0435\u0434\u0435\u043d\u0438\u0435<\/h4>\n<p>  <img decoding=\"async\" align=\"left\" src=\"http:\/\/habrastorage.org\/storage3\/8c5\/9e2\/a12\/8c59e2a12282f67c3ba9bec58bf649ee.jpg\" alt=\"image\"\/>Nashorn<sup>*<\/sup> \u2014 \u0434\u0432\u0438\u0436\u043e\u043a JavaScript, \u0440\u0430\u0437\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u0435\u043c\u044b\u0439 \u043f\u043e\u043b\u043d\u043e\u0441\u0442\u044c\u044e \u043d\u0430 \u044f\u0437\u044b\u043a\u0435 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f Java \u043a\u043e\u043c\u043f\u0430\u043d\u0438\u0435\u0439 Oracle. \u041e\u0441\u043d\u043e\u0432\u0430\u043d \u043d\u0430 <a href=\"http:\/\/en.wikipedia.org\/wiki\/Da_Vinci_Machine\">Da Vinci Machine<\/a> (JSR 292) \u0438 \u0431\u0443\u0434\u0435\u0442 \u0434\u043e\u0441\u0442\u0443\u043f\u0435\u043d \u0432 \u0441\u043e\u0441\u0442\u0430\u0432\u0435 Java 8 (\u0440\u0435\u043b\u0438\u0437 \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u043e\u0436\u0438\u0434\u0430\u0435\u0442\u0441\u044f \u0432 \u043c\u0430\u0440\u0442\u0435 2014 \u0433\u043e\u0434\u0430). \u0421\u0442\u043e\u0438\u0442 \u043e\u0442\u043c\u0435\u0442\u0438\u0442\u044c \u0447\u0442\u043e \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u0435 JavaScript (\u0438 <a href=\"http:\/\/en.wikipedia.org\/wiki\/JSR_223\">\u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0430 \u0441\u0440\u0438\u043f\u0442\u0438\u043d\u0433\u0430<\/a>) \u0431\u044b\u043b\u0430 \u0443\u0436\u0435 \u0432 Java 6, \u043d\u043e \u0432 \u043d\u0435\u0439 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b\u0441\u044f \u0434\u0432\u0438\u0436\u043e\u043a <a href=\"http:\/\/ru.wikipedia.org\/wiki\/Rhino\">Rhino<\/a>, \u0442\u0430\u043a\u0436\u0435 \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u043d\u044b\u0439 \u043d\u0430 Java, \u043d\u043e \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u043c\u044b\u0439 <a href=\"http:\/\/ru.wikipedia.org\/wiki\/Mozilla_Foundation\">Mozilla Foundation<\/a>. <\/p>\n<p>  \u041e \u0441\u043f\u0438\u0441\u043a\u0435 \u043d\u043e\u0432\u043e\u0432\u0432\u0435\u0434\u0435\u043d\u0438\u0439 \u0432 Java 8 \u0443\u0436\u0435 <a href=\"http:\/\/habrahabr.ru\/post\/188850\/\">\u043f\u0438\u0441\u0430\u043b\u0438 \u0440\u0430\u043d\u0435\u0435<\/a>. \u0412 \u0434\u0430\u043d\u043d\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435 \u0431\u0443\u0434\u0435\u0442 \u043f\u0440\u0438\u0432\u0435\u0434\u0435\u043d\u0430 \u043f\u0430\u0440\u0430 \u043f\u0440\u043e\u0441\u0442\u044b\u0445 \u043f\u0440\u0438\u043c\u0435\u0440\u043e\u0432, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0434\u0430\u0441\u0442 \u0432\u0430\u043c \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u043e\u0431 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0438 Nashorn.<br \/>  <a name=\"habracut\"><\/a><\/p>\n<h4>\u041f\u0440\u0438\u043c\u0435\u043d\u0435\u043d\u0438\u0435<\/h4>\n<p>  \u0417\u0430\u0447\u0435\u043c \u043d\u0443\u0436\u0435\u043d JavaScript \u0432 Java? \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440:  <\/p>\n<ul>\n<li>\u041e\u043f\u0438\u0441\u044b\u0432\u0430\u0442\u044c \u0431\u0438\u0437\u043d\u0435\u0441-\u043b\u043e\u0433\u0438\u043a\u0443 \u043d\u0430 \u0431\u043e\u043b\u0435\u0435 \u043f\u0440\u043e\u0441\u0442\u043e\u043c \u0447\u0435\u043c Java \u044f\u0437\u044b\u043a\u0435 (\u043f\u0440\u0438\u0432\u043b\u0435\u043a\u0430\u044f \u043a \u044d\u0442\u043e\u043c\u0443 \u0441\u043f\u0435\u0446\u0438\u0430\u043b\u0438\u0441\u0442\u043e\u0432 \u0432 \u043f\u0440\u0435\u0434\u043c\u0435\u0442\u043d\u043e\u0439 \u043e\u0431\u043b\u0430\u0441\u0442\u0438 \u0441 \u0431\u0430\u0437\u043e\u0432\u044b\u043c \u043d\u0430\u0432\u044b\u043a\u043e\u043c \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f)<\/li>\n<li>\u041e\u0431\u0435\u0441\u043f\u0435\u0447\u0438\u0442\u044c \u043c\u043e\u0434\u0443\u043b\u044c\u043d\u0443\u044e, \u0440\u0430\u0441\u0448\u0438\u0440\u044f\u0435\u043c\u0443\u044e \u0437\u0430 \u0441\u0447\u0451\u0442 \u043f\u043b\u0430\u0433\u0438\u043d\u043e\u0432 \u0430\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440\u0443 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u0438 \u0438\u043d\u0442\u0435\u0433\u0440\u0430\u0446\u0438\u044e \u0432 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u0440\u0430\u043d\u0435\u0435 \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0445 \u0441\u043a\u0440\u0438\u043f\u0442\u043e\u0432<\/li>\n<li><a href=\"http:\/\/justmy2bits.com\/2013\/09\/08\/javafx-with-nashorn-canvas-example\/\">\u0418\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0441\u043e\u0432\u043c\u0435\u0441\u0442\u043d\u043e \u0441 Java FX<\/a><\/li>\n<li><a href=\"http:\/\/tech.kinja.com\/a-simple-realtime-webapp-using-nashorn-scripting-1059181159\">\u0418\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0432 web-\u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f\u0445<\/a>, <a href=\"https:\/\/blogs.oracle.com\/nashorn\/entry\/http_server_written_in_nashorn\">\u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c<\/a><\/li>\n<\/ul>\n<h4>\u041f\u0440\u0438\u043c\u0435\u0440\u044b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f<\/h4>\n<p>  <\/p>\n<h5>\u041f\u043e\u0434\u0433\u043e\u0442\u043e\u0432\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0439 \u044d\u0442\u0430\u043f<\/h5>\n<p>  \u0423\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c <a href=\"https:\/\/jdk8.java.net\/download.html\">JDK 8 Early Access<\/a>. \u0414\u0430\u043b\u0435\u0435 \u043f\u043e \u0442\u0435\u043a\u0441\u0442\u0443 \u043f\u043e\u0434\u0440\u0430\u0437\u0443\u043c\u0435\u0432\u0430\u0435\u0442\u0441\u044f \u0447\u0442\u043e \u043a\u043e\u043c\u0430\u043d\u0434\u044b <code>javac<\/code> \u0438 <code>java<\/code> \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u044e\u0442\u0441\u044f \u0434\u043b\u044f Java 8.<\/p>\n<h5>Hello, World!<\/h5>\n<p>  <\/p>\n<pre><code class=\"java\">import javax.script.*;  public class EvalScript {     public static void main(String[] args) throws Exception {         \/\/ create a script engine manager         ScriptEngineManager factory = new ScriptEngineManager();         \/\/ create a Nashorn script engine         ScriptEngine engine = factory.getEngineByName(&quot;nashorn&quot;);         \/\/ evaluate JavaScript statement         try {             engine.eval(&quot;print('Hello, World!');&quot;);         } catch (final ScriptException se) { se.printStackTrace(); }     } } <\/code><\/pre>\n<p>  \u041a\u043e\u043c\u043f\u0438\u043b\u0438\u0440\u0443\u0435\u043c \u043a\u043b\u0430\u0441\u0441:   <\/p>\n<pre><code class=\"dos\">.\/javac EvalScript.java <\/code><\/pre>\n<p>  \u0418 \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0435\u043c \u0435\u0433\u043e:   <\/p>\n<pre><code class=\"dos\">.\/java EvalScript<\/code><\/pre>\n<p>  \u0412\u0438\u0434\u0438\u043c \u0432\u044b\u0432\u043e\u0434:   <\/p>\n<pre><code class=\"dos\">Hello, World!<\/code><\/pre>\n<p>  <\/p>\n<h5>JavaScript + Java<\/h5>\n<p>  Nashorn \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 <a href=\"http:\/\/download.java.net\/jdk8\/docs\/technotes\/guides\/scripting\/nashorn\/api.html#sthref17\">\u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043a\u043b\u0430\u0441\u0441\u044b Java<\/a> \u0434\u043b\u044f \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c. \u0420\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439 \u043f\u0440\u0438\u043c\u0435\u0440:<\/p>\n<h6>MyScript.js<\/h6>\n<p>  <\/p>\n<pre><code class=\"javascript\">var MyClass = Java.type(&quot;EvalScript.MyClass&quot;); var my = new MyClass(); my.printMsg(&quot;Hello!&quot;); <\/code><\/pre>\n<p>  <\/p>\n<h6>EvalScript.java<\/h6>\n<p>  <\/p>\n<pre><code class=\"java\">import javax.script.*; import java.io.*;  public class EvalScript {      public static void main(String[] args) throws Exception {         \/\/ create a script engine manager         ScriptEngineManager factory = new ScriptEngineManager();         \/\/ create a Nashorn script engine         ScriptEngine engine = factory.getEngineByName(&quot;nashorn&quot;);         \/\/ evaluate JavaScript statement         try {             BufferedReader br = new BufferedReader(new InputStreamReader(System.in));             engine.eval(br);         } catch (final ScriptException se) { se.printStackTrace(); }     }      public static class MyClass {         public void printMsg(String msg) {             System.out.println(&quot;printMsg : &quot;+msg);         }     } } <\/code><\/pre>\n<p>  \u0414\u043b\u044f \u043f\u0440\u0438\u043c\u0435\u0440\u0430 \u044f \u0441\u043e\u0437\u0434\u0430\u043b \u0441\u0432\u043e\u0439 \u0432\u043d\u0443\u0442\u0440\u0435\u043d\u043d\u0438\u0439 \u043a\u043b\u0430\u0441\u0441 (\u0447\u0442\u043e \u043d\u0435 \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u0438\u0435\u043c, \u044f \u043c\u043e\u0433 \u0431\u044b \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u0438 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u0439 \u043a\u043b\u0430\u0441\u0441), \u0438 \u0432\u044b\u0437\u0432\u0430\u043b \u0435\u0433\u043e \u0438\u0437 JavaScript \u043a\u043e\u0434\u0430. \u041e\u0441\u0442\u0430\u043b\u043e\u0441\u044c \u0441\u043a\u043e\u043c\u043f\u0438\u043b\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043a\u043b\u0430\u0441\u0441 \u0438 \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u0435\u0433\u043e \u043f\u0435\u0440\u0435\u0434\u0430\u0432 \u043d\u0430 \u0432\u0445\u043e\u0434 \u043d\u0430\u0448 js-\u043a\u043e\u0434:   <\/p>\n<pre><code class=\"dos\">.\/java EvalScript &lt; MyScript.js<\/code><\/pre>\n<p>  \u0412\u0438\u0434\u0438\u043c \u0432\u044b\u0432\u043e\u0434:   <\/p>\n<pre><code class=\"dos\">printMsg : Hello!<\/code><\/pre>\n<h4>\u0412\u044b\u0432\u043e\u0434<\/h4>\n<p>  \u0420\u0435\u0448\u0430\u0439\u0442\u0435 \u0441\u0430\u043c\u0438 \u043a\u0430\u043a \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0442\u0430\u043a\u0443\u044e \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c. \u042f \u0437\u0430\u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043e\u0432\u0430\u043b\u0441\u044f, \u043a\u043e\u0433\u0434\u0430 \u0443 \u043c\u0435\u043d\u044f \u043f\u043e\u044f\u0432\u0438\u043b\u0430\u0441\u044c \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e\u0441\u0442\u044c \u0432\u043d\u0435\u0434\u0440\u0438\u0442\u044c \u0432 \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0439 Java-\u043f\u0440\u043e\u0435\u043a\u0442 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0437\u0430\u0446\u0438\u044e, \u043a\u043e\u0442\u043e\u0440\u0443\u044e \u043c\u043e\u0433 \u0431\u044b \u043d\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0442\u044c \u043d\u0435 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0441\u0442, \u0430 \u0430\u0434\u043c\u0438\u043d\u0438\u0441\u0442\u0440\u0430\u0442\u043e\u0440 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f, \u043f\u0440\u044f\u043c\u043e \u0447\u0435\u0440\u0435\u0437 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f (\u0438 \u043f\u0440\u0438 \u044d\u0442\u043e\u043c \u043d\u0435 \u0442\u0440\u0435\u0431\u043e\u0432\u0430\u043b\u0430\u0441\u044c \u0431\u044b \u043f\u0435\u0440\u0435\u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0446\u0438\u044f \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f).<\/p>\n<h4>\u0418\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c\u044b\u0435 \u043c\u0430\u0442\u0435\u0440\u0438\u0430\u043b\u044b:<\/h4>\n<p>  <\/p>\n<ul>\n<li><a href=\"http:\/\/download.java.net\/jdk8\/docs\/technotes\/guides\/scripting\/nashorn\/\">http:\/\/download.java.net\/jdk8\/docs\/technotes\/guides\/scripting\/nashorn\/<\/a><\/li>\n<li><a href=\"http:\/\/ru.wikipedia.org\/wiki\/Nashorn_%28%D0%B4%D0%B2%D0%B8%D0%B6%D0%BE%D0%BA_JavaScript%29\">http:\/\/ru.wikipedia.org\/wiki\/Nashorn_(\u0434\u0432\u0438\u0436\u043e\u043a_JavaScript)<\/a><\/li>\n<li><a href=\"https:\/\/blogs.oracle.com\/nashorn\/\">https:\/\/blogs.oracle.com\/nashorn\/<\/a><\/li>\n<\/ul>\n<p>  <\/p>\n<hr\/>\n<p>  <sup>*<\/sup> Nashorn \u2014 \u043d\u0435\u043c\u0435\u0446\u043a\u043e\u0435 \u0441\u043b\u043e\u0432\u043e, \u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u043f\u0435\u0440\u0435\u0432\u043e\u0434\u0438\u0442\u0441\u044f \u043d\u0430 \u0440\u0443\u0441\u0441\u043a\u0438\u0439 \u043a\u0430\u043a \u00ab\u043d\u043e\u0441\u043e\u0440\u043e\u0433\u00bb, \u0430 \u043d\u0430 \u0430\u043d\u0433\u043b\u0438\u0439\u0441\u043a\u0438\u0439 \u043a\u0430\u043a \u00abrhinoceros\u00bb, \u0447\u0442\u043e \u043f\u0435\u0440\u0435\u043a\u043b\u0438\u043a\u0430\u0435\u0442\u0441\u044f \u0441 <a href=\"http:\/\/ru.wikipedia.org\/wiki\/Rhino\">Rhino<\/a>, \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435\u043c \u0434\u0432\u0438\u0436\u043a\u0430 JavaScript, \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u043d\u043d\u043e\u0433\u043e \u0432 Java \u0438 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u043c\u043e\u0433\u043e \u043a\u043e\u043c\u043f\u0430\u043d\u0438\u0435\u0439 Mozilla Foundation. Rhino, \u0432 \u0441\u0432\u043e\u044e \u043e\u0447\u0435\u0440\u0435\u0434\u044c, \u043f\u043e\u043b\u0443\u0447\u0438\u043b \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 \u0432 \u0447\u0435\u0441\u0442\u044c \u0436\u0438\u0432\u043e\u0442\u043d\u043e\u0433\u043e \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0451\u043d\u043d\u043e\u0433\u043e \u043d\u0430 \u043e\u0431\u043b\u043e\u0436\u043a\u0435 \u043a\u043d\u0438\u0433\u0438 \u043e JavaScript, \u0432\u044b\u043f\u0443\u0449\u0435\u043d\u043d\u043e\u0439 \u0438\u0437\u0434\u0430\u0442\u0435\u043b\u044c\u0441\u0442\u0432\u043e\u043c O&#8217;Reilly Media. \t\t\t<\/p>\n<div class=\"clear\"><\/div>\n<\/p><\/div>\n<p> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"http:\/\/habrahabr.ru\/post\/195870\/\"> http:\/\/habrahabr.ru\/post\/195870\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"content html_format\">\n<h4>\u0412\u0432\u0435\u0434\u0435\u043d\u0438\u0435<\/h4>\n<p>  <img decoding=\"async\" align=\"left\" src=\"http:\/\/habrastorage.org\/storage3\/8c5\/9e2\/a12\/8c59e2a12282f67c3ba9bec58bf649ee.jpg\" alt=\"image\"\/>Nashorn<sup>*<\/sup> \u2014 \u0434\u0432\u0438\u0436\u043e\u043a JavaScript, \u0440\u0430\u0437\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u0435\u043c\u044b\u0439 \u043f\u043e\u043b\u043d\u043e\u0441\u0442\u044c\u044e \u043d\u0430 \u044f\u0437\u044b\u043a\u0435 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f Java \u043a\u043e\u043c\u043f\u0430\u043d\u0438\u0435\u0439 Oracle. \u041e\u0441\u043d\u043e\u0432\u0430\u043d \u043d\u0430 <a href=\"http:\/\/en.wikipedia.org\/wiki\/Da_Vinci_Machine\">Da Vinci Machine<\/a> (JSR 292) \u0438 \u0431\u0443\u0434\u0435\u0442 \u0434\u043e\u0441\u0442\u0443\u043f\u0435\u043d \u0432 \u0441\u043e\u0441\u0442\u0430\u0432\u0435 Java 8 (\u0440\u0435\u043b\u0438\u0437 \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u043e\u0436\u0438\u0434\u0430\u0435\u0442\u0441\u044f \u0432 \u043c\u0430\u0440\u0442\u0435 2014 \u0433\u043e\u0434\u0430). \u0421\u0442\u043e\u0438\u0442 \u043e\u0442\u043c\u0435\u0442\u0438\u0442\u044c \u0447\u0442\u043e \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u0435 JavaScript (\u0438 <a href=\"http:\/\/en.wikipedia.org\/wiki\/JSR_223\">\u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0430 \u0441\u0440\u0438\u043f\u0442\u0438\u043d\u0433\u0430<\/a>) \u0431\u044b\u043b\u0430 \u0443\u0436\u0435 \u0432 Java 6, \u043d\u043e \u0432 \u043d\u0435\u0439 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b\u0441\u044f \u0434\u0432\u0438\u0436\u043e\u043a <a href=\"http:\/\/ru.wikipedia.org\/wiki\/Rhino\">Rhino<\/a>, \u0442\u0430\u043a\u0436\u0435 \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u043d\u044b\u0439 \u043d\u0430 Java, \u043d\u043e \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u043c\u044b\u0439 <a href=\"http:\/\/ru.wikipedia.org\/wiki\/Mozilla_Foundation\">Mozilla Foundation<\/a>. <\/p>\n<p>  \u041e \u0441\u043f\u0438\u0441\u043a\u0435 \u043d\u043e\u0432\u043e\u0432\u0432\u0435\u0434\u0435\u043d\u0438\u0439 \u0432 Java 8 \u0443\u0436\u0435 <a href=\"http:\/\/habrahabr.ru\/post\/188850\/\">\u043f\u0438\u0441\u0430\u043b\u0438 \u0440\u0430\u043d\u0435\u0435<\/a>. \u0412 \u0434\u0430\u043d\u043d\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435 \u0431\u0443\u0434\u0435\u0442 \u043f\u0440\u0438\u0432\u0435\u0434\u0435\u043d\u0430 \u043f\u0430\u0440\u0430 \u043f\u0440\u043e\u0441\u0442\u044b\u0445 \u043f\u0440\u0438\u043c\u0435\u0440\u043e\u0432, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0434\u0430\u0441\u0442 \u0432\u0430\u043c \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u043e\u0431 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0438 Nashorn.  <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-195870","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/195870","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=195870"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/195870\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=195870"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=195870"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=195870"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}