您好,欢迎访问三七文档
当前位置:首页 > IT计算机/网络 > 电子商务 > 多线程技术在移动电子商务系统中的应用
: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
本文标题:多线程技术在移动电子商务系统中的应用
链接地址:https://www.777doc.com/doc-31827 .html