for chat application, is it necessary sockets and mutithreading in servlets?
hi everyone,
i want to develop the chat application,
is it necessary to use server socket and mutithreading concept in the servlet?
if u knew about it plzz help me guys.
Re: for chat application, is it necessary sockets and mutithreading in servlets?
Erm, weird questions you have indeed.
Its not really needed to open up sockets inside the servlet, this is handled for you by your application container. You don't need to create multiple threads either, this is also handled by the application container.
// Json