Licensed under the MIT License. See file LICENSE.
Collection of Java development examples. Examples include code written in Java and Groovy.
The examples assume, that you have a JDK installed. You might want to have a look at Microsoft Visual Studio Code Remote Development to create a platform independent development environment.
On Ubuntu, install default JDK with sudo apt install default-jdk
. Or install specific JDK with, for example apt-get install openjdk-11-jdk
.
- JDK 17 (LTS, see Java SE 17 (JSR 392) Final Release Specification)
- JEP 406 Pattern Matching for switch (Preview)
- JEP 306 Restore Always-Strict Floating-Point Semantics
- JEP 409 Sealed Classes
- JDK 14 (see Java SE 14 (JSR 389) Final Release Specification)
- JEP 305 Pattern Matching for instanceof (Preview)
- JEP 359 Records (Preview)
- JEP 361 Switch Expressions (Standard)
- JEP 368 Text Blocks (Second Preview)
- JDK 11 (LTS, see Java SE 11 (JSR 384) Final Release Specification)
- JEP 323 Local-Variable Syntax for Lambda Parameters
- JDK 10 (see Java SE 10 (JSR 383) Final Release Specification)
- JEP 286 Local-Variable Type Inference (reserved type name "var")
- JDK 9 (see Java SE 9 (JSR 379) Final Release Specification)
- JEP 261 Module System
- General
- Cucumber Docs
- DevStyle - Genuitec
- EclEmma - Java Code Coverage for Eclipse
- Jackson the Java JSON library
- Java BluePrints: Guidelines, patterns, and code for end-to-end applications
- Java Technology Reference
- JAX-RS Example
- jsonschema2pojo
- Project Lombok
- Secure Coding Guidelines for Java SE
- Servlets Example
- Simple Logging Facade for Java (SLF4J)
- Spring Boot Example
- The Java Tutorials
- Testing
- Awaitility - a small Java DSL for synchronizing asynchronous operations
- Hamcrest
- jqwik a property-based testing engine for the JUnit 5 platform
- JUnit
- Mockito framework site
- Testcontainers for Java
- TestNG
- WireMock
- Static Code Analysis
- Checkstyle
- JSpecify - Standard Annotations for Java Static Analysis
- SonarLint
- SpotBugs
- Apache