Skip to main content


developerWorks  >  Java technology  >

Threads and networking in J2ME

developerWorks

Level: Intermediate

John Muchow , Author

16 Mar 2004

Register now or sign in using your IBM ID and password.

This tutorial teaches you how to use threads in MIDlets to communicate over a network connection. Without multithreading, a MIDlet that requests a network connection blocks while waiting for a response from the network. In the real world, a user expects the application to continue running, even while a network connection is underway. The tutorial demonstrates the problems of non-threaded MIDlets and lets you build a multithreaded MIDlet.

Prerequisites

You should have a good working knowledge of J2ME.


System requirements



Duration

Under two hours


Formats

html, pdf


Share this....

digg Digg this story del.icio.us del.icio.us Slashdot Slashdot it!


Back to top


Document options

Document options requiring JavaScript are not displayed


New site feature

Check out our new article design and features. Tell us what you think.