简体   繁体   English

寻找带有数据库教程的 Java 多线程客户端-服务器聊天应用程序

[英]Looking for Java Multithreaded Client-Server chat application with database tutorial

Im trying to build a Java Multithreaded Client-Server chat application with a database.我正在尝试使用数据库构建 Java 多线程客户端-服务器聊天应用程序。 The database is to store username and password.数据库用于存储用户名和密码。 I am able to build a basic Java Multithreaded Client-Server chat application, but have no idea how to create the database side.我能够构建一个基本的 Java 多线程客户端-服务器聊天应用程序,但不知道如何创建数据库端。 Ive found lots of downloadable source code but I'm looking for a tutorial so I can learn what to do.我找到了很多可下载的源代码,但我正在寻找一个教程,这样我就可以学习该怎么做。 Ive become lost in all the return results from google as I cant seem to find a tutorial for exactly what I want, it's possible I have come across one I need, but honestly I'm not 100% sure where to go.我已经迷失在 google 的所有返回结果中,因为我似乎无法找到完全符合我想要的教程,我可能遇到了我需要的教程,但老实说,我不是 100% 确定要去哪里。 Just want to see if anyone knows a tutorial that covers this specific project.只是想看看是否有人知道涵盖此特定项目的教程。 Thank you.谢谢你。

Unless it is for learning purposes, you probably do not want to build everything from scratch.除非是出于学习目的,否则您可能不想从头开始构建所有内容。 And you will more likely find tutorials separated for client and for server.并且您更可能会发现针对客户端和服务器的教程是分开的。

The nice thing about XMPP is you can swap client implementations and you can swap server implementations or connect them all to the same network, similar like email. XMPP 的好处是您可以交换客户端实现,也可以交换服务器实现或将它们全部连接到同一网络,类似于电子邮件。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM