Hi. I need to know how to approach this problem and what I need to read up on. I have servlets on TC4 which retrieve data from Oracle. The servlets do something to the data and "send" them back to the applet. The applet (awt) displays the result on the client's screen. However, it turns out some data is quasi-dynamic, it can change during the day, but not often. What are some of the ways to refresh the screen when the data changes? Hopefully it won't be a major modification! TIA :-)
Sounds like you'd be needing a way for the server to "push" changes to the applet. You might open a socket. The server would have to keep track of the sockets for all the available clients. If the applet is a socket server, the real server can open a connection to a client any time it needs one, and need not hold an open connection all the time. A vendor product I'm using at work does this for workfow. It keeps the address and port of every client in a database, then opens a connection to the client to push work. Is that something you could use?
A good question is never answered. It is not a bolt to be tightened into place but a seed to be planted and to bear more seed toward the hope of greening the landscape of the idea. John Ciardi