O'Reilly logo
live online training icon Live Online training

Java essentials: Start building your own Java applications

Programming

Ben Evans

Java is one of the most popular programming languages and remains in high demand among professionals. But there are still a number of misconceptions new users may have—that its type system provides a different view of object-oriented programming than JavaScript or Ruby or that you must use an IDE to get the most out of the language, for instance.

If you’re new to Java, join expert Ben Evans for an introduction to the language and ecosystem—from JVM fundamentals to the JDK and beyond. Over four information-packed hours, you’ll learn everything you need to start building your own applications.

What you'll learn-and how you can apply it

By the end of this live online course, you’ll understand:

  • Java’s approach to object-oriented programming
  • The fundamentals of Java’s type system
  • The basics of the Java virtual machine (JVM) and runtime environment

And you’ll be able to:

  • Work with some of the core classes of the Java Development Kit (JDK)
  • Write your own simple classes
  • Start building your own Java applications

This training course is for you because...

This course is for you because…

  • You’re a developer at an early stage of your career.
  • You work with the frontend and want a better understanding of backend tech.
  • You want to become a professional backend or full stack developer.

Prerequisites

Prerequisites:

Recommended follow-up:

About your instructor

  • Ben Evans is principal engineer and architect for JVM technologies at New Relic. Previously, Ben was a cofounder of the Java performance startup jClarity (acquired by Microsoft), chief architect for listed derivatives at Deutsche Bank, and senior developer at Morgan Stanley, where he was responsible for performance testing the systems used for Google’s IPO. He’s the author of Optimizing Java, the recently updated Java in a Nutshell, seventh edition, The Well-Grounded Java Developer, and Java: The Legend. He’s the Java and JVM track lead at InfoQ, a frequent contributor to Oracle's Java Magazine, and a regular speaker at conferences worldwide. Ben has been contributing to open source software for over 20 years. He was a cofounder of the Adopt-a-JSR and AdoptOpenJDK initiatives and served on the Java Community Process Executive Committee for six years.

Schedule

The timeframes are only estimates and may vary according to how the class is progressing

Java basics (55 minutes)

  • Lecture: Values, variables, and simple methods in JShell; basic string handling and math functions
  • Hands-on exercises: Write simple functions in JShell; work with strings in JShell; flow control
  • Q&A

Break (5 minutes)

Introduction to object oriented in Java (55 minutes)

  • Lecture: Classes, objects, and references (including null, NPE) in Java; wrapper types and arrays
  • Hands-on exercises: Write simple classes in JShell; classes and arrays
  • Q&A

Break (5 minutes)

The JVM and tooling (55 minutes)

  • Lecture: IntelliJ IDEA; the JVM and Java code lifecycle
  • Hands-on exercises: Complete your first IntelliJ project; explore command-line tools
  • Q&A

Break (5 minutes)

Java types and collections (50 minutes)

  • Lecture: Inheritance, interfaces, and access control; Java collections
  • Hands-on exercises: Work with inheritance hierarchies; work with collections

Wrap-up and Q&A (10 minutes)