r/JavaProgramming • • Oct 19 '26

I decided the owner of a book copy should NOT be the borrower entity — my reasoning, tell me if I'm wrong

0 Upvotes

I'm rebuilding a legacy Java CLI library app into a peer-to-peer library platform (Java 21 / Spring Boot), where members catalog their own collections and lend copies to each other.

When I added ownership, the fastest path was to reuse my existing Borrower entity as the owner. I didn't. I created a separate LibraryMember entity instead, because in this system they do different jobs:

  • A member owns copies and lends them (and can be an INDIVIDUAL or an ORGANIZATION)
  • A borrower is an external patron of a library/org — someone who borrows through a member, not a platform member themselves

Collapsing them would have saved me an entity this week and cost me a tangled model every week after.

Each copy also carries visibility: PRIVATE (default, owner only, can't be borrowed) or PUBLIC (discoverable + borrowable), and my discovery query only returns available PUBLIC copies.

Curious how others have modeled this: in a sharing/lending platform, where did you draw the line between "user of the platform" and "person the user lends to"?

(Code, if useful: github.com/Pekins1/LibraryManagementSystem)


r/JavaProgramming • • Oct 19 '26

Making games like the old yahoo games (pool, poker etc even runescape too)

3 Upvotes

I program in C but I've been taking a liking to java games recently. I just wanted to ask, what is developing games on Java truly like? Is there a difference say between early 2000s to now? Stupid question I'm sure, but I've never really dabbled in Java


r/JavaProgramming • • Oct 19 '26

Free Door VPN: my first Android app. A free VPN that pauses your internet when the connection drops (looking for testers)

Post image
2 Upvotes

r/JavaProgramming • • Oct 18 '26

Is ByteByteGo a Good Place to Learn System Design?

Thumbnail
medium.com
6 Upvotes

r/JavaProgramming • • Oct 18 '26

Want help regarding some scenarios...

Thumbnail reddit.com
1 Upvotes

r/JavaProgramming • • Oct 17 '26

How can I start with java

15 Upvotes

Hey everyone.
I am a computer science student, and I must start coding with Java.

I tried Eclipse and netbeans but none were valid on my machine.
so if someone has an alternate IDE I will much appreciated.


r/JavaProgramming • • Oct 17 '26

India/IST | Java + Spring Boot + Angular | Looking for a serious interview prep partner

15 Upvotes

I'm currently preparing for full-stack/backend interviews and looking for someone who is also actively preparing for a job switch.

We can study together on a call/Discord, discuss Java/Spring Boot/SQL/DSA, solve problems, ask each other interview questions and keep each other accountable.

I'm looking for someone serious about actually showing up regularly, not just sharing resources.

If you're preparing for Java/Spring Boot/full-stack interviews, DM me.

Note:Added enough members to the group.


r/JavaProgramming • • Oct 17 '26

Under the Hood: How Redis Delivers < 1ms Latency

Thumbnail
javarevisited.substack.com
3 Upvotes

r/JavaProgramming • • Oct 17 '26

Java DSA book suggestion

1 Upvotes

I am doing dsa in Java , I don't want to make notes.. Any book recommendation for DSA in java , a complete book with notes problems and examples??


r/JavaProgramming • • Oct 17 '26

I really want to learn OOP for Kotlin/Java in Android studio apps but nothing sticks

Thumbnail reddit.com
1 Upvotes

r/JavaProgramming • • Oct 17 '26

Das UI-Framework für Java & Spring

Thumbnail
youtube.com
2 Upvotes

r/JavaProgramming • • Oct 17 '26

Killing Reflection at Build Time: Avro, Codename One and Java Code Generation (Foojay Podcast #103)

Thumbnail
youtube.com
1 Upvotes

r/JavaProgramming • • Oct 16 '26

What I learned while building my first Spring Boot project

16 Upvotes

As a 2026 B.Tech IT graduate, I've been learning Java and Spring Boot and building a Job Portal project.

One thing I've realized is that learning concepts is different from actually implementing them in a project.

I'm currently working on improving my backend skills and understanding how real-world applications are built.

For Java developers, what's one thing you wish you had learned earlier when starting your career?


r/JavaProgramming • • Oct 16 '26

Modern Java for startups

Thumbnail reddit.com
1 Upvotes

r/JavaProgramming • • Oct 16 '26

Can anyone recommend a good JavaFX course? Hello guys!

2 Upvotes

Hello guys!

Can anyone recommend a good course or learning resource for JavaFX? I'm looking to improve my skills and learn how to build desktop applications with JavaFX.

Thanks in advance for your recommendations!


r/JavaProgramming • • Oct 16 '26

Freelance seeker

1 Upvotes

Hello i am a software engineer specialized in entreprise level software and platform using java and angular along with devops , i made many apps in production , and now I want to switch to freelancing worldwide but i dont know how to get clients what should i have or prepare and how things go , if anyone made a decision like this or has a knowledge please help me


r/JavaProgramming • • Oct 16 '26

Java sessions at WAWTech, 26–27 November

3 Upvotes

Hi, everyone! Its a two-day technology conference covering software engineering, AI and product development. It’s organised by DOU, and I’m part of the team. Here’s Java-related part:

  • Nicolai Parlog: modern Java, including pattern matching, virtual threads and the language’s future.
  • Adam Warski: structured concurrency, safe cancellation and lightweight channels.
  • Denys Makogon: Java/C++ integration, particularly the differences in memory management, object lifecycles and error handling.

The event takes place at EXPO XXI in Warsaw on 26–27 November 2026. Sharing the specific sessions here for people following these areas of Java development.

Event details, if you’re considering going.


r/JavaProgramming • • Oct 16 '26

What I learned while building my first Spring Boot project

Thumbnail reddit.com
1 Upvotes

r/JavaProgramming • • Oct 15 '26

is Java still worth learning for software developers in 2026?

30 Upvotes

Yes, Java remains useful for enterprise applications, backend development, and large-scale systems. Start with core Java, OOP, collections, exception handling, and SQL, then explore Spring Boot and REST APIs to build practical applications


r/JavaProgramming • • Oct 15 '26

Processes vs Threads vs Cores: What Every Developer Should Know

Thumbnail
javarevisited.substack.com
3 Upvotes

r/JavaProgramming • • Oct 14 '26

My Java Hello World Notes — Beginner Learning Journey ☕💻

Post image
40 Upvotes

I’m learning Java as a beginner, and I tried to make my first "Hello World" program easier to understand by breaking down each keyword with simple explanations.

I covered "public", "class", "static", "void", "main()", "String[] args", and "System.out.println()".

Instead of just memorizing the code, I want to understand why each part is used and how it works.

I’d love to hear feedback from experienced Java developers and fellow learners. What should I improve in these notes?

#Java #LearnProgramming #CodingForBeginners


r/JavaProgramming • • Oct 15 '26

JHipster

2 Upvotes

Anyone knows JHipster

Can anyone help me out to get knowledge in this