Skip to Main Content

Java APIs

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

cliant/server communication

843790Nov 29 2007 — edited Dec 3 2007
Hi

im building a client/server program that the server is writen in J2SE and the client in J2ME ( mobile ).

The client sould send request to the server - then the server will process the request and start sening data ( continues streaming data )to the client till it get new request , and start sending data according to the new new request .
my question is how i sould design the client reader and writer to handle data streeming , should i have 2 threds for that? or it's posible to do it in one

i'll be glad to get reference for that ( never mind for what platform i wana learn the consept how to design )

Thanks
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 31 2007
Added on Nov 29 2007
4 comments
168 views