Build a Full-Stack Online Chat App in Java (Swing, Springboot Websocket)

preview_player
Показать описание
Learn how to build an Online Chat Application all in Java!

In this tutorial, we dive into Spring Boot's WebSocket library to handle real-time messaging on the backend, and then use Swing to create the GUI for the app. Towards the end, I’ll walk you through hosting your WebSocket server online using Render, so you can test and interact with it from anywhere.

🔗 Links:

-------------------------------SOCIAL-------------------------------

See more of my content below:

⏱ Timestamp:
00:00 - 00:45 : Intro
00:46 - 03:28: Maven Installation
03:29 - 06:47: Springboot Project Setup
06:48 - 08:33: Springboot Overview
08:34 - 11:58: Websocket Config
11:59 - 16:48: Websocket Controller (Send Message)
16:49 - 27:39: Websocket Client (Send Message)
27:40 - 32:22: Websocket Controller (Send Active Users List)
32:23 - 36:28: Websocket Client (Connect User)
36:29 - 39:57: ClientGUI Window
39:58 - 44:39: ClientGUI Exit Popup
44:40 - 53:24: ClientGUI Connected Users Components
53:25 - 1:10:16: ClientGUI Chat Display
1:10:17 - 1:18:45: ClientGUI Websocket Connection
1:18:46 - 1:40:42: ClientGUI Message listener
1:40:43 - 1:45:50: ClientGUI Username Input
1:45:51 - 2:03:15: ClientGUI Bettering UX/UI Experience
2:03:16 - 2:14:28: Hosting Websocket on Render using Docker
2:14:29 - 2:15:02: Outro + Patreon Announcement

✅ Answers to the Video Quiz Questions:
1. The default port is 8080
2. STOMP stands for Simple (or Streaming) Text Oriented Message Protocol
3. POJO stands for Plain Old Java Object
5. /app/connect
6. HIDE_ON_CLOSE
7. BorderLayout
8. EmptyBorder
9. revalidate() and repaint()
10. JScrollPane
Рекомендации по теме
Комментарии
Автор

always enjoy watching your vids. it motivates me to continue on my java journey

shadyyam
Автор

This is amazing! I kept watching your java tutorials and they are all fun and very good ideas. Keep up the good work, really!

ticulet
Автор

I really like your Videos and were waiting for Spring Boot Projekts. Let me ask you, why you don't use React for the Frontend?

thomasmuller
Автор

I won't do it all at once. Imma do it slowly, grasping everything cause what's the point in copying and pasting.


Watched till 55:21 leaving the rest for tomorrow.

So far so good 👍

KeepsCoding
Автор

Amazing video! Keep it up, btw what mouse and keyboard are u using for coding and what would u recommend

DankeZz
Автор

Great video! What pc/setup config do u use for coding? Keep it up

marinbb
Автор

Great work ❤
Can you suggest a playlist or course to learn spring and spring boot

kerolosmokhtar
Автор

Interesting app, btw what pc/laptop do u use for coding

MartinAndrews-ui
Автор

What!! Its an amazing project!! Thanks a lot!! Its just And thanks that you in this tutorial are talking an explaining that a way more easy to understantd whats going on.

DavidGarciaGamboa
Автор

Do more backend eizh frontend projects pls😮

mintz
Автор

Hello sir
I suggest lessening the frame of the text field in which the messages are written, or at least make it the same color as the frame of the conversation.

hedralotfy
Автор

Great Work ❤, what is the name of this theme please ?

hasansawaf
Автор

how do i make my docker file with the newer version's of mavan and java. Im using maven 3.9.9 and java 23

ChigozirimAriole
Автор

pls make a video explaining about backend

andimuhammad
Автор

What is theme, that is monocai not theme, monocai is pink color, this is dark gray Color theme, what is theme name, thanks now

yedek-bz
Автор

What would you say the prerequisites would be for this tutorial?

John-who
Автор

Maven not need for Spring init zip archive, Maven have in zip

City__Walker
Автор

yo online, so like, texting version omegle?

adi
Автор

Bro at a same time explain about the technology deeply so it will be better

VvvVbbj
Автор

Young Betty Moore Steven Thomas Sharon

EquipteHarry