You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zeppelin.apache.org by "Vincenzo Selvaggio (JIRA)" <ji...@apache.org> on 2018/08/21 21:28:00 UTC

[jira] [Created] (ZEPPELIN-3742) Java interpreter to use JShell API

Vincenzo Selvaggio created ZEPPELIN-3742:
--------------------------------------------

             Summary: Java interpreter to use JShell API
                 Key: ZEPPELIN-3742
                 URL: https://issues.apache.org/jira/browse/ZEPPELIN-3742
             Project: Zeppelin
          Issue Type: Improvement
          Components: Interpreters
            Reporter: Vincenzo Selvaggio


When Zeppelin will move to JDK 11, re-write the Java interpreter to use the JShell API which will allow a better REPL experience.

C{color:#24292e}urrent implementation is not ideal as a whole class with a main method is needed to run some simple java code, the better approach is to use a Java REPL API.{color}

With JShell API the user would be able to run multiple snippets across paragraph like the other interpreters such as Spark.

{color:#24292e}JSchell is to support both sharing variables between paragraphs{color}{color:#24292e} as well as using the ZeppelinContext for Zeppelin input/output support. At that point the Java interpreter will have comparable features to the other interpreters.{color}

 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)