Servlet Programming / Sending asychronus data to clients (original) (raw)

Hello. I'm trying to write an application (as a single/ collection of servlets) that will be able to "talk back to" any of the clients at any time, as opposed to simply writing responses for requests as they come in. I thought this might be a good place to ask about servlet programming because this community seems very active, and I'd appreciate any thoughts you might have to share.

Specifically, I'm thinking I'd like to try to retain the HTTPServletRequest / HTTPServletResponse objects as they come in, then whenever I need to send client X some info, I can just whip those out and send them from a background servlet thread. Does that seem sensible? I can use SSL to if anyone thinks that might help.
Thanks for your thoughts on this vague inquiry :)

I'm following this tutorial on the netbeans website for a simpleEE7App. I followed the instructions precisely but got an exception need help. :/…

anyone here?

It seems that you can override a concrete method and make it abstract. I actually came across some code that did this, so I had to check how it…