I have a generic public class containing a Vector that implements Runnable. I
then have a subclassed singleton that I getInstance() in a jsp page to make
sure that the browser clients are all using the same Vector.
I want to add an element to the Vector every 4 seconds using Thread.sleep(). I
Ryan Detert wrote:
I have a generic public class containing a Vector that implements Runnable. I
then have a subclassed singleton that I getInstance() in a jsp page to make
sure that the browser clients are all using the same Vector.
I want to add an element to the Vector every 4
I have a generic public class containing a Vector that implements
Runnable. I
then have a subclassed singleton that I getInstance() in a jsp page to
make
sure that the browser clients are all using the same Vector.
Vector is already synchronized, so there should be no problem with multiple