r/javahelp • • Jul 03 '26

Bombed my Java interview today. How should I prepare better?

78 Upvotes

I have 2 years of experience as a Java backend developer and had a 30-minute interview today.

The interviewer focused mainly on Core Java (OOP, String immutability, String Pool, etc.), and I realized my fundamentals aren't as strong as they should be. I mean I had read about it but I forgot to speak under pressure.

I also need to prepare backend topics like Spring Boot, Multithreading, Kafka, Docker, Kubernetes, Redis, Linux, and SQL for upcoming interviews.

If you were in my position, how would you structure your preparation? Core Java first, or prepare everything in parallel? Any roadmap or resources would be appreciated.


r/javahelp • • Jul 19 '26

Should I use Gradle or Maven in 2026?

49 Upvotes

There are a lot of answers but everything I found is from 2021-ish times. Things I got from there is "Maven is slower, more verbose and for that reason - way more stable." and "Gradle is faster because of the daemon and more customizable, but hot garbage when it comes to update, shit breaks and build.gradle(.kts) is spaghetti in big projects". For Maven, I don't think much changed because of their philosophy (and I'd say that's good), but what about Gradle? Is it still that bad when it comes to updates and deprecations?


r/javahelp • • Feb 20 '26

How to get better at Java?

48 Upvotes

I have been working as a software dev for 5 years now and have predominantly worked with Java but I feel like I haven’t really become an expert in this and still find myself making mistakes from a best practice perspective and wouldn’t consider myself at a senior level yet technically. Is there anything I can do in my own time to improve my professional Java practice? I am not sure what the best way is, I can read books but I am not sure if that’s the most effective way to do so?


r/javahelp • • May 22 '26

Deep Java Learning Guide

30 Upvotes

I want to become a strong backend engineer and I’m planning to learn Java deeply along with Spring Boot and Microservices architecture.

There are so many courses and playlists online that I’m confused about what’s actually worth following seriously for long-term growth.

I’m looking for recommendations for:

Core Java

Advanced Java

Spring Boot

Microservices

MySQL/Database design

Backend engineering fundamentals

Industry-level project building

I don’t just want tutorial-level knowledge. I want resources that help build strong engineering fundamentals and real-world backend skills.

Would love recommendations for:

Best YouTube channels

Paid courses

Books

Roadmaps

Any underrated resources

Also, should I focus more on:

Java + Spring ecosystem deeply or

Full-stack development with many technologies?

Would appreciate guidance from experienced backend engineers.


r/javahelp • • Feb 06 '26

Is learning Spring Boot still a safe bet for 2026 placements?

29 Upvotes

I am a B.Tech student with only one semester remaining before I begin my placement season.I am currently focusing on backend development with Spring Boot because I'm good in java. My primary interests are cloud computing and microservices.

Recently, I've seen many of my peers moving toward the MERN stack, and I've also heard a lot about Go (Golang). This has made me a bit nervous. Is Spring Boot still relevant for modern projects in 2026, or should I consider switching to Go or MERN?

I prefer backend work and use AI tools to handle the frontend parts of my projects so I can showcase my backend skills. I would love to hear from industry professionals about the current demand for Spring Boot in the microservices and cloud-native space.


r/javahelp • • Feb 16 '26

Homework Definitely no pass by reference in Java, right?

27 Upvotes

Hello, and sorry if this is a dumb question, but I thought I had a passable understanding of Java. I got an exam question asking "Arrays in Java are:

a. passed by value

b. passed by reference

c. stack dynamic

d. immutable"

this guy loves trick questions, but he has listed B, passed by reference, as the right answer.

On its own, this doesn't seem right to me, but I'm not confident enough to argue about it. If anyone would weigh in, I would be very grateful. I see how it's similar to passing a pointer in C, maybe, but it's not considered passing by reference in Java, right?

Thank you!


r/javahelp • • Feb 07 '26

My Java teacher doesn’t understand Java — how do I actually learn this?

27 Upvotes

Hello guys, I wanna learn java, but don’t know where to start/continue.

I know this is a question where may have been asked more than thousands of times in this page.

I am a high school senior, and I am taking java course at my high school. But my teacher never taught and understand java.

Edit: If my teacher don’t understand/teach java, a lot of my questions remains unanswered, and the class deadlines are tight.

I learned till conditional statements if/else if, and some basic knowledge of loops, but after that I lost my track when we got to methods.

I tried different courses to learn java, but the curriculum is confusing. My school curriculum is to teach you on a web based compiler like Programiz. And the courses I tried to learn is based on IDE’s, this makes my confused and lost like where exactly to start.

I have been doing Codytech. However, I think most of the topics are basic and feel repetitive.

I believe we have experts and masters of java here in this group, but, I need guidance. I would appreciate if anyone guide me through different in effective ways to learn.

Thanks in advance!


r/javahelp • • Jan 06 '26

Best way to learn multi-threading in Java?

