Ò׽ؽØÍ¼Èí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

flexÓëºǫ́Java½»»¥

Ôõô½â¾öflexÓëJava´úÂë½»»¥Ê±µÄÒ첽ͨÐÅÎÊÌ⣿£¿³ýÁ˰ѷ½·¨·ÅÈëresultÖл¹ÓÐʲô°ì·¨£¿
AbstractOperationµÄsend()·½·¨·µ»ØÒ»¸öAsyncToken¶ÔÏ󣬶øResultEventÒ²ÓÐtokenÊôÐÔ£¬ËüºÍsend()·½·¨·µ»ØµÄAsyncTokenÊÇͬһ¸ö¶ÔÏó¡£

¶¨ÒåÒ»¸ö Dictionary :
private var asyncTokens:Dictionary = new Dictionary();


RemoteObject£º

var operation:AbstractOperation = remoteObject.getOperation(methodName);
var token:AsyncToken = null;
operation.arguments = args;
token = operation.send();
asyncTokens[token] = {method: methodName, arguments: args};


HTTPService:

var token:AsyncToken = service.send(xml);
asyncTokens[token] = {requestData: xml};


È»ºó£º

private function resultHandler(event:ResultEvent):void
{
    trace(asyncTokens[event.token].method);
    trace(asyncTokens[event.token].args);
    ......

    delete asyncTokens[event.token];
}

private function faultHandler(event:FaultEvent):void
{
    delete asyncTokens[event.token];
}


ÓÃweb servers»òÕßremote·½Ê½

1·Ö...

Ò첽ͨÐźÃÏñ²»Ì«Á˽⣬µ«ÊÇFlexÓëJava½»»¥½¨ÒéÓÃBlazeDS£¬Ð§¹ûÁ¼ºÃ¡£


Ïà¹ØÎÊ´ð£º

java http ÎÊÌâ - Java / Java EE

ÎÊÌâÃèÊö£ºÐ´ÈÕÖ¾¹¦ÄÜ£¬Ð´ºÃµÄдÈÕÖ¾·þÎñ£¬ÆäËûÓû§Í¨¹ýhttpµ÷Ó÷þÎñ£¬´«Èë²ÎÊý£¬È»ºó¼Ç¼ÈÕÖ¾£¬
  ÎҵķþÎñ¸ÃÔõôд£¬ ±ðÈËÔõôͨ¹ýhttpµ÷ÓÃÎҵķþÎñ£¬ÎÒÓÃwebserviceдºÃÁËÒ»¸ö£¬¿ÉÊDz¢·¢ÓÐÉÏÏߣ¬Ïë¸ÄÓ ......

Ï£ÍûºÃÐÄÈ˰ï°ïÎÒ£¬ÓйØÊÖ»úqq2009µÄjava°æ

ÎÒÏ£ÍûÔڱ༭ÎÄ×Öºó°Ñ·¢Ëͼü¸Äµ½ÆÁÄ»Öм䣬¾ßÌå˵¾ÍÊÇ
ÔÚkb.classÖеIJ¿·Ö×÷³öÐÞ¸Ä


²¿·Ö´úÂ룺
V = new TextBox(ld.a(383), "", 190, 0);
        X = new Comma ......

jspÖÐinclude.incµÄ×÷ÓÃÊÇʲô£¿ - Java / Web ¿ª·¢

jspÖÐinclude.incµÄ×÷ÓÃÊÇʲô£¿

include.incɶÒâ˼£¿Ã»Ìý˵¹ý

Java code:
<%include file="include.inc"%>¼ÓÔØÍøÕ¾Ä¿Â¼include.incÎļþÄÚÈÝ

°üº¬Ò»¸ö¾²Ì¬Ò³Ãæ°É···

& ......

jspÒ³ÃæÖÐ×ÖÌå±äÉ«ÎÊÌâ - Java / Web ¿ª·¢

<html><head><title>[@title]</title>
<meta http-equiv=Content-Type content="text/html; charset=gb2312">
<script language='javascript'>
function diyCheck ......

java ·ÖÒ³¿Ø¼þ - Java / Web ¿ª·¢

ÄÇλ´óÏÀÄܸøÎÒÒ»¸öJavaͨÓõķÖÒ³¿Ø¼þ£¬ÎÒ½«·Ç³£¸Ð¼¤¡£
ÆäÖÐ×îºÃÄܰüº¬SQL Server2000£¬SQL Server2005£¬Oracle¡¢MySqlµÈºÜ³£ÓõÄһЩÊý¾Ý¿â·ÖҳʵÏÖ¡£
×îºÃÄܼÓÉÏһЩʵÀý£¬±ãÓÚÎÒʹÓá£
ÎÒµÄÓÊÏäÊÇgaolihua889 ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