多线程技术在移动电子商务系统中的应用

整理文档很辛苦,赏杯茶钱您下走!

免费阅读已结束,点击下载阅读编辑剩下 ...

阅读已结束,您可以下载文档离线阅读编辑

资源描述

:ComputerKnowledgeandTechnology530(200910)(,518055):J2ME。。:J2ME;;:TP393:A:1009-3044(2009)30-8573-02ApplicationofMultithreadingintheSystemofM-commerceZHANGLi-juan(ComputerApplicationEngineeringDepartment,ShenzhenPolytechnic,Shenzhen518055,China)Abstract:InthispaperasystemofM-CommercewasbroughtforwardbasedonJ2ME.ThetechniqueofMutithreadinginthesystemofM-Commercenetworkconnectionswasdiscussedandanalysiseddeeply.Keywords:J2ME;multithreading;m-Commerce,、PDA,。C/S,:、。SUN(、PDA、)J2MEJava。J2ME(Java2MicroEdition)GPRS/CDMA,,,、、Java。J2ME,。,,,。,。,。,,。1J2ME,,,,,J2EE。J2ME,J2EE。1。J2ME,HTTP(HyperTextTransferProtocol)HTTPS(HyperTextTransferProtocolSe-cure)XML(ExtensibleMarkupLanguage)WebServer,WebServerServlet,,EJB,,JDBC。SQL,,,WebServer,WebServerHTTPHTTPSXML。22.1J2ME(GenericConnectionFramework,GCF)、I/O。GCFjavax.microedition.io。2GCF。GCF,Connection。。。:2009-08-03:(1977-),(),,,,:、。12ISSN1009-3044ComputerKnowledgeandTechnologyVol.5,No.30,October2009,pp.8573-8574E-mail:kfyj@cccc.net.cn:+86-551-569096356909648573:ComputerKnowledgeandTechnology530(200910)GCF,。2.2,。3。?,———MIDlet。MIDlet,,。,,。,,。,。,。,。2.3ThreadRunnable,MIDlet。,notify();wait(),。:ClassCommandThreadextendsThread{……publicvoidrun(){while(true){syschronized(parent)……try{wait();}catch(InterruptedExceptionie){}……try{invokeServlet(defaultURL);//}catch(Exceptione){……}}sendnotify(),:publicvoidcommandAciton(Commandcmd,Displaydis){if(cmd==cmdSend){……syschronized(this);notify();}}3,。,J2EE-J2ME,。,Java,。,。:[1],,.J2ME[M].:,2006.[2],.J2ME[J].,2006,5:166-168.3458574

1 / 2
下载文档,编辑使用

©2015-2020 m.777doc.com 三七文档.

备案号:鲁ICP备2024069028号-1 客服联系 QQ:2149211541

×
保存成功