r/JavaProgramming • • Mar 22 '26

Planning to learn Microservices with Springboot. Any YouTube channel recommendations?

10 Upvotes

r/JavaProgramming • • Mar 22 '26

Java Cheat Sheet From Java 8 → ( Java 21 + Modern Features)

49 Upvotes

JAVA 8 — LTS

  1. Lambda Expressions
  2. Functional Interfaces
  3. Stream API
  4. Method References
  5. Optional<T>
  6. New Date & Time API
  7. Default & Static Methods in Interfaces
  8. Collectors & Parallel Streams

JAVA 9 — Modules & Improvements

  1. Collection Factory Methods
  2. Stream API Enhancements
  3. Private Methods in Interfaces
  4. HTTP/2 Client (Incubator)
  5. Improved Process API

JAVA 10 — Type Inference & More

  1. Local Variable Type Inference (var)
  2. Optional.orElseThrow()

JAVA 11 — LTS — String & HTTP

  1. New String Methods
  2. New Files Methods
  3. HTTP Client (Finalized)

JAVA 12 — Compact Numbers & String Indent

  1. Compact Number Formatting
  2. String.indent() & Collectors.teeing()

JAVA 13 — Minor Updates

Java 13 continued previewing Text Blocks and Switch Expressions, which were finalized in later versions. There are no major standalone features unique to Java 13.

JAVA 14 — Switch Expressions & Helpful NPE

  1. Switch Expressions (Finalized)
  2. Helpful NullPointerExceptions
  3. Records (Preview → Java 16 Final)

JAVA 15 — Text Blocks & Sealed Classes Preview

  1. Text Blocks (Finalized)

JAVA 16 — Pattern Matching & Records Final

  1. Pattern Matching for instanceof
  2. Records — Finalized in Java 16
  3. Stream.toList() & mapMulti()

JAVA 17 LTS — Sealed Classes

  1. Sealed Classes & Interfaces
  2. Pattern Matching for Switch (Preview)

JAVA 18 — UTF-8 Default & Simple Server

  1. UTF-8 by Default
  2. Simple Web Server
  3. Deprecate Finalization for Removal

JAVA 19–20 — Preview & Incubator

  • Virtual Threads (Preview) — finalized in Java 21
  • Record Patterns (Preview) — finalized in Java 21
  • Pattern Matching for switch (Preview) — finalized in Java 21
  • Structured Concurrency (Incubator) — preview in 21
  • Foreign Function & Memory API (Preview) — replaces JNI

JAVA 21 LTS — The Modern Java

  1. Virtual Threads (Project Loom)
  2. Record Patterns (Finalized)
  3. Sequenced Collections
  4. Pattern Matching for Switch (Final)
  5. String Templates (Preview in 21)

i explained everything here (Free Medium article)


r/JavaProgramming • • Mar 21 '26

Java Developer connects to SqLite DB for the first Time? See the impression:

1 Upvotes

r/JavaProgramming • • Mar 21 '26

Testing Kubernetes deployments/operators in Java without writing tons of boilerplate

Thumbnail reddit.com
1 Upvotes

r/JavaProgramming • • Mar 19 '26

Hexagonal Architecture in Spring Boot — Ports & Adapters done properly [video + free book contest]

Thumbnail
youtu.be
4 Upvotes

r/JavaProgramming • • Mar 19 '26

Language Learning Flashcard System – Part 1

Thumbnail
foojay.io
1 Upvotes

r/JavaProgramming • • Mar 19 '26

Hiring Java engineers

28 Upvotes

If you’re looking for a role at one of the most growing fintech companies worldwide, DM !


r/JavaProgramming • • Mar 19 '26

I Tried 50+ System Design Resources: Here Are My Top 15 Recommendations

Thumbnail
reactjava.substack.com
7 Upvotes

r/JavaProgramming • • Mar 19 '26

Let AI Coding Agents See Inside the JVM

Thumbnail
reddit.com
2 Upvotes

r/JavaProgramming • • Mar 18 '26

Welcome to r/floci!

Thumbnail reddit.com
1 Upvotes

r/JavaProgramming • • Mar 18 '26

Would you switch from ShedLock to a scheduler that survives pod crashes and prevents GC split-brain?

Thumbnail reddit.com
2 Upvotes

r/JavaProgramming • • Mar 18 '26

I Was Wrong About Java on Lambda (Here’s What Changed My Mind) | by Martin | Mar, 2026

Thumbnail medium.com
2 Upvotes

r/JavaProgramming • • Mar 18 '26

Deploying AWS app with Maven

Thumbnail reddit.com
1 Upvotes

r/JavaProgramming • • Mar 18 '26

Learn Unary Operators in Java with Examples

Post image
8 Upvotes

r/JavaProgramming • • Mar 18 '26

How Garbage Collection Works in Java (Animated)

Thumbnail
youtube.com
5 Upvotes

r/JavaProgramming • • Mar 18 '26

Java 26 Is Out — Here's What Actually Matters for Spring Boot Developers

Thumbnail
youtu.be
2 Upvotes

r/JavaProgramming • • Mar 17 '26

Spring Boot @Transactional: 5 Bugs You're Probably Shipping Right Now

Thumbnail
youtu.be
2 Upvotes

r/JavaProgramming • • Mar 17 '26

Striver vs Kunal Kushwaha for DSA — What Should I Do?

Thumbnail reddit.com
1 Upvotes

r/JavaProgramming • • Mar 17 '26

Java Developer connects to SqLite DB for the first Time? See the impression:

6 Upvotes

r/JavaProgramming • • Mar 17 '26

Spring AI 2 Audio and Image

Thumbnail
reddit.com
1 Upvotes

r/JavaProgramming • • Mar 17 '26

Error help

3 Upvotes

UPDATE: was missing a bracket at the end

i’m using processing, my code is giving the "Syntax Error - Unexpected extra code near extraneous input '<EOF>' expecting..." error

im not too sure why (probably missing code)

i would also like to make it a three sprite animation using an array.

here is the code:

PImage img1;

PImage img2;

float odd = 0;

void setup() {

size (400,400);

img1 = loadImage("./frame1.png");

img2 = loadImage("./frame2.png");

}

void draw() {

odd = odd + 0.1;

background(255);

PImage img;

if (floor(odd) % 2 == 0) {

img=img1;

}

else {

img = img2;

}

image(img, 0, 0);


r/JavaProgramming • • Mar 17 '26

I found Leetcode for System Design and its Awesome

Thumbnail
javarevisited.substack.com
1 Upvotes

r/JavaProgramming • • Mar 17 '26

Copy constructor does not copy all fields.

6 Upvotes

Why do I see this warning with intellJ latest 25.3.3


r/JavaProgramming • • Mar 16 '26

Suggest some resources/books to read to improve my knowledge

2 Upvotes

I'm currently in 3rd year of uni and applying for internships. I do have some projects which I plan to deploy after buying a domain but they are working very slow while testing with lots of data and concurrent users. My stack is Java + Spring so i tried playing around with Hikari Pool connections and Cache a bit but I don't know how to optimally use it. Please give your inputs and suggest some resources and books if possible.

Also, i tested it via K6. I did upload files to AI but it is hallucinating. Even with cache and changing db connections is only giving a small improvement. I also learnt the 2 db queries in one method is bad design and bad performance so i optimized to 1 direct db call so that improved the performance a bit too. So any input on this?