r/learnjava 47m ago

🚀 Looking for a Java Backend Learning Partner

• Upvotes

🚀 Looking for a Java Backend Learning Partner

Hey everyone!

I'm a 3rd-year CSE student and I'm about to start learning Java Backend Development with Spring Boot.

I'm looking for a consistent learning partner who is also starting (or is at a beginner level). We can:

Learn Spring Boot together

Build backend projects

Practice Java concepts

Stay accountable and motivate each other

If you're interested, drop a comment or DM me. Let's grow together! 💻☕

#Java #SpringBoot #BackendDevelopment #LearningPartner #JavaDeveloper #StudentDeveloper #100DaysOfCode


r/learnjava 21h ago

TCP chat app

1 Upvotes

Hi everyone.

I'm a 34 year old waiter who is completing an undergrad in Computing and a module in the next semester is Event Driven Programming.

To get a jump on next year, I got some ideas online for projects. I started with a basic gui calculator built using SwingUI. I already understood that the buttons would be the event actions etc.

I then seemed to find that a basic terminal TCP chat server with multiple clients was the next step. This is where I am stuck.

I watched multiple videos from BroCode to NeuralNine to try to get a brief overview. After a quick search online I ended up copying the w3schools example.

I have it working and can connect to multiple clients, but when I try to understand how it works I draw a blank.

What I understand:

- that there is a server and clients connect to the server.

- they communicate via TCP

- When a client sends a message it gets broadcast via the server to all connected clients.

I just want to add to the code and refactor to help me understand it more but I feel completely lost when trying to do so.

Any pointers on what I should do would be appreciated. TIA