Hello everyone!
Is it possible to create a new webservice from a runnable class? I have some doubts about keeping the run() method and thread behaviour, Do I have to reimplement all the functionality of the class?
Cheers!
Printable View
Hello everyone!
Is it possible to create a new webservice from a runnable class? I have some doubts about keeping the run() method and thread behaviour, Do I have to reimplement all the functionality of the class?
Cheers!
possible, if u seperate ur listen and run() in seperate thread. the runnable class will get clients in and output streams and serve accordingly, if the no of clients is small then a runnable for a client (connection) else u may wanna use thread pool. :D