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

flex remoteObject java ½»»¥

ÒÔÇ°Ò»Ö±Óà HttpServices Á¬½Ó. ºóÀ´·¢À´ÓеÄÏîÄ¿ÓõÄÊÇremoteObject Á¬½Ó,Óе㿴²»¶®,Ëù
ÒÔÓÃËüÏȲâÊÔÒ»ÏÂ.²»¹ýÄØ.·þÎñÆ÷²¿·Ö²»ÖªµÀÔõôдÁË£¿

<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
layout="absolute">


<mx:Script>
<![CDATA[
import mx.rpc.events.ResultEvent;

private function say():void {
var user:User = new User() ;
user.setId(1) ;
user.setName("hello") ;
sayRemote.SayHello(user) ;
}

private function SayRem(event:ResultEvent):void {
target.text = event.result as String ;
}

]]>
</mx:Script>
<mx:RemoteObject  id="sayRemote">
<mx:method name="SayHello" result="SayRem(event)" />
</mx:RemoteObject>

<mx:TextInput id="n"  change="say()"/>
<mx:Label text="target" id="target" />
</mx:Application>

package
{
[RemoteClass(alias="User")]
public class User
{

public var name:String ;
public var id:int ;

public function User()
{
}



Ïà¹ØÎÊ´ð£º

java±àÒëÔËÐÐc³ÌÐò£¬²¢ÏÔʾ½á¹û

ͨ¹ýjava³ÌÐò£¬ÏȱàÒëc³ÌÐò£¬Èç³öÏÖ´íÎó£¬ÌáʾC³ÌÐòÖеĴíÎ󣬱àÒë³É¹¦¾ÍÔËÐУ¬ÏÔʾCµÄÔËÐнá¹û£¬×îºÃ°ÑCµÄÔËÐÐʱ¼äºÍÄÚ´æµÈ¶¼ÏÔʾ³öÀ´

¸÷λ´ó¸ç´ó½ã°ï°ï棬СµÜ¸Ð¼¤²»¾¡£¡
ÓÃjavaµÄ½ø³ÌÀàÊÔÊÔ
ÎÒ¸øÄãת ......

jsp ÖÐÂÒÂëµÄ - Java / Web ¿ª·¢

ÎҵĿª·¢µÄƽ̨ÊÇMyeclipes6.0 + tomcat5.x + mysql
ÎÒËùÓеıàÂ뷽ʽ¶¼ÊÇÓõÄUTF-8 
ÎÒÖ»ÓÃÁËStrtus¿ò¼Ü
ÔÚÒ»¸öformÖÐÈçÏÂÓõÄÊÇpostµÄÌá½»·½Ê½£º
 <form class="form" action=&quo ......

[Ñ°ÕÒÈ˲Å]ÉϺ£ÍâÆó·JAVA¹¤³Ìʦ£¨ÄÚÓÐ4¸öְ룩

¹¤×÷µØµã£ºÉϺ£ÕŽ­
ѧÀúÒªÇ󣺴󱾻òÒÔÉÏ
רҵҪÇ󣺼ÆËã»úÏà¹Øרҵ
Ó¢ÓÊìÁ·£¨ÃÀ¹úÏîÄ¿£¬Ó¢Ó﹤×÷»·¾³£¬Ó¢ÓïÊDZØÐ룩

¼òÀúͶµÝ£ºwendy_qian@163.com

MSN£ºwendydzmm@hotmail.com

......

JAVA×Ö·ûÁ÷ÎÊÌâ

×Ö·ûÁ÷µÄ¶ÁºÍд×îÖÕÔڵײ㶼ÊÇͨ¹ý×Ö½ÚÁ÷À´Íê³ÉµÄÂ𣿡¡¶ÁдÎı¾Îļþ×Ö·ûÁ÷Ó¦¸Ã¾Í¿ÉÒÔÁË°É¡£¡£
¸÷λ´ó¸ç´ó½ã°ï°ïæ°¢

JavaÁ÷°üÀ¨×Ö½ÚÁ÷ºÍ×Ö·ûÁ÷£¬×Ö½ÚÁ÷ͨ¹ýIOÉ豸ÒÔ×Ö½ÚÊý¾ÝµÄ·½Ê½¶ÁÈ룬¶ø×Ö·ûÁ÷ÔòÊÇͨ¹ý×Ö½ÚÁ÷ ......

javaÎÊÌâ

127ĬÈÏÊÇintÀàÐÍ£¬ÎªÊ²Ã´
byte a=127;
short b=127;
ÕâÁ½¸ö±í´ïʽ¿ÉÒÔ³ÉÁ¢£¬¸ßµÄ¸³Öµ¸øµÍµÄ²»ÊÇÓ¦¸ÃÇ¿ÖÆÀàÐÍת»»

Java³ÌÐòÀï,´´½¨ÐµÄÀà¶ÔÏóÓùؼü×Önew£¬»ØÊÕÎÞÓõÄÀà¶ÔÏóʹÓùؼü×Öfree  Õ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