"Write once, run anywhere." Three decades on, Java still powers more bank vaults, airline reservations, and Android phones than any other language.
← Back to Server Sidejavac compiles .java to .class bytecode that any JVM runs.malloc/free; pause times are tunable.public class Hello { public static void main(String[] args) { System.out.println("Hello, world!"); } } // A small domain class with modern Java features public record Customer(String name, int age) { public boolean isAdult() { return age >= 18; } } List<Customer> adults = customers.stream() .filter(Customer::isAdult) .toList();
Java compiles to portable bytecode that the JVM executes. The JVM does just-in-time compilation — hot code is converted to optimized native machine code at runtime. Other languages (Kotlin, Scala, Clojure, Groovy) ride on the JVM too.
Java has had Thread, executor pools, and java.util.concurrent for decades. Java 21 added virtual threads — millions of lightweight threads on top of a small pool of OS threads, hugely simplifying concurrent server code.
Type-safe containers like List<Customer>, Map<String, Integer>. The Streams API (Java 8+) gives functional-style pipelines on collections.
switch and instanceof.| Category | Tools |
|---|---|
| Build | Maven, Gradle |
| IDE | IntelliJ IDEA, Eclipse, VS Code, NetBeans |
| Test | JUnit 5, TestNG, Mockito, AssertJ |
| Web frameworks | Spring Boot, Quarkus, Micronaut, Helidon, Jakarta EE |
| Persistence | JPA / Hibernate, jOOQ, MyBatis |
| Reactive | Project Reactor, RxJava |
Core banking, trading, settlement, fraud detection.
SaaS, ERP, supply chain — Spring Boot is everywhere.
Android originally Java; Kotlin is now preferred but interoperates.
Hadoop, Spark, Kafka, Elasticsearch — all JVM under the hood.