TWaver Flex»á¸øµçÐÅÈí¼þ¿ª·¢´øÀ´±ä¸ïÂð£¿
Èç¹ûÄãÊǵçÐÅÐÐÒµµÄ³ÌÐòÔ±£¬´óÃû¶¦¶¦µÄÍØÆËͼ¹¤¾ßTWaverÄãÒ»¶¨¶úÊìÄÜÏꣻµ«ÊÇÈç¹ûÒ»Ìáµ½TWaverÄã¾ÍÏëµ½Ò»¸öSwing×é¼þ°ü£¬ÄÇÄãºÁÎÞÒÉÎÊÒѾoutÁË¡£¾¹ýÊ®¼¸ÄêµÄ·¢Õ¹£¬TWaver¿´ÉÏÈ¥ÒѾ²»ÔÙÊÇÒ»¸ö¼òµ¥µÄSwingÍØÆË×é¼þ£¬ÕâЩÄêTWaver½ÐøÍƳöÁËAJAX+SVGµÄWeb°æ¡¢GIS°æ£¬ÏÖÔÚÓÖ³öÁËFlex°æ¡£Ê²Ã´£¿Flex°æTWaver£¿Ð¡Íæ¾ß°É£¿ÄÜ×öÆóÒµÉõÖÁµçÐÅÓ¦ÓÃô£¿¿´¿´TWaver FlexÕâ¸öÁîÈËÕ𺳵ÄÔÚÏßdemo£¬ÏàÐÅÄã»áÓÐ×Ô¼ºµÄ´ð°¸¡£·´ÕýÎÒ¼áÐÅFlex¼¼Êõ±Ø½«ÔÚµçÐÅÐÐÒµÓ¦ÓÃÖдóչȽŗ—ÖÁÉÙËü¾ø²»ÔÙ½ö½öÊÇÒ»¸ö»¨Æ¿ºÍÍæ¾ß¡£
´ÖÂÔ¹Û²ìÁËÒ»ÏÂTWaverÔÚÏßdemo£¨http://servasoftware.com/demo/twaver_flex/twaver-flex-online-demo.html£©£¬²»ÉÙ¹¦ÄÜÁîÈ˶úĿһС£¾Í˵ÏÂͼÕâ¸ö¾µäµÄTWaver PSTNÀý×Ó£¬Ï¸½ÚÉϾͱÈSwing°æϸÄåºÜ¶à¡£Õû¸öTWaver FlexºÜ¶àµØ·½ÉõÖÁÒѾÌåÏÖ³ö±ÈTWaver JavaµÄSwing°æ±¾¸üÇ¿µÄ·½Ãæ¡£
´ËÍ⣬»¹¹Û²ìµ½ÁËTWaver FlexÖиü¶àÓÐȤµÄÌØÐÔ¡£
ȫи澯äÖȾ·½Ê½
¼ÇµÃÔçÄê¿´MicromuseµÄNetCoolʱºò£¬¶ÔÆä¸æ¾¯³ÊÏÖ·½Ê½ºÜÓÐÓ¡Ïó£ºÒ»¸ö¸æ¾¯É«µÄÁâÐε××ù£¬¼ÈÖ±¹ÛÓÖÃÀ¹Û¡£Èç½ñTWaver FlexÖÐÒ²ÌṩÁËÕâÖÖȫеĸ澯äÖȾ·½Ê½£¬¶øÇÒ»¹Óи÷ÖÖÐÎ×´µÄ“µ××ù”¿ÉÒÔÑ¡Ôñ£º
ÁíÍ⣬¼ÇµÃÔÚʹÓÃEclipseʱÈç¹ûÓбàÒë´íÎ󣬴úÂëtreeÉÏÊÇÈçºÎ³ÊÏÖµÄÂð£¿Ò»¸ö¶¯Ì¬²úÉúµÄ¾¯¸æСͼ±êµþ¼ÓÔÚtree iconÉÏ£¬¼È¼ò½à£¬ÓÖÇåÎú£º
TWaver FlexÖÐÒ²ÌṩÁËÀàËÆЧ¹û¡£ÕâÖÖЧ¹û¿ÉÒÔÖ±½Óͨ¹ýÒ»¸ö²ÎÊýÉèÖ㬲»ÐèҪͨ¹ý¸´ÔӵĴúÂë½øÐÐʵÏÖ£º
TWaver FlexÖУ¬¸æ¾¯ÔÚÊ÷ÉϵÄäÖȾ»¹²»Ö¹Í¼±êµÄ±ä»¯£¬demoÖл¹ÌṩÁ˸ü¶à¸´ÔӵijÊÏÖ·½·¨£¬ÀýÈçÔÚiconºóÃæÔÙµþ¼ÓһЩ¶îÍâÐÅÏ¢£¬ÀýÈç¸æ¾¯ÐÅϢͳ¼ÆµÈµÈ¡£ÀýÈçdemoÖУ¬Ò»¸ö½»»»»ú¶Ë¿ÚÉϲúÉúÁË3¸öCritical£¨ÑÏÖØ£©¸æ¾¯£¬¿ÉÒÔÔÚtree iconºó·½ÔÙÏÔʾһ¸öÇòÐÇiconÒÔ¼°¸æ¾¯ÊýÁ¿ºÍ¼¶±ðÐÅÏ¢¡£ÁíÍâ½»»»»úµÄ±ß¿òÉϸ澯´«²¥µÄÄ£ºý½¥±ääÖȾЧ¹ûÒ²±ÈTWaver JavaÖиü¼ÓϸÄå¡¢Éú¶¯£º
ÔÙ¼ÓÉÏһЩÐÂÌṩµÄ¸æ¾¯±í¸ñ¡¢¸æ¾¯Í³¼Æ¡¢chart£¬TWaver FlexÖи澯µÄ³ÊÏÖȷʵ¸øÈ˶úĿһеĸоõ£º
È«ÐÂÁ¬ÏßÀ¦Ôú³ÊÏÖ·¨
Á¬ÏßÀ¦ÔúÊÇTWaver±È½ÏÓÐÒâ˼µÄÌØÐÔ£º¶à¸öÊ×βÏàͬµÄLink¿ÉÒÔË«»÷±ÕºÏºÍÕ¹¿ª¡£TWaver FlexµÄdemoÖÐÌṩÁ˸ü¼Ó·á¸»µÄÌØÐÔ¡£³ýÁË´«Í³µÄÁ¬ÏßË«»÷¶¯Ì¬À¦ÔúºÍ´ò¿ªÍ⣬»¹¿ÉÒÔ·Ö×éÀ¦Ôú¡¢À¦ÔúÐÎ×´¶¨Òå¡¢À¦Ôú´úÀí¶¯Ì¬¶¨Òå¡¢¸æ¾¯´úÀí³ÊÏÖ£¬µÈµÈ¡£
ÉÏͼÖÐÏ·½µÄÒ»×éÁ¬Ïߣ¬ÆäÖÐÀ¶É«¡¢ºìÉ«¡¢ÂÌÉ«µÄÁ¬Ïß¿ÉÒÔÓв»Í¬µÄÐÎ×´£¬ËûÃÇ¿ÉÒÔ·Ö±ðË«»÷Õ¹¿ª¡¢±ÕºÏ¡£Ë«»÷ÈÎÒâÀ¶É«Á
Ïà¹ØÎĵµ£º
--------web.xmlÎļþ
<listener>
<listener-class>flex.messaging.HttpFlexSession</listener-class>
</listener>
--------Java´úÂë
public class GetSeesion {
/**
* ÉèÖÃsession
* */
public ......
FlexÖеı¾µØ¹²Ïí¶ÔÏó--SharedObject
±¾µØ¹²Ïí¶ÔÏóÓÐʱ±»³Æ×÷“Flash Cookie”£¬ËüÊÇÒ»¸öÊý¾ÝÎļþ£¬¿ÉÒÔÓÉËù·ÃÎʵÄÕ¾µãÔÚÄúµÄ¼ÆËã»úÉÏ´´½¨¡£ÔÚFlashÖÐÌṩÁËÏÂÃæµÄ²Ù×÷±¾µØ¶ÔÏóµÄ·½·¨£º
SharedObject.clear() ɾ³ý±¾µØ¹²Ïí¶ÔÏó£»
SharedObject.flush() Á¢¼´°Ñ¹²Ïí¶ÔÏóÊý¾ÝдÈë±¾µØÎļþ£»
SharedObject.getLoc ......
µÇ½ҳÃæ
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" creationComplete="init()">
<mx:Script>
<![CDATA[
import flash.net.navigateToURL;
private function setCookie():void{
&nb ......
ºÏÊÇActionScript Öй¦ÄÜÇ¿´óµÄ»ùÓÚË÷ÒýµÄÊý×é×é¼þ£¬Ìí¼ÓÁËÈç¶ÔÄÚÈݽøÐÐÅÅÐòµÈ¹¦ÄÜ£¬
²Ù×÷Êý×éµÄ¶ÁȡλÖ㬴´½¨¾¹ýÅÅÐòµÄÊý×éÊÓͼ¡£¼¯ºÏÒ²ÄÜ֪ͨÆäÈÎÒâʼþ¼àÌýÆ÷¼àÌýÆäÊý
¾ÝÊÇ·ñ¸Ä±ä£¬ÒÔ¼°ÈκÎÊý¾ÝÏî±»Ìí¼Óµ½Ô´Êý×éʱ¿ÉÖ´ÐÐ×Ô¶¨ÒåÂß¼¡£µ±Êý¾Ý¸Ä±äʱ¿É֪ͨÆä
¼àÌýÆ÷£¬ÕâÊǼ¯ºÏµÄй¦ÄÜ£¬½ÐÊý¾Ý°ó¶¨£¬»¹ÓоÍÊÇÔÊÐíDataG ......
==============flex===========
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" initialize="Service.GetCustomers.send();" width="689" height="592">
<mx:WebService id="Service" wsdl="ht ......