I would like to express my sincere gratitude for your assistance. Your guidance and motivation have been truly inspiring to me. Thank you very much for all your help.
Amazing video man! You are very easy to understand, speak very clearly, and explained everything amazingly well. Definitely worth the watch, thank you so much for putting your time into making such good guides. :)
At 31:50, you used the cloudfare socketjs urls but didn't tell where to get them from? Nor is there any link in the description for that. Could you please tell me how to get the latest version?
Amazing tutorial! One of the best on the topic. The way of explanation is very sequential, which makes it easy to follow and understand. I absolutely recommend this!
Thanks for the video, i was working on making a real-time chat app that used websockets and react, i made most of the implementations but seeing this video it gave me some new ides to implement. Thanks again
Thanks for the content! In my application i have two types of user that need to be connected in a private chat. Can i implement that securely using your tutorial as a start point? How hard would it be to implement a secure chat app between two users in my API?
Great video. Thankss. I had a doubt. The application is running fine in my local machine but the connection to the websocket fails when the app is deployed. Any solution to that??
Thanks Ali for your video. Please I have a question, I want to integrate chat in my Spring Aplication. How can I adapt It if I have many topic and each have his own chat always with two users? Thanks
Nothing about socketIO, that was mentioned on 0:36 - so I suppose "the most famous and the most popular and the most demanded framework on the market today" has no implementation and ability to interact with "the unarguably the most popular Nodejs socket framework" straight from the box
hello, i am having issues with the log function under WebSocketEventListener.java class where it says log cannot be resolved. How do i fix this? plss help🙏
I have a spring boot project where the user is saved in the database and handled with spring security , i created a websocket where each user should receive his own notifications but it didnt work althought it shows that the connection is established with the websocket , can u please create a vedio about how to configure websocket with a user that is handled with spring security
Thanks for this tutorial. My question is should i implement STOMP for building a real-time chat application? I'm developing an application that can have a user-to-user communication and also chat groups like Facebook's messenger where many users can be in one group. I did some research and found many atricles and tutorial videos where STOMP is used. Abd only a few uses WebSockets. it's a bit confusing to me. When do we use STOMP protocol and when WebSocket. What are use cases for each of them?
STOMP (Simple Text Oriented Messaging Protocol): STOMP is a higher-level messaging protocol that can be layered on top of WebSocket or other transport protocols. It adds a layer of abstraction on WebSocket by providing a simple text-based messaging format. STOMP is designed to be easy to use and is suitable for building messaging and chat applications. It provides features like message destinations (topics and queues), message acknowledgment, and subscription management. STOMP simplifies the development of real-time applications by providing a standardized messaging format. Use WebSocket when you need a direct, low-level, high-performance communication channel. WebSocket is ideal for scenarios where you have specific requirements, and you want to build custom real-time functionality from the ground up. Use STOMP when you want a higher-level, more user-friendly messaging protocol built on top of WebSocket. STOMP abstracts the underlying WebSocket complexity and provides a standardized way to send and receive messages. It's suitable for chat applications, messaging systems, and scenarios where you don't need to reinvent the wheel.
See,when sender and recipient message at a time means either of the sender or recipient message not saved and not shown?? What cause this?? Please give solution
i accidently discovered this channel and i found this video little difficult to understand can anyone tell me what are the pre reqst to watch this video apart from springboot and spring (i dont have any idea apart from this like l4j payload etc)
Hi! Thanks for creating this video. I was wondering if I could use Blazor in lieu of JS, as the prospect of coding in JS does not particularly appeal to me.
I properly wrote code still still showing error that "Received a message with null or undefined sender sender: null" what's the reason behind this error
This is an issue with Lombok, and there is a procedure to install it on your IDE for the first time before using it to auto-generate getters and setters (and also builder constructors) in your projects. Follow these steps to install Lombok to STS or Eclipse. 1. Include pom in Maven . 2. Exit/Shutdown STS. 3. Find lombok Jar in C:\Users\\.m2 epository\org\projectlombok\lombok\version 4. Double click execute the .jar file. 5. Select Eclipse in the installation wizard, or click "Specify Location" and and select SpringToolSuite4.exe for STS install. 6. Start STS. 7. (Optional) - If it doesn't work, right click project in STS, refresh, OR right click project, maven, rebuild project.
Join the Micro Services course waiting list and get and get an exclusive EARLY-BIRD discount
aliboucoding.ck.page/d0f9317e13
Hello? i was following ur instructors and i didnt see before ur asnwer i came today with a hope u gonna answer me my question :)
@@borisdimitrijevic-v6d what is the question
As a self programmer this video is useful in my coding journey
I would like to express my sincere gratitude for your assistance. Your guidance and motivation have been truly inspiring to me. Thank you very much for all your help.
You are so welcome
Amazing video man! You are very easy to understand, speak very clearly, and explained everything amazingly well. Definitely worth the watch, thank you so much for putting your time into making such good guides. :)
Glad it helped!
At 31:50, you used the cloudfare socketjs urls but didn't tell where to get them from? Nor is there any link in the description for that. Could you please tell me how to get the latest version?
Just search their name from the google. Such as stok min js
Amazing tutorial! One of the best on the topic. The way of explanation is very sequential, which makes it easy to follow and understand. I absolutely recommend this!
Glad it was helpful!
Simple and precise. I first saw you in Amigoscode lectures while tutoring and with this tutorial, i have no second thought on subscribing. Thank you.
Glad you think so!
REally awesome video! Thank you!
Thanks for the video, i was working on making a real-time chat app that used websockets and react, i made most of the implementations but seeing this video it gave me some new ides to implement. Thanks again
Glad it helped!
I was busy looking for something on Websockets, here we are.
Happy you liked it!
Project is running perfectly. Thank You
Nice work!
as always, amazing tutorial!
Thanks, the tutorial is really qualitative !
keep going chouf comments w nes eli ta3ref t9oul saha w ta3ref t9ader w tad3em wasel w matarja3ch betweli
Thank you so much bro.
hadheka 3lech gotlek ennou lazem yetbadel cible
Great video. Worked as expected. Just need to modify according to my private group chat. Thank you
Great! I really enjoy seeing your videos. Best instructor!
Great to hear!
This was a magnificent tutorial, thank you so much. Please show us how to push to AWS and the benefits of doing so.
Will do!
I will create a video on how to deploy this application to aws 😁
I hope this is what you expect
@@BoualiAli Thank you!
Waiting for that.
Great content. Thanks Ali.
Glad you liked it!
You make the comment function have notification like facebook, thank you
Great. I really enjoy seeing your videos. Best instructor!😁
Happy to hear that!
@@BoualiAli kk, You are my idol. Whenever I have an issue or need to learn something about Java Spring Boot, the first thing I recall is you
Please,you can create a voice chat(real-time) on the spring?
Can i put this project in my resume ( where it will help or not) or recommand me a good project
i have no idea
No you shouldn't
@@a_dev6696 why
@@a_dev6696 why?
Great content! Thank you very much helped me understand web sockets in no time!
Glad you think so!
that was very interesting Ali !
Happy you liked it!
why my localhost:8080 can not access to index.html file?
I'm getting the same error
@@yine-EngAnaba but the weird is when I try to run the project on his github, it runs 🤷♂🤷♂
Thank you for making this.
I have learnt a lot
Glad it was helpful!
Thanks, Finally, i made a chat app
Thank you for teaching me the web socket method.
Happy to help
Thanks a lot! I have a question. How can I set the "message read" notification?
So how can I do "one-on-one" messaging between just two people?
I created a dedicated video for it. Check the playlist
Very good Guide. But i have a question : Can i test my websocket controller in postman for example ?
I never tried that before. But really worth trying
If you try before me, please leave a comment and tell me your feedback
hello bro, can you test it on postman, please ?
hi sir, can websocket be use for push notification? if yes, do u have tutorial for it? appreciate your content!
Very well done guide! Thank you!
Happy you liked it!
Thank you for your content, I really enjoyed it
Please keep doing it!
I am going to go through all of your videos from now!
Glad you like them!
Thanks for nice explanation
Always welcome
Great video thanks
sir can i use websockets to stream live score(cricket) to audience(clients) from one client
I don't have any code completion for javascript on my intellij. what's the reason? got the latest update
I use the ultimate version
Hi sir
Could you please link us to the documentation on spring that talks specifically for web sockets
Thanks
Yesss !!! Thank you so much for this
You're so welcome!
Thank you for the tutorial , Totally Worth IT
You're welcome!
You are great! Thanks a lot!
Glad you think so!
COUPON Code: *EARLYBIRD20* => Spring Data J PA course: aliboucoding.com/p/the-full-guide-to-master-spring-boot-data-jpa
Thanks for the content! In my application i have two types of user that need to be connected in a private chat. Can i implement that securely using your tutorial as a start point? How hard would it be to implement a secure chat app between two users in my API?
You can add a spring security layer to your application and allow only authenticated user to access your chat
Can you please make frontend as well in Angular latest version
Sure
Thanks @Bouali
Very helpful
Happy you liked it
Great video. Thankss. I had a doubt. The application is running fine in my local machine but the connection to the websocket fails when the app is deployed. Any solution to that??
what is the error?
Thanks very much Ali
My pleasure
I got error of not connect to websocket please help me
I too got the same error, did you fix it?
@@__ashoq_9469 same issue
Hi! Thanks for creating this video. I was wondering if I could use Angular instead of js to implement the chat app into my project
Sure, I will create one
Hi. Thanks for the video. Could you do a version with angular instead?
Yes, soon
Hello, thank you very much for your video. It has been very helpful to me. Can you tell me how to achieve one-on-one chatting in this app?
Thanks Ali for your video. Please I have a question, I want to integrate chat in my Spring Aplication. How can I adapt It if I have many topic and each have his own chat always with two users? Thanks
Check the next websocket video
Ok, Thanks. I will.@@BoualiAli
Thank you very much 😀
You're welcome 😊
such a wonderfull content keep going
Thank you so much!
Hi! I liked your content. Have you worked with Kafka ? I cannot any project or tutorial that explains exactly when and why to use Kafka
I'm working on something that will cover the topic.
join me here and you will get notified: aliboucoding.com/courses
@@BoualiAli thank you
i don't get it why you Add a separate EventListener for handling disconnected User case. why not do the same that you do in add user
Think about SOLID principles
Hi Bouali, do you know if we would be able to add encryption to this Chat App? Maybe a future video idea alongside publishing to AWS
Good idea.
I will create a video for publishing this app to AWS
Nothing about socketIO, that was mentioned on 0:36 - so I suppose "the most famous and the most popular and the most demanded framework on the market today" has no implementation and ability to interact with "the unarguably the most popular Nodejs socket framework" straight from the box
my best mentor
thank yo
Thank you so much
You're most welcome
Thank you for sharing valuable knowledge. Can you make a video on Profiler and Benchmark technology? That's really help on production.
Great suggestion!
Very nice explanation thank you so much sir 🙏🏼🙏🏼🙏🏼
Always welcome
Thank man
hello, i am having issues with the log function under WebSocketEventListener.java class where it says log cannot be resolved. How do i fix this?
plss help🙏
Pls help me sir, when I run the application and try to enter the chat room after entering my user I still get the same page
I have a spring boot project where the user is saved in the database and handled with spring security , i created a websocket where each user should receive his own notifications but it didnt work althought it shows that the connection is established with the websocket , can u please create a vedio about how to configure websocket with a user that is handled with spring security
Coming soon
❤ Great experience God bless you. Keep sharing knowledge.
Happy you liked it!
Thank you, I will
Hello ALI c'est compliqué de passer le JS en typeScript pour Angular ou plutôt simple ?
C’est super simple, meme code.
Juste remplace l’importation des fichiers js par la dépendance
@@BoualiAli Merci et pouvez-vous faire une vidéo
can we test the server using postman first instead of directly creating a client?
You wouldnt get the same result since Postman uses HTTP protocol and this application uses Websocket protocol, as he explained in the intro.
I mean, you can test the backend with Postman but you won't see the frontend functionalities.
Life Saver 🙌
great video Sir🙏
Thanks and welcome
thank you sir
Thanks for the video😊.Please give tutatial about Spring Kafka with Spring 3 version.Thanks🎉
Thanks for the feedback.
I'm working on it
Yes I support, microservices with event driven architecture
Thanks for this tutorial. My question is should i implement STOMP for building a real-time chat application? I'm developing an application that can have a user-to-user communication and also chat groups like Facebook's messenger where many users can be in one group. I did some research and found many atricles and tutorial videos where STOMP is used. Abd only a few uses WebSockets. it's a bit confusing to me. When do we use STOMP protocol and when WebSocket. What are use cases for each of them?
STOMP (Simple Text Oriented Messaging Protocol):
STOMP is a higher-level messaging protocol that can be layered on top of WebSocket or other transport protocols.
It adds a layer of abstraction on WebSocket by providing a simple text-based messaging format.
STOMP is designed to be easy to use and is suitable for building messaging and chat applications.
It provides features like message destinations (topics and queues), message acknowledgment, and subscription management.
STOMP simplifies the development of real-time applications by providing a standardized messaging format.
Use WebSocket when you need a direct, low-level, high-performance communication channel. WebSocket is ideal for scenarios where you have specific requirements, and you want to build custom real-time functionality from the ground up.
Use STOMP when you want a higher-level, more user-friendly messaging protocol built on top of WebSocket. STOMP abstracts the underlying WebSocket complexity and provides a standardized way to send and receive messages. It's suitable for chat applications, messaging systems, and scenarios where you don't need to reinvent the wheel.
I also want this 😢
Thank you sir ❤
welcome
Yes ! Thanks a bunch
You're welcome
See,when sender and recipient message at a time means either of the sender or recipient message not saved and not shown?? What cause this?? Please give solution
what is the issue?
Thank you very much!
You're welcome!
How to make it work with data base for realtime database update
Hi, got any video of how to add Kafka into this?
I published a kafka full course days ago. CHeck it out
i accidently discovered this channel and i found this video little difficult to understand can anyone tell me what are the pre reqst to watch this video apart from springboot and spring (i dont have any idea apart from this like l4j payload etc)
Dammmmnn. Thank Youuuuu❤️
Happy you liked it!
Very informative video
So nice of you
i want to use angular for frontend how to do it? any please guide me
is there any github repo
?
Little typo in the chapters :) Hanshake -> Handshake
I will fix it.
thank you
Can you make a video to transform this example into angular/react and also with private messaging instead of public rooms like this?
Sure, good suggestion
@@BoualiAli i agree with this suggestion
I got the error while enter a username it will not be connect
what is the error?
@@BoualiAlifailed to connect web socket . Please answer me how can I fix this
Hey, could you tell me which plugin you used for Javascript
No plugin. I use Intellij Ultimate version
How do i implement Private chats
Check the one to one chat
hey thanks a lot for the video, how can I test/prove its running correctly without a frontend
You can use postman to test websockets
Hello sir can u make one complete backend and frontend project using apachi kafka project name should be chating application please
I already published an apache kafka tutorial few days ago. check it.
I would like to invite you to check the new websocket video for one to one chat
how to increase file uploads
Hi! Thanks for creating this video. I was wondering if I could use Blazor in lieu of JS, as the prospect of coding in JS does not particularly appeal to me.
Yes you can!
how can i add database to this project
Check the playlist
I properly wrote code still still showing error that "Received a message with null or undefined sender sender: null" what's the reason behind this error
CHeck the mapping
Compare with the code provided in Github
Why no security ?
Because it is not a spring security tutorial
@@patrickmckenna6520 indeed
how can i test on postman
google have the answer already
blog.postman.com/postman-supports-websocket-apis/
How to establish connection between only to clients
Check the new video
in chatcontroller
getsender() is error
in webscoketlistener builder() is sroor
can anyone help me
This is an issue with Lombok, and there is a procedure to install it on your IDE for the first time before using it to auto-generate getters and setters (and also builder constructors) in your projects.
Follow these steps to install Lombok to STS or Eclipse.
1. Include pom in Maven .
2. Exit/Shutdown STS.
3. Find lombok Jar in C:\Users\\.m2
epository\org\projectlombok\lombok\version
4. Double click execute the .jar file.
5. Select Eclipse in the installation wizard, or click "Specify Location" and and select SpringToolSuite4.exe for STS install.
6. Start STS.
7. (Optional) - If it doesn't work, right click project in STS, refresh, OR right click project, maven, rebuild project.