r/JavaProgramming • u/Alternative_Ad_8288 • 25m ago
r/JavaProgramming • u/javinpaul • 4h ago
Stop Memorizing Microservices ā Master These 19+ Patterns for Any System Design Interview
r/JavaProgramming • u/Ksreddy2707 • 6h ago
[Study Partner] Beginner learning Java backend, open to people from any country
reddit.comr/JavaProgramming • u/vegan_antitheist • 9h ago
Valhalla: On the use of == on value types
humanoid-readable.claude-martin.chJava 28 has a preview on value types, so I tested it. In this blog post I answer the question:
Can we use == on the new value types, or do we still have to use Objects.equals()?
(No ads, written by a human.)
Tldr: use Objects.equal instead of == even with value types.
r/JavaProgramming • u/XIA_Biologicals_WVSU • 16h ago
A cool little program (thinking about what to do with it next and how to add stuff to it).
This is a cool little program I made using some for loops and other stuff. The idea is mine: I built it from the first two for loops and then used chatGPt for other ideas. Most of the code is original and only some ideas are from chatGPT. I thinking using AI has helped my learn faster, rather than learning from documentation alone.
import java.util.Scanner;
import java.util.ArrayList;
void main(String[] args) {
System.
out
.print("Enter a sentence: ");
Scanner scanner = new Scanner(System.
in
);
String i = scanner.nextLine();
String[] tokens = i.trim().split("\\s+");
ArrayList<String> list = new ArrayList<>();
for (int x = 0; x < tokens.length; x++) {
list.add(tokens[x]);
}
String[][] arraytwo = new String[list.size()][2];
int rows = 0;
// Check each word
for (int j = 0; j < list.size(); j++) {
String word = list.get(j);
boolean found = false;
// Check if word is already in the 2D array
for (int y = 0; y < rows; y++) {
if (word.equalsIgnoreCase(arraytwo[y][0])) {
found = true;
int occurrences = Integer.
parseInt
(arraytwo[y][1]);
occurrences++;
arraytwo[y][1] = String.
valueOf
(occurrences);
break;
}
}
// If word is not found, add it
if (!found) {
arraytwo[rows][0] = word;
arraytwo[rows][1] = "1";
rows++;
}
}
// Display results
for (int j = 0; j < rows; j++) {
System.
out
.println(
arraytwo[j][0] + " appears " +
arraytwo[j][1] + " times."
);
}
System.
out
.println("Total words: " + list.size());
scanner.close();
}
}r/JavaProgramming • u/prashxx • 1d ago
Anyone who is into enterprise Java backed projects?
Hey everyone,
I've been working as a PHP developer for a while and have been steadily building up my backend skills in the Java ecosystem (Java, Spring Boot 3, Microservices, Kafka, Redis, PostgreSQL, Docker, AKS, and Observability etc..).
To make the switch to a backend/Java role, I want to put a genuinely production-grade enterprise project on my resume-something that avoids "resume-driven" over-engineering and actually solves real business constraints
By understanding its architecture, which solves business problems, and practice follow up questions on them
If you are into real project who is currently working.
Can you please help me on this.
Thanks in advance
r/JavaProgramming • u/IllustratorIcy5691 • 1d ago
How learn Backend after mastering a programming language ?
reddit.comr/JavaProgramming • u/Fantastic-Tower8333 • 1d ago
Title: 2026 B.Tech Graduate ā Seeking Career Guidance to Become a Job-Ready Java Full Stack Developer Hi everyone! I'm a 2026 B.Tech graduate and have decided to pursue Java Full Stack Development as my career path. I'm currently learning Core Java and have completed topics up to Java Collections
Hi everyone!
I'm a 2026 B.Tech graduate and have decided to pursue Java Full Stack Development as my career path.
I'm currently learning Core Java and have completed topics up to Java Collections.
I would appreciate guidance from experienced developers, recruiters, and people who recently started their IT careers.
I have a few questions:
Which Java topics should I master before moving to Spring Boot?
How important are DSA and problem-solving skills for freshers?
Which technologies should I learn for Java Full Stack Development (Spring Boot, Hibernate, React, etc.)?
How important are SQL, Git, GitHub, REST APIs, and cloud knowledge?
What skills are companies primarily looking for in freshers in the current job market?
What kind of projects should I build to make my resume stand out?
My goal is to become job-ready and secure a Java Developer role as a fresher.
Experienced developers and recent graduates, please share your learning roadmaps, suggestions, and interview experiences.
Your guidance would be really helpful. Thank you!
r/JavaProgramming • u/__raikar • 1d ago
"A Beginner's Journey into Software Development"
Hello everyone!
I'm starting my journey into software development, currently learning Java Full Stack Development.
I'm interested in Java, OOP, Spring Boot, REST APIs, SQL, and building real-world applications.
As a beginner, I'm here to learn from experienced developers, explore different perspectives, and understand what working as a software engineer is really like.
I'd love to hear your advice:
- What skills should a beginner focus on?
- What mistakes should I avoid?
- What do you wish you had known when starting your software engineering career?
Looking forward to learning from this community! š
r/JavaProgramming • u/Ok-Leadership2968 • 1d ago
I'm looking for answers that are suitable for fresher interviews and easy to explain during technical rounds.
Hi everyone,
I'm currently preparing for Java Full Stack Developer interviews and was wondering if anyone has a collection of well-structured interview answers (not just questions) for topics like:
- Core Java
- OOPs
- Collections
- Exception Handling
- Multithreading
- JDBC
- Spring & Spring Boot
- Hibernate/JPA
- REST APIs
- SQL
- HTML, CSS, JavaScript
- React.js
- Maven
- Git
- Microservices
- HR/Self-introduction
I'm looking for answers that are suitable for fresher interviews and easy to explain during technical rounds.
If you have notes, PDFs, GitHub repositories, or any resources that helped you crack interviews, I'd really appreciate it if you could share them.
Thanks in advance!
r/JavaProgramming • u/vegan_antitheist • 1d ago
How will we annotate if a value type is (not) transitively identity-less and immutable?
reddit.comr/JavaProgramming • u/fykup • 2d ago
I rewrote Spring PetClinic without Spring Boot or Hibernate. 59% less RAM, but forms were harder.
I develop CoilBase, so this is my own experiment. I wanted to see how much of a conventional Spring application I could keep without the Spring Boot runtime, so I rewrote Spring PetClinic using CoilBase, Avaje Jex, Jdbi and JTE.
Replacing Hibernate with explicit SQL was relatively straightforward. Controllers, services, repositories and constructor wiring all stayed familiar.
The harder part was everything Spring MVC normally handles for you: form binding, validation, sessions, CSRF, flash messages, redirects and localization.
For example, invalid form submissions needed explicit handling to preserve user input and validation errors, including overriding the generated POST adapter's default HTTP 201 response with 200. Small details like that added up.
On a 1 vCPU, 1 GiB VM with PostgreSQL, the rewrite used 126 MiB of application RSS versus 304 MiB for the original (59% less). The complete uncompressed deployment was also 85% smaller.
Both ran on Java 25 HotSpot with the same heap settings. These are complete-stack results from a short workload, not isolated framework costs.
Implementation, tradeoffs and benchmark limitations:
https://pvrlabs.xyz/articles/coilbase-petclinic-rewrite.html
For anyone who's moved off Spring MVC, or considered it: which convenience would you miss most?
r/JavaProgramming • u/Ok-Leadership2968 • 2d ago
Hi everyone, I'm currently preparing for Java Full Stack Developer interviews and was wondering if anyone has a collection of well-structured interview answers (not just questions) for topics like: - Core Java - OOPs - Collections - Exception Handling - Multithreading - JDBC - Spring & Spring Boot
r/JavaProgramming • u/javinpaul • 2d ago
I Almost Gave Up on System Design. Then I Found These 12 Patterns.
r/JavaProgramming • u/javinpaul • 2d ago
10 Popular Code Review Practices That Are Actually Toxic
r/JavaProgramming • u/javinpaul • 3d ago
6 Udemy Courses That Will Help You Ace Coding Interviews in 2027
r/JavaProgramming • u/Legal_Bug007 • 3d ago
How do one start learning Spring Boot in 2026?
r/JavaProgramming • u/Resident_Tackle7507 • 3d ago
Al Eng prep in Python: Should I do DSA in Python or switch to Java for placements
Hey everyone,
Iām currently learning Python because my main goal is to get into AI Engineering. However, with campus placements coming up, I know I need to focus heavily on DSA and problem-solving to clear the coding rounds.
Iām stuck on one major decision and want some real-world advice from people who have been through placements:
⢠Option 1: Stick to Python for both DSA and AI Engineering so I only have to focus on one language.
⢠Option 2: Learn Java specifically for DSA (since many say it builds stronger fundamentals and is preferred in campus placements) while keeping Python strictly for AI/ML.
For those working in AI/ML or who recently sat for placements, is doing DSA in Python completely fine for online assessments and interviews? Or is learning Java for DSA actually worth the extra effort?
Would love to hear your honest thoughts and experiences