• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Realtime update

 
Andrew Galler
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm working on a web-based Stock Quotation application and wanted to have realtime update of both the broker and bid/ask queue. How can I do that? I've tried to write it solely in JApplet but it seems that the performance is quite poor. I've heard that I can do this by EJB which is embedded in the JSP. Does anyone know how it works? or is there any better way to do it?
Thanks in advance.
 
Tim Holloway
Saloon Keeper
Pie
Posts: 18098
50
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
EJB's can't do that. JSP's can't do that either. The client must "pull" info because no HTTP server can "push" - by the definition of the HTTP protocol.
It's unlikely that your performance problem is simply because you're using a Java Applet. You need to determine where the true bottleneck is, whether it's in the client, server, or network connection.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic