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

flex ºÍ java (web)µÄ×éºÏ¿ª·¢

 1¡¢¿ª·¢»·¾³£ºÔÚmyeclipse7.0ÖÐÕûºÏflex plup3.0, °²×°flex plup3.0ʱ,Ñ¡myeclipse ÖÐeclipseµÄĿ¼£¬È»
      ÕÒµ½flex µÄ°²×°ºÃµÄĿ¼£¬½«pluginsºÍfeatures¶ÔÓ¦µ½¿½µ½myeclipseÀïÃæ eclipseÏàÓ¦µÄĿ¼Ï¡£
2¡¢´´½¨ flexºÍ java (Web)µÄ¹¤³Ì(ͨÐÅ¿ò¼ÜÓÃblazeds.war)£º
               1¡¢ÔÚmyeclipse7ÏÂתµ½flex¿ª·¢»·¾³£¬´´½¨flex¹¤³Ì flexssh:
               2¡¢ÓÒ¼ü´´½¨ºÃµÄflex ¹¤³Ì,ΪflexÌí¼Ó webÄÜÁ¦£¬Ê¹Ö®ÓÐwebÄÜÁ¦£¬²Å¿ÉÒÔʹÓÃssh¿ò¼Ü.
 ¶þ¡¢flexºÍjavaµÄͨÐÅ
