該視頻向您介紹了如何使用Spring Boot和Web Socket構建聊天應用程序
#JavaTechie #SpringBoot #WebSocket
的GitHub:
https://github.com/Java-Techie-jt/Spring-Boot-WebSocket
博客:
https://javagyanmantra.wixsite.com/website
臉書:
https://www.facebook.com/groups/919464521471923
大家喜歡的視頻,請立即訂閱,然後按一下響鈴圖標,不要錯過Java Techie的任何更新。
Can u please make a video for person to person chat application
How to generate folder "static" in "src/main/resources"? It is in 15:10 minutes. Please help.
this code import eclipse error show package com.javatechie.spring.ws.api;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
@SpringBootApplication
public class SpringBootWebsocketApplication {
public static void main(String[] args) {
SpringApplication.run(SpringBootWebsocketApplication.class, args);
}
}
pls help me and how to resolve this
hello thanks for the tutorial, but I have a small problem, my model is called Message but when I make the request I get the following error:
org.springframework.messaging.converter.MessageConversionException: Unable to convert payload with type='com.sockets.socket.model.Message', contentType='null'
I hope you can help me, thanks.
how to send message to a specific user, not to everyone.
Is there any example with oauth2 Authorization with sockjs ?
Gajab. Awesome
Thank's you a lot bro. I want to ask if your code can evolve into a chat application with data base similar to a complete application like telegram.
Of course not completely complete, just can grow up 🙂
Well done bro, this was very informative. Thanks
Good job! Thank you so much for sharing. How can I send private messages for only one user and not to all? There is an anotation called @SendToUser but … Can you to do a video whit it?
This is awesome and better than certain expensive industry-standard courses out there. Well done. I shall definitely subscribe.
I am getting error while adding the dependency..can u plz help me..
Hi, do you have any solutions how to make video chat with spring? Thank you!
please can i customize this application with my own database
can i send msg to a perticular user
u have any idea about it???
Video contains really good content.
Do you have any Idea regarding video chat?
Yo, the "Sender left" or "Sender joined" doesn't appear, what could it be?
Hello sir I can't configure spring starter project on my eclipse.. please help
Before sending data to websocket can i read the data from external broker (rabbit mq) and doing the modification and I needs to sent the data to socket
how to connect this on Android
Is there a limit for number of connecting clients????
Java Techie: Good one.
Add this below code in main.js, to get detail of user who left main chat, when browser window is closed, or refreshed.
window.addEventListener("beforeunload", function (e) {
var confirmationMessage = "o/";
stompClient.send("/app/chat.register",
{},
JSON.stringify({sender: username, type: 'LEAVE'})
)
(e || window.event).returnValue = confirmationMessage;
return confirmationMessage;
});
Awesome content. Keep rocking.
Where can I find the source code for this?
Very nice video… thanks providing this video
can i connect to the websocket client with something else as javascript? like php, c# or java itself?
Nice tutorials. Thanks handsome ^^.
Hi, how to send message a particular client?
Nice
Great Video bro keep it up need some time to digest this…