• Post Reply Bookmark Topic Watch Topic
  • New Topic

Online Chat in JSP  RSS feed

 
Aravind Prasad
Ranch Hand
Posts: 265
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear Ranchers,

I am doing a Online Management Software. I would like to integrate a chat system with this. Exactly like Gmail. I am expecting some inputs from Master Brains of Java.

Thanks/Regards

Aravind Prasad
 
joy luvensky
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i cant help you but i have same scenerio.

i have gathered customer requirements but i'm unable to gt my mind on CHat server using jsp.


Please people help US
 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please refrain from posting in all bold letters.

Whatever you end up implementing will probably make little use of JSP. The crucial parts will more likely be done in JavaScript/AJAX (using the XMLHttpRequest object) in the browser and servlets on the server.

What ideas do you have so far, and/or which problems prevent you from making progress?
 
joy luvensky
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


K thanks guys. i have nothing till now in my mind. just lot of questions.
i will surel keep them postion here.

Thanks

 
Ankit Garg
Sheriff
Posts: 9608
36
Android Google Web Toolkit Hibernate IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well I also did a lot of thinking after reading this question. The only thing that came to my mind is Observer pattern. I know this might not be very useful and in fact this might be misleading if I'm wrong but I thought I should just speak up what I think. I would come back if I have anything else to share...
 
Bauke Scholtz
Ranch Hand
Posts: 2458
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
HTTP disallows push.

So left behind a java applet or webstart application (not recommended) or an ajaxical solution as suggested before (recommended). With ajax you can easily asynchronously poll the server for changes and update the page accordingly.
 
Ankit Garg
Sheriff
Posts: 9608
36
Android Google Web Toolkit Hibernate IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Bauke Scholtz wrote:HTTP disallows push.


I was thinking about keeping the connection with the server open but I think this is not a feasible solution. So sending multiple requests to the server continuously through AJAX is the only solution I think ...
 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
HTTP disallows push.

There has been a lot of interest in working around this, though, under the moniker Comet. Might be something to look into if server push seems a desirable feature.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!