дһ¸öjavaÀà:
package com.qili.flexssh.test;
import com.qili.flexssh.util.UploadFile;
public class Hello {
 public String say(String yourworld){
  System.out.println("at:"+UploadFile.getNowDatetime()+" you say:"+yourworld);
  return "at:"+UploadFile.getNowDatetime()+" you say:"+yourworld;
 }
}
ÔÚWebRoot/WEB-INF/flex/remoting-config.xml ÏÂÌí¼Ó  
<destination id="hello_java_class"> <!-- flex mxmlÒ³ÃæÒªµ÷ÓõÄID -->
        <properties>
         <source>com.qili.flexssh.test.Hello</source> <!-- javaÖеÄÀà -->
        </properties>
   </destination>
       
 
    3) Ò³ÃæÐ´ flex³ÌÐò
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">
 <mx:Script>
  <![CDATA[
   import mx.events.ResourceEvent;
   import mx.controls.Alert;
   import mx.rpc.events.ResultEvent;
   [Bindable]private var returnmess:String;  //»ñÈ¡javaÀàÀïÃæµÄ·½·¨»Øµ÷µÄÖµ
   function sendMess():void{
    var myworld:


Ïà¹ØÎĵµ£º

JavaÏß³Ìͬ²½Ê¾Àý

ÎÄÕÂÓÃʵÀý´úÂëչʾÁËJavaÖжàÏ̷߳ÃÎʹ²Ïí×ÊÔ´
ʱÏß³Ìͬ²½
µÄÖØÒªÐÔ¡£
·Ö±ðͨ¹ýÔÚÁ½¸öÏß³ÌÖÐͬʱ·ÃÎÊ(µ÷ÓÃget_id*·½·¨)¾­¹ýͬ²½´¦Àí(lock¼°Synchronized)µÄ¹²Ïí×ÊÔ´(tmp)¼°Î´¾­¹ýͬ²½´¦ÀíµÄ¹²Ïí×ÊÔ´(tmp)À´ËµÃ÷ͬ²½´¦ÀíµÄµÄ×÷Óá£
mainÖзÖÁ½²¿·Ö:
1£©Ç°°ë²¿·Ö£¬non-synchronization²¿·ÖÓÃÀ´²âÊÔûÓÐ×öͬ²½´¦ÀíµÄ´úÂë ......

Java³ÌÐòͨ¹ýwekaµ÷ÓÃlibsvmºÍliblinearµÄ·½·¨

¡¶Java³ÌÐòͨ¹ýwekaµ÷ÓÃlibsvmµÄ·½·¨¡·Ò»ÎIJûÊöÁ˵÷ÓÃLibSVMµÄ¼òµ¥·½·¨£¬ÕâÀïÖ÷Òª²¹³äËĵ㣺
1.       LibSVMÔÚweka3.5°æÒÔºó¶¼¼¯³ÉÁ˰ü×°£¬ÎÞÐëÔÙʹÓÃWLSVM£¬ËùÒÔÉÏÎÄÖеÄWLSVMÏà¹ØµÄÄÚÈÝ¿ÉÒÔÈ¥³ý£¬¶øÀàÐÍWLSVM¿ÉÒÔ»»³ÉLibSVM£¬ÐèÒªÌí¼Ó°ü
import weka.classifiers.functions.LibSVM;
ÎÞ ......

flexÖеĶ¯Ì¬ÊµÏÖremoteobject

ÔÚflexÖУ¬Ò»°ãÖ±½ÓÔÚÉè¼ÆÊ±Ð´remoteobjectµÄ»°£¬Õâ¸öÊÇ±È½ÏÆÕ±éÁË£¬µ«ÓеÄʱºò£¬ÐèÒªÔÚAS´úÂëÖж¯Ì¬ÉèÖÃ
remoteobject,Õâ¸ö±È½ÏÉÙ¼û£¬ËùÒÔС½áѧϰ֮£º
   Çé¾°ÊÇ£¬µ±Ò³Ãæ¼ÓÔØÊ±£¬´úÂëн¨Á¢Ò»¸öremoteobject£¬È»ºóÉèÖÃÆä·½·¨ºÍµ÷ÓòÎÊý£¬×îºó°Ñµ÷Ó÷µ»ØµÄ½á¹û£¨ÊÇJAVAÖеÄÒ»¸öLIST£©£¬°ó¶¨µ½
Ò»¸örepeater¿Ø ......

Java/JSPÖÐÎÄÂÒÂëÎÊÌâ½â¾öÐĵÃ

Java/JSPÖÐÎÄÂÒÂëÎÊÌâ½â¾öÐĵÃ
×Ô´Ó½Ó´¥JavaºÍJSPÒÔÀ´£¬¾Í²»¶ÏÓëJavaµÄÖÐÎÄÂÒÂëÎÊÌâ´ò½»µÀ£¬ÏÖÔÚÖÕÓڵõ½Á˳¹µ×µÄ½â¾ö£¬ÏÖ½«ÎÒÃǵĽâ¾öÐĵÃÓë´ó¼Ò¹²Ïí¡£
Ò»¡¢JavaÖÐÎÄÎÊÌâµÄÓÉÀ´
JavaµÄÄں˺ÍclassÎļþÊÇ»ùÓÚunicodeµÄ£¬ÕâʹJava³ÌÐò¾ßÓÐÁ¼ºÃµÄ¿çƽ̨ÐÔ£¬µ«Ò²´øÀ´ÁËһЩÖÐÎÄÂÒÂëÎÊÌâµÄÂé·³¡£Ô­ÒòÖ÷ÒªÓÐÁ½·½Ã棬JavaºÍJS ......

ÈÏʶJavaÐéÄâ»úµÄÄÚ²¿Ìåϵ½á¹¹

JavaÐéÄâ»úµÄÄÚ²¿Ìåϵ½á¹¹Ò²ÐíºÜÉÙÓÐÈËÈ¥¹ØÐÄ£¬ÒòΪ¶ÔÓÚJava³ÌÐòÔ±À´Ëµ£¬Ò»°ãÖ»ÐèÒª¸úAPI´ò½»µÀ¾Í¿ÉÒÔÁË¡£ÕâЩÌåϵ½á¹¹Ö»ÊÇJavaÐéÄâ»úÄÚ²¿µÄ½á¹¹¶øÒÑ¡£µ«ÊÇÈç¹ûÀí½âÁËÆäÄÚ²¿½á¹¹£¬¶ÔÓÚÎÒÃÇ¿ª·¢ÏîÄ¿£¬ÒÔ¼°ÅųýϵͳÖеÄÏà¹Ø¹ÊÕÏÊÇÓɰïÖúµÄ¡£
ÏÈ¿´¿´×ÜÌå½á¹¹Í¼£¬ÈçÏ£º
¸÷²¿·ÖµÄÖ÷Òª¹¦ÄÜ·Ö±ðÊÇ£º
1. Àà×°ÔØ×Óϵͳ:¸ºÔðJavaÀ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