25 Upvotes

I just started learning Java and aiming to catch up to senior level.

I saw that there are 5-6 ways to do multi-threading (Executor, Virtual threads, CallableFuture etc.)

Is a multi-threading technique picked based on use case, or they are iterations throughout Java versions

And what can I do to practice them? Which one should I use in interviews?


r/javahelp • • Dec 22 '25

Which IDE do you prefer for Java code NetBeans or IntelliJ?

24 Upvotes

from your experiences which one is most comfortable to use?


r/javahelp • • Jan 27 '26

I suck at java and it drives me nuts

23 Upvotes

Right I hope someone has had issues to the same degree as me because ultimately I feel like an idiot and want to believe that is just a 'learning curve' type thing; I apologise if I sound like an idiot since my java knowledge isn't great.

I'm learning CS at my uni and am a first year and we do Java; being introduced to OOP feels like hell and I feel like im over complicating something since I refuse to believe what im thinking about is so difficult to comprehend. Point is, the whole idea of constructors as a whole is gobbledygook to me; the idea of their being private/public fields, making new objects that start with the name of the constructor. Why we have constructors and why not just write everything in 1 file if possible; and even like parameters and how do they work for constructors. I watch videos; it somewhat makes sense, trying to apply that afterwards makes me feel like an idiot. And I refuse to use any form of AI, I know if I start I won't stop and coders somehow managed before AI was a thing back in the day so it's not like I can't. Could anyone help; has anyone dealt with something like this?


r/javahelp • • Dec 16 '25

Do people refer to JPA/Hibernate/Spring Data as the same thing?

23 Upvotes

I understand that JPA are the rules, Hibernate generate the SQL, and Spring Data (Spring Data JPA) generate the automatic methods like 'findById'

But do they generally mean the same thing? Like if someone says 'Do you use JPA?' is it the same as saying 'Do you use Hibernate?' or 'Do you use Spring Data?'


r/javahelp • • Dec 03 '25

What’s the difference between record and class in Java?

22 Upvotes

i was watching a video about SpringBoot 4.0.0 which is the new version , and in the video he used record Student instead of class Student , which is the first time i saw this type of class (been working with Java (mostly 11) for like 4 years and Spring for 2 years), and it confused me a bit

From what I understood :

record was introduced as a preview in Java 14 and became stable in the version 16

its basicly a shorthand simple of a class like a DTOs ?

it automatically generate the constructor ,getters ,setters ,toString() ,equals() and hashcode()

its also immutable by default since all fields are final but why not use just abstract class then ?

you cant use records as entities in JPA because those need mutable fields

so my question is when is it like clear to use them ? and do i use records for DTOs instead of regular classes


r/javahelp • • Apr 25 '26

Java learning curve steep

21 Upvotes

Why the heck there is so much to learn in java i mean java basic, exception handling, collections framework, multi threading , JDBC , servlets only then i can turn to spring and spring boot...can somebody tell me if i can skip any of these topics.....i keep forgetting previous concepts 😭😭😭... it's so tough...help me 😭😭


r/javahelp • • 11d ago

Advice for building a desktop application with Java

20 Upvotes

Hey everyone,

As a hobby project, I want to build a beer/cider/mead/wine brewing application and I want to use Java for it, at least for the backend. I work as a software developer but I've mostly stayed in the web dev niche so far and it's the first time I venture out. I do want to stick to java because:

\- The app has no need for crazy fast performance

\- I'm comfortable writing it and don't want to branch out quite yet.

\- I want it to be cross-platform and portable enough.

However, I'm doubtful about a couple aspects, and I'd love to hear your advice.

  1. Do I need Spring Boot for this kind of project? The app might need to handle some http requests for updates, but for the rest it's all supposed to be local. I'm still quite ignorant on what constitutes a backend on desktop.
  2. Which path to choose for the frontend? I use Angular for work but for one thing, I don't like TS, but I also just wonder whether a java stack might not just be simpler to package/more performant for desktop. Visually I'm thinking I want it to be fun looking, with a medieval style GUI or such, some effects but nothing crazy. Given this level of customization, would something like JavaFX suffice, or would another frontend framework be better suited for it?

Thanks everyone for your time!


r/javahelp • • Aug 07 '26

New JDK 28 EA build is available! (Vahalla now)

20 Upvotes

Value Classes, Strict Field Init… everything is finally in. Time to play with the future of Java.

https://jdk.java.net/28/release-notes


r/javahelp • • 18d ago

How do developers study Java src code ?

19 Upvotes

Hey everyone,

I’m currently learning Java to build projects and grind Data Structures & Algorithms (DSA), but I am hitting a massive wall with how the code is structured.

Today, I was trying to implement a simple ServerSocket. To understand what was happening, I instinctively Ctrl+Clicked on it. The IDE immediately unzipped the internal source code and dragged me down a never-ending rabbit hole: from ServerSocket, to SocketImpl, all the way into NioSocketImpl and hidden factory classes.

