Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > Java
You last visited: Today at 18:08

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Chat Room with JPA / Servlets - References/Recommendations?

Discussion on Chat Room with JPA / Servlets - References/Recommendations? within the Java forum part of the Coders Den category.

Reply
 
Old   #1
 
C_O_R_E's Avatar
 
elite*gold: 0
Join Date: Jul 2014
Posts: 264
Received Thanks: 54
Chat Room with JPA / Servlets - References/Recommendations?

Hey there!


I'm running a web-project for a couple of weeks and going to implement chat system.


May I ask you guys, where I should start to look for a chat room system in JPA/Servlets?


Does someone know a good reference to look for?




Note: Probably Servlets isn't the best way to implement such a thing like that, but I'm forced to.




ahoé


C_O_R_E



Edit://


What the system should capable of?


1. User connects to chat
2. Broadcasting to all users currently connected to
3. Notifications to inform new messages has been received
4. Disconnection
5. Reconnection
C_O_R_E is offline  
Old 05/08/2017, 16:19   #2
dotCom
 
Devsome's Avatar
 
elite*gold: 9842
The Black Market: 107/0/0
Join Date: Mar 2009
Posts: 16,866
Received Thanks: 4,685
Arrow Web Development -> Java

#moved
Devsome is offline  
Old 05/09/2017, 19:38   #3
 
NotThatBad's Avatar
 
elite*gold: 0
Join Date: Mar 2013
Posts: 802
Received Thanks: 347
The keyword for server implementations is usually "multithreading". Handle logins and logouts with sessions cookies. Implement some kind of "User" model to identify logged in users, broadcast to a subset of e.g. a List<java.lang.Thread> which has a "User" object stored for each connection.

NotThatBad is offline  
Thanks
2 Users
Old 05/09/2017, 21:39   #4
 
C_O_R_E's Avatar
 
elite*gold: 0
Join Date: Jul 2014
Posts: 264
Received Thanks: 54
@
As you said, I will go through all those keywords to make some progress.


In general, I already know how the implementation should look like, but lacking in specific implementation work.


Thanks for your contribution
C_O_R_E is offline  
Reply


Similar Threads Similar Threads
Eu Silkroad |90 Cap|New Map|New Room|Event Room|Pvp Room
07/29/2012 - SRO PServer Advertising - 17 Replies
Eu Silkroad Online Site: Eu Silkroad Exp Rate: x100 Sp Rate: x200 Drop Rate: x50
Look for ELO BOOST and REFERENCES
05/08/2012 - League of Legends Trading - 0 Replies
Looking for a 1650-1750 NA elo boost If any elo booster is available to start TODAY. Also looking for 200 1.0 refs :) Thanks
Looking for: References / Elo boost / Pax Jax
05/07/2012 - League of Legends Trading - 0 Replies
I'm looking for 200 ref 1.0 or 50 2.0 Also looking for +100 elo // 1630-1730 ( NA ) Lmk price / timeframe Also a PAX JAX skin for NA Thanks :handsdown:
Mobs/bosses references
03/28/2012 - Shaiya Private Server - 6 Replies
Hello, I'd like that the mobs / bosses are the same as on the official server. Is there a reference or a patch? I saw that we could set them individually but I do not know the basic values Help me pls:(
HellMouth References
06/09/2011 - CO2 Private Server - 4 Replies
Alright. I am using C# 2008, I fixed all the errors (thanks to Justin). I still got one problem: References. So the thing is, when I delete a reference, then add it again, I still get the warning that it can't find the reference. So here is a screenshot: http://img833.imageshack.us/img833/8669/screenlb. png Any help will be greatly appreciated. Thank you



All times are GMT +1. The time now is 18:08.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.