Wednesday, February 21, 2007

Deadlock problem in J2ME networking

Warning: To avoid potential deadlock, operations that may block, such as
networking, should be performed in a different thread than the
commandAction() handler.
The warning above says if you simply do a httpconnection in J2Me memory,you may cause a deadlock.So we should Java Threads to connect server and send/receive data.

No comments: