£¨×ª£©javaÓëflexͨÐÅ
£¨×ª£©javaÓëflexͨÐÅ
Ò»¡¢×¼±¸£º
·þÎñ¶Ë£ºJDK1.5 £¨Õâ¸ö²»ÓýéÉÜÁË°É£¿£©
·þÎñ¶ËIDE£ºeclipse £¨ËüµÄÖ÷Ò³£©
¿Í»§¶Ë£ºFLEX 3 £¨Adobe® Flex® 3 ÊÇÓÃÓÚ¹¹½¨ºÍά»¤ÔÚËùÓÐÖ÷Òªä¯ÀÀÆ÷¡¢×ÀÃæºÍ²Ù×÷ϵͳһÖµز¿ÊðµÄ¼«¾ß±íÏÖÁ¦µÄ Web Ó¦ÓóÌÐòµÄ¸ßЧÂʵĿª·ÅÔ´Âë¿ò¼Ü¡££©
¿Í»§¶ËIDE£ºFlex Builder 3 £¨ËüµÄ¹Ù·½ÕªÒªÒ³£©
¶þ¡¢Ôµ·ÖµÄÏàÓö£¨½¨Á¢Á¬½Ó£©£º
¼ÈÈ»ÊÇͨÐÅ£¬µ±È»µÚÒ»²½¾ÍÊÇÒª½¨Á¢Á¬½ÓÀ²¡£ÎÒÃÇ»¹ÊÇÓÃ×î¼òµ¥µÄ¿´´úÂëµÄ·½Ê½À´¿ªÊ¼ÎÒÃǵÄÁ¬½Ó¡£
==========================================
==·þÎñ¶Ë´úÂ룺Jserver1.java
==========================================
import java.net.*;
import java.io.*;
public class Jserver1 {
public static void main(String[] args) {
ServerSocket server=null;
try{
server=new ServerSocket(719);//Ôڶ˿Ú719½¨Á¢Ò»¸ö·þÎñÆ÷Ì×½Ó×Ö¶ÔÏó
System.out.println("·þÎñ¶ËµÈ´ý");
while(true){
System.out.println("µÈ´ý¿Í»§»ú");
Socket newSocket=server.accept();//¿Í»§¶ËÏòÎÒÃǽ¨Á¢µÄ·þÎñÆ÷Ì×½Ó×Ö·¢ËÍÁ¬½ÓÇëÇó,ÔòÏòÏÂÖ´ÐÐ
System.out.println("ÒÑÓë¿Í»§»úÁ¬½Ó");
}
}catch(IOException ie)
{
System.out.println(ie);
}finally{
try
{
if(server!=null) server.close();//¹Ø±Õ·þÎñÆ÷Ì×½Ó×Ö¡£ÎªÊ²Ã´ÒªÓÃfinally¹Ø¼ü×ÖÀ´×öÕâ¸öÊÂÄØ£¿HOHO thinking in javaÀï´óʦÒѾ˵µÃºÜÇå³þÁË£¬¾ÍÊÇÎÞÂÛ³öÏÖʲôÒì³££¬¶¼±£Ö¤ÎÒÃǵķþÎñ¶ËÌ×½Ó×ÖÄܱ»¹Ø±Õ¡£
}catch(IOException ie){}
}
}
¸´ÖÆ´úÂë
¸Â¸Â£¬ÔõôÑù ×¢ÊÍдµÃ¹»Çå³þÁË°É£¿OK ÈÃÎÒÃDZàÒëÔËÐУ¬µÃµ½µÄ½á¹ûÓ¦¸ÃÈçͼ£º
OK ÔÙÈÃÎÒÃÇÀ´¿´¿´¿Í»§¶ËµÄ´úÂëÊÇÔõôÑùµÄ£º
==========================================
==¿Í»§¶Ë´úÂ룺Jclient1.mxml
===================================================
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" creati f width="349" height="326">
<mx:Script>
<![CDATA[
import flash.net.Socket;
private var socket:Socket;
internal function initApp():void
{
&nb
Ïà¹ØÎĵµ£º
¶¹¶¹Íø ¼¼ÊõÓ¦ÓÃƵµÀ 2009Äê06ÔÂ10ÈÕ ¡¾×ֺţºÐ¡ÖÐ´ó¡¿ Êղر¾ÎÄ
JProfiler memcached JavaCC EclEmma Jester Java¼ÓÃܼ¼Êõ£¨Æߣ©¡£
¡¡¡¡ECC
¡¡¡¡ECC-Elliptic Curves Cryptography£¬ÍÖÔ²ÇúÏßÃÜÂë±àÂëѧ£¬ÊÇÄ¿Ç°ÒÑÖªµÄ¹«Ô¿ÌåÖÆÖУ¬¶Ôÿ±ÈÌØËùÌṩ¼ÓÃÜÇ¿¶È×î¸ßµÄÒ»ÖÖÌåÖÆ¡£ÔÚÈí¼þ×¢²á ......
HMAC
HMAC£¨Hash Message Authentication Code£¬É¢ÁÐÏûÏ¢¼ø±ðÂ룬»ùÓÚÃÜÔ¿µÄHashËã·¨µÄÈÏÖ¤ÐÒé¡£ÏûÏ¢¼ø±ðÂëʵÏÖ¼ø±ðµÄÔÀíÊÇ£¬Óù«¿ªº¯ÊýºÍÃÜÔ¿²úÉúÒ»¸ö¹Ì¶¨³¤¶ÈµÄÖµ×÷ΪÈÏÖ¤±êʶ£¬ÓÃÕâ¸ö±êʶ¼ø±ðÏûÏ¢µÄÍêÕûÐÔ¡£Ê¹ÓÃÒ»¸öÃÜÔ¿Éú³ÉÒ»¸ö¹Ì¶¨´óСµÄСÊý¾Ý¿é£¬¼´MAC£¬²¢½«Æä¼ÓÈëµ½ÏûÏ¢ÖУ¬È»ºó´«Êä¡ ......
ÔÚJavaÖУ¬²»Í¬µÄÀ඼ÓÐ×Ô¼ºµ¥¶ÀµÄCache»úÖÆ£¬ÊµÏֵķ½·¨Ò²¿ÉÄÜÓÐËù²»Í¬£¬ÎÄÕÂÁоÙÁËJavaÖг£¼ûµÄ¸÷ÀàCache»úÖƵÄʵÏÖ·½·¨£¬Í¬Ê±½øÐÐÁË×ۺϵıȽϡ£
OSCache
OSCacheÊǸöÒ»¸ö¹ã·º²ÉÓõĸßÐÔÄܵÄJava EE»º´æ¿ò¼Ü£¬OSCacheÄÜÓÃÓÚÈκÎJavaÓ¦ÓóÌÐòµÄÆÕͨµÄ»º´æ½â¾ö·½°¸¡£
OSCacheÓÐÒÔÏÂÌص㣺»º´æÈκζÔÏó£¬Äã¿ÉÒÔ²»ÊÜÏÞÖƵ ......
ÒòΪÎÞÂÛÊÇFLEX£¬»¹ÊÇSilverlight¡¢AJAX£¬ËûÃǶ¼ÎÞ·¨Ö±½Ó²Ù×÷Êý¾Ý¿â£¨¾Ý×îÐÂÏûÏ¢£¬Î¢ÈíÓÐÁËMicrosoft .NET RIA Services£¬Ëü¿ÉÒÔÖ±½Ó²Ù×÷Êý¾Ý¿â£¬ÎÒÆÚ´ý×ÅËýÄÜÔÚVS2010ÖгöÏÖ£©£¬Í¨³£ÓÃWEBSERVICEµÈÖмäÈ˵ķ½Ê½À´½øÐÐSOAPÐÒéµÄµÄÎı¾´«Ê䣬ЧÂʺܵͣ¨´ó¼ÒÊÔһϾͻáÖªµÀ¼òÖ±ÎÞ·¨ÈÌÊÜ£©£¬FLEXΪÁ˼ӿ촫ÊäËٶȣ¬ÓÚÊÇÖƶ¨ÁË ......