posted 16 years ago
Hi i have a separate class which is used as my server class. WHat it does is it sends messesges to all users . In servlet i recieve teh message from that class. Now whenever a new user login to my site it has a list of all people there that he can view. Now how do i refresh the list for all the other people who are already loged in and need to see a new person who just loged in ? Is there a nice eligant way of doing this ? I was thinking of using Observer pattern because it can notify when teh change occurs but in case of servlet how can i do that ? Thanks.