JShell – a Powerfull REPL Tool for Prototyping, New Language Features, and Education

Track

Core Java, Frameworks & Servers

Date and time

-

Room

-

Duration

30'

As the title suggests, this is a presentation all about our experiences with JShell (aka the Java Shell Tool), a powerful Read-Evaluate-Print-Loop (REPL) tool available in Java Development Kit (JDK) since version 9. Many languages contain such a command-line REPL tool that evaluates declarations, statements, and expressions as they are entered and immediately shows the results, and now we have one in Java. JShell introduces a full-fledged yet straightforward REPL to Java, useful in many cases, from learning new Java language features or APIs, through quick prototyping and debugging without the need for developing complex classes, all the way to educational purposes in introductory programming courses in online courses and at colleges and universities. Together with vars introduces in JDK 10, JShell became even easier to use and can be immensely helpful for trying some new functionalities or running a smaller project's parts. With JShell developers, educators, and students can quickly run some code without starting a full-blown IDE and/or creating a new project; however, JShell can also be used as an addition to IntelliJ IDEA, Eclipse, NetBeans or elsewhere. We intend to reveal to you some of the great usages of JShell related to support for prototyping and learning.

Lecture details

Type: Lecture
Level of difficulty: General
Experience Level: No experience
Desirable listeners function: Developer , Counsultant
Group of activity: Core Java, Frameworks & Servers

About speaker

Like us on Facebook

We post news, photos and other interesting facts on official JavaCro Facebook Page.

Follow us on Twitter

Keep up to date with all the news on Twitter!

Organizers

The conference is organized by the Croatian Association of Oracle users & Croatian Java Users Association. 

Media Sponsors