Thanks Jeanne,
The issue is not about refreshing the Page/using AJAX.Its about sending messages to a specified user on selection(just like GMAIL) from a user-List.
I explored socket programming where for each user a
thread is created and the user is also assigned with a port number internally.This model limits the number of connections.
So i am thinking of exploring in JMS since Scoket Programming has its own limitations.
So i request if anyone could help me in building a Chat application (similar to Gmail one- one)using JMS(if feasible commercially).
Thanks and Regards
Jack.