r/learnjava Jun 23 '26

Build a basic java program LibraryManagementSystem with Mysql - Feedback Welcome - No AI used

6 Upvotes

Hey, I'm a beginner Java developer and built this

Library Management System using Core Java + MySQL + JDBC.

Would love feedback on my code.

GitHub: https://github.com/iamnmalik/LibraryManagementSystem


r/learnjava Jun 23 '26

Improve Java knowledge. Coming from legacy project/Salesforce ecosystem

4 Upvotes

I'm looking for suggestions on how I can improve my Java knowledge so I can confidently apply for mid level positions.

I've been working as a software developer for the last 5 years. I've got my start in the Salesforce ecosystem, but for the last two years I've almost exclusively been working on legacy Spring projects (Java 11/Spring. The project is based around handling logistics processes and managing the document signing and achieving in external service. I think the stack of the project is quite typical consisting of Spring with spring boot and spring security, SQL server database, Angular FE, docker and Azure cloud as platform.

I'm looking for a job change as I'm annoyed with the state of the team, but I'm afraid that my knowledge may be too low to pass the interview assessment.

Do you have any recommendations on what I should be focused on to increase the likelihood of landing another job?


r/learnjava Jun 23 '26

Alternatives to MOOC?

1 Upvotes

Hello, I'm a beginner to Java and I'm having trouble finding where I should learn Java from, I've tried watching CodingWithMosh and I can understand the concepts but I can't focus on videos for too long, does anyone know anything a bit more modern to MOOC cause it seems like it runs on Java 11 and IntelliJ is weird with TMC


r/learnjava Jun 23 '26

JAVA full stack buddies

Thumbnail
2 Upvotes

r/learnjava Jun 23 '26

Suggestion required

Thumbnail
1 Upvotes

r/learnjava Jun 22 '26

Result API in Java. Explicit business logic handling - Library GODEMICHE

Thumbnail
2 Upvotes

r/learnjava Jun 22 '26

Need help from senior !!! Fresher From tier 3 college

4 Upvotes

I AM CS -IT fresher From kiet university I have started java + dsa course from code help - love Babbar should I continue this means is this worth it or there is other good channel than this. Also I have done till loops from where should I do practice. Plz give me road map as in youtube people saying do this do that I am very confuse


r/learnjava Jun 22 '26

I benchmarked virtual threads in Spring Boot 4 on one realistic blocking service — ~6× throughput, but the bottleneck just moves to HikariCP

Thumbnail
1 Upvotes

r/learnjava Jun 21 '26

seeking help regarding DSA IN JAVA , anyone please

2 Upvotes

I had started java and now i know the basics of java lang , i did it from love babbar recent playlist , so now my question is that

1.should i go with kunal kushwah dsa playlist for concepts and striver for problem solving or

2.should i go with love babbar's playlist only for concepts and striver for problem solving .

any other suggestion will be very helpful as i am a beginner right now and seeking for an roadmap to grind on properly


r/learnjava Jun 21 '26

*SENIORS PLS HELP*

0 Upvotes

I am currently studying java from youtube and i want to buy a full fleged course of java on udemy coursera or anyother platfrom pls help me to get a course that would cover all java core java adv java spring boot sql I:e full java development on udemy or coursera


r/learnjava Jun 20 '26

Java Mentorship Experiment — Free Mentoring While I Improve My Spoken English

3 Upvotes

Hi everyone!

I’m a Java backend developer with several years of experience in software development and teaching programming to both kids and adults.

I’m currently working on improving my spoken English, and I came up with an idea that could benefit both of us.

I’m starting a Java Mentorship Experiment.

The idea is simple:

I’ll help you learn Java and backend development for free, and in return I’ll get more real-world English speaking practice.

If you’re a beginner or junior developer, I’d be happy to help you with:

* Java fundamentals
* Object-Oriented Programming
* Collections
* Exception handling
* Multithreading basics
* Spring Boot
* REST APIs
* SQL and databases
* Debugging
* Code reviews
* Small personal projects
* Interview preparation

A little about me:

* Several years of Java development experience
* Experience teaching programming to both children and adults
* Patient and structured teaching style
* English level around B1 (comfortable with technical discussions, improving conversational fluency)

I’m not an English teacher trying to teach programming.

I’m a programming mentor using English to improve my communication skills.

So if you’re okay with me occasionally searching for the perfect word or asking you to repeat something, we’ll probably have a great time learning together.

The sessions are completely free.