It throws hundreds of lines of complex internal implementation code at me. It is incredibly time-consuming, frustrating, and completely breaks my momentum. I feel like I'm getting sucked into a black hole of code that I didn't even write, and if I keep this up, I am going to get stuck and fail to actually build anything.

I need a serious reality check and some practical advice:

  1. How do developers actually read and reason about Java without constantly opening up the internal source files?
  2. What is the fastest, cleanest way to look up how to use a class/method without getting bogged down by its underlying implementation code?
  3. How do I force myself to treat things like ServerSocket as "black boxes" so I can just focus on building my app and solving DSA patterns?

Any strategies to help me break this habit and speed up my learning would be deeply appreciated. Thank you!


r/javahelp • • Oct 26 '26

Workaround Learn Java in 2026

19 Upvotes

Hey I am a computer science graduate.... From a tier 3 college (2023 graduate) I have learnt core java but I don't know how to proceed ahead? What should be my next step.... I am working in Non it from past 2 years.... I do learn algos and stuff... I understand and write basic code... I am admiring to be a good software engineer.... It love building apps..... I do not have much knowledge on React/Angular Java is my thing. I want to learn and switch my domain..... Please give me a roadmap or career suggestions and from where I can learn...... I have studied Head First java and learnt whatever knowledge I have now...... I know this is not enough.... !! Also suggest what technology should i master along with Java.... so that I can get a good job..... ! Any input will be helpful... Thanks


r/javahelp • • Aug 16 '26

i want to start java spring boot from 0

18 Upvotes

best resources to learn java from the very basics till java spring boot advanced any book or any yt video would help! please recommend one


r/javahelp • • Feb 04 '26

Looking for a Java coding partner to learn and practice daily

18 Upvotes

Hey, I’m a 3rd-year CS student currently learning Java through Telusko tutorials and official docs. I’m looking for a coding partner who’s also learning Java and wants to practice daily to stay consistent. We can solve problems together, discuss concepts, and keep each other accountable. If you’re serious about improving and coding regularly, feel free to DM.


r/javahelp • • Jul 18 '26

Can anyone explain me difference between Encapsulation and Abstraction?

17 Upvotes

and what on earth is Interface in Java?


r/javahelp • • Mar 14 '26 Bravo

What is JVM

17 Upvotes

I tried googling about JVM and VM in general. But I cant wrap my head around what VM is and what JVM is. Can you explain what they are in simple terms, so I can get a general idea?


r/javahelp • • Oct 24 '26

How to practise JVM thread profiling?

16 Upvotes

Hi

As the title states, I want to learn and practise profiling of JVM threads and its memory impact from garbage collection to identify bottlenecks.

I know this is a hard expectation to practise but my projects are not at a scale where we come across this problem to be solved.

Any advice on how I can simulate this requirement and get hands on practise on this topic?


r/javahelp • • Sep 18 '26

JVM Object immutability

16 Upvotes

I'm trying to better understand what immutability actually means from the JVM/JIT point of view,.

We often say that immutable objects are easier for the JVM to optimize, but I'm interested in what HotSpot can actually detect, prove, and exploit at runtime.

A few questions:

  • How does the JVM determine that a field, value, or object is effectively immutable or stable?
  • What optimizations does HotSpot actually enable when it has this information?
  • Conversely, what optimizations become impossible or harder when an object remains mutable?

I looked through some HotSpot code and didn't find much explicit handling of immutable objects for constant folding, apart from specific cases such as trusted/final fields some whitelisted JDK classes, and records.

I'm also curious about the practical trade-off:

How do you balance a low-allocation design based on reusable mutable objects, which reduces GC pressure, against a more immutable design, which may give the JIT more optimization opportunities but can increase allocation and GC pressure when you have a use case of mutable object ?


r/javahelp • • Aug 05 '26

Java Backend Roadmap

16 Upvotes

I'm currently in my 4th year of college. I already know Java and have a decent understanding of DSA.

Now I want to focus completely on Java backend development, but I'm getting confused because every roadmap says something different.

Some people say I should learn:

  • JDBC
  • Servlets
  • JSP
  • Hibernate

Others say: "Don't waste time on those. Just learn Spring Boot."

So I'm not sure what's actually expected in 2026 if I want to become a Java backend developer and prepare for internships or full-time roles.

Can someone working in the industry suggest a proper learning order? Specifically:

  • What should I learn first?
  • Which technologies are still important to know?
  • Which ones can I skip or only learn the basics of?
  • How deep should I go into JDBC, Servlets, Hibernate, and Spring?
  • If you were starting today with my background, what roadmap would you follow?

I'm looking for a practical roadmap that's relevant for getting a backend job, not just a list of technologies.

Thanks in advance!

should learn this https://www.youtube.com/watch?v=q6z_UCBM5Ek&t=99716s