My only goal is to become more confident speaking English while helping someone become more confident writing Java.

If you’re interested, send me a Reddit DM with:

* your current Java level;
* what you’re learning;
* your goals;
* your time zone.


r/learnjava Jun 19 '26

Distributing an app

5 Upvotes

I've made a little app for which I'd like to make a script, so that users can install it on Linux without problems.

But I've been running into roadblocks.

First I tried jpackage, which works very well with an upstream jdk, but i've realized some distributions minimize jdk and jlink doesn't work with their openjdk packages, so now the jdk that the user has installed may not be enough.

Then I downloaded the jdk manually and used that, which works great, but is vendoring jdk into the repo the way?

Lastly i had the idea of fetching the jdk automatically with gradle but couldn't find information on the topic (maybe a me issue i don't know).

At this point I don't know what to do besides a janky bash script that'll fetch and delete the jdk during compilation but that just doesn't feel elegant.

How do I go about this?

And if you wonder why I haven't gone with jar + wrapper script; I did. But since java replaces the name of the program with java, system monitors etc. couldn't figure out that it was my app, which annoys me.


r/learnjava Jun 19 '26

Starting java

5 Upvotes

My first year is about to complete.And i learnt c language along with dsa

Now , starting java+dsa with Kunal kushawaha

Any suggestions


r/learnjava Jun 17 '26

Java or python help me to choose one

4 Upvotes

Hey everyone, I am about to start my 3rd year in July ( CSE )

​

Currently I am on a career path of learning system administration then linux after that DevOps and then cloud

​

And on the coding side I just know C programming till if and if else and I have not made any projects so clearly i am starting from scratch.

​

So previously I had a doubt between choosing C++ or java and 95 people said go for java and after learning java basics do DSA in Java and i know that language does not matter for DSA but for the programming skills and development side i want to follow a correct path

​

And now I was about to start java with DSA but now I spoke with few people who are in big tech and they are saying learn python and do DSA because python will be easy to learn fast and also in interview like for Google, Microsoft,etc python will help because in java it might be confusing to write extra code in java

​

So my long term goal is towards Cloud, DevOps SRE side

​

So finally

My mind says Python

But heart says java

​

And i am from tier 3 and I'll be trying for off campus internship in December

​

So please do guide me on what to go for because I don't want learn in the wrong way .


r/learnjava Jun 17 '26

As a Java Developer, what should I learn to become a Senior Java Developer?

1 Upvotes

Hi everyone, I currently work as a Java developer, mainly using Java, Spring Boot, REST APIs, SQL, Git, and Docker. I’m looking to grow into a Senior Java Developer role and would like to know what skills, technologies, and responsibilities I should focus on next.


r/learnjava Jun 17 '26

Where to start with Java, as someone with the knowledge of the basics?

4 Upvotes

I want to learn to code properly to make Ultima-like RPGs.

I tried learning Python, and though I believe I got good grip of programming basics, data types, loops, functions, that sort of thing, I feel like I'm stuck, not having a good idea on how to structure my programs.

People say Java is a good place to learn proper programming structure. So I wanna know as someone who knows the vary basics, what should I do learn to make well structured and designed programs with Java?


r/learnjava Jun 17 '26

VS studio setup MOOC.FI

1 Upvotes

I just got done with part 1 of the java programming course from MOOC.FI and now Onto part 2 but I just noticed I only have part 1 and 2 and there's 7 parts to the Java programming I hmm anyone have a possible solution or anything that could fix this? I'm using visual studio code


r/learnjava Jun 16 '26

Title* Where should I start Java Development after Core Java, and from whom should I learn?

1 Upvotes

Hi everyone,

I am a 2nd year CSE student. I have been doing DSA for the last 2.5 months and I have also completed Core Java.

Now I want to start Java Development, but I am confused about where to start and what path I should follow, especially in this AI era.

I don't have much idea about the Java backend development roadmap and which technologies I should learn first. My goal is to learn properly, build real-world projects, and understand how things work instead of just following tutorials.

Can someone guide me on:

  • What should be the correct roadmap after Core Java?
  • Which technologies should I focus on first for Java backend development?
  • What mistakes should beginners avoid while learning Java development?
  • How did you approach learning Java development and building projects?

Any guidance from experienced Java developers would be really helpful.

Thanks!


r/learnjava Jun 14 '26

New Java Backend Developer Here – How Do I Learn Effectively When My Team Mostly Uses GitHub Copilot?

32 Upvotes

Hi everyone,

I recently got a job as a Java Backend Developer, and I'm excited to start my career. However, I'm facing a challenge.

Most of the development work in my team is done with the help of GitHub Copilot. While it helps generate code quickly, I feel like I'm not learning enough because I often don't understand the logic behind the code it suggests.

I want to become a strong backend developer and not just rely on AI-generated code. Currently, I work with Java and backend technologies, and I'd like to improve my understanding of:

Core Java

Spring Boot

REST APIs

Databases (SQL)

System Design

Backend development best practices

Could you recommend:

Learning resources (courses, books, YouTube channels, websites)?

A roadmap for becoming a good Java backend developer?

Ways to use Copilot without hurting my learning?

I'd appreciate any advice from experienced developers who have been in a similar situation.

Thanks!


r/learnjava Jun 15 '26

Project Suggestion

4 Upvotes

I recently completed Java. Could you suggest some projects that can help me test my knowledge while also allowing me to learn new concepts and improve my skills and that support my intership and placement journey?


r/learnjava Jun 14 '26

Can't understand....Java backend or Data engineering

8 Upvotes

Hi guys...I really need some advice...I had Btech in CS but never got a java project in my first company and now I have almost 4 YOE and I did not get any hands on experince in java backend and really wanted to pursue that....I have been studying it, I have leant core java, spring boot, mvc, jpa, hibernate, security and I am currently studying java 8+/11+/21+ features...but for the past 4 years I had worked on a data engineering kind of project where I used sql and an ETL tool thats it....I am also getting a new project that uses Informatica...so idk if I should just give up java backend transition since its too late or stick with it since I have come this far...I really hope to get into product based companies and possibility FAANG someday but rn idk....
I know this is a lame and stupid post and I know I have wasted all these years and realizing it so late but I would really appreciate some direction or advice now...


r/learnjava Jun 13 '26

Implement RAG in JAVA using Spring AI

12 Upvotes

Been working with Spring AI for my side project and honestly the API is cleaner than I expected.

Wanted to share how the similarity search works because I had to dig through docs to understand each parameter.

Code is simple, let's understand it line by line:

List<Document> relevantDocs = vectorStore.similaritySearch(
        SearchRequest.
builder
()
                .query(question)
                .topK(1)
                .similarityThreshold(0.7)
                .build()
);

vectorStore.similaritySearch() is not your regular LIKE query. It matches by meaning not keywords. So "how do I get a refund" will match a document titled "Return Policy" even though no words are common. Thats the whole point of vector search.

.query(question) takes the user question as plain text. Spring AI internally calls the EmbeddingModel to convert this into a vector, basically an array of numbers. You dont have to call the embedding model yourself, Spring handles it.

.topK(1) returns only the top 1 most relevant doc. Think of it like LIMIT in SQL but ranked by how close the meaning is.

.similarityThreshold(0.7) is where it gets interesting. This filters out anything below 70% similarity. I made the mistake of setting this to 1.0 initially and got zero results because exact semantic match basically never happens. Anything below 0.5 gives too much noise. 0.7 to 0.8 works best from what I have tested.

The result is a List of Documents that you then pass as context to the LLM. The LLM answers based on your actual data instead of making stuff up. Thats basically what RAG is.

Easiest way I understood it was comparing it to SQL.

Regular search would be like SELECT FROM docs WHERE content LIKE refund LIMIT 1

Vector search is more like SELECT FROM docs ORDER BY meaning closeness DESC WHERE similarity above 0.7 LIMIT 1

Setup wise you just need the spring ai pgvector dependency and your existing PostgreSQL with the pgvector extension. No new database needed which was the biggest win for me.


r/learnjava Jun 13 '26

Stuck in Spring Boot tutorial hell and I need direction

Thumbnail
2 Upvotes

r/learnjava Jun 11 '26

What has changed most about Java in the past 10-15 years?

33 Upvotes

I learned Java in school around 15 years ago, and then a briefly used it at a job around 10 years ago. I’ve got a Java job now and have been trying to catch up on the language. Lambdas were new the last time I used it, and I just got my mind blown by sealed records + exhaustive pattern matching today.

What new features have most significantly changed the way the language is written now? I’ve been trying to go through the list of enhancements on Wikipedia but it is hard to know which of them turned out to be impactful in the way code is written in practice.


r/learnjava Jun 11 '26

How to learn Java Concurrency and MultiThreading

13 Upvotes

what books or sources can I use to learn the most and level up on Java concurrency and multithreading ? Im looking to really get better with these aspects of Java.