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

JAVAºÍFlexÃô½Ýµ÷ÓÃ(¶þ)

    FlexÔÚºÍjavaµ÷Óùý³ÌÖУ¬ÆäʵÓиü¼ÓÁé»îµÄ°ì·¨À´Ìá¸ßϵͳµÄÃô½Ý¶È£¬¼«´óÌá¸ßϵͳµÄñîºÏºÍ¿ª·¢Ð§ÂÊ¡£ÔÚÕâÀïÎÒ¼ÌÐø¸ø´ó¼Ò½éÉÜһϣ¬Ãô½Ýµ÷ÓÃÖеÄjava¶¯Ì¬´úÂëµ÷Óá£
    ÏÈ¿´javaµÄÀà(BeanShell)ÕâÀïÖ÷ÒªÊǽÓÊÕjava´úÂëÀ´¶¯Ì¬µ÷ÓõÄ
    package com.shine.framework.beanShell;
import bsh.Interpreter;
public class BeanShell {
public Object executBeanShell(String code) {
try {
Interpreter inter = new Interpreter();
inter.eval(code);
return inter.get("result");
} catch (Exception e) {
e.printStackTrace();
return null;
}
}
}
   È»ºó°Ñ¸ÃÀàÅäÖõ½remoting-config.xml
  <destination id="beanShell">
<properties>
<source>com.shine.framework.beanShell.BeanShell</source>
</properties>
</destination>
  ÔÙдһ¸ö¾²Ì¬µÄbeanShellÔÚactionscript£¬ÒÔµ¥Àýģʽ
  package com.shine.framework.beanShell
{
import mx.rpc.events.FaultEvent;
import mx.rpc.events.ResultEvent;
import mx.rpc.remoting.mxml.RemoteObject;
import mx.controls.Alert;
public class BeanShell
{
private static var _instance:BeanShell;
private var method:Function;
public function BeanShell(enforcer:SingletonEnforcer)
{
}
public static function getInstance():BeanShell
{
if (BeanShell._instance == null)
{
BeanShell._instance=new BeanShell(new SingletonEnforcer());
}
return BeanShell._instance;
}
public function beanShell(code:String, method:Function=null):void
{
this.method=method;
var beanShell:RemoteObject=new RemoteObject;
beanShell.destination="beanShell";
beanShell.addEventListener(FaultEvent.FAULT, error);
beanShell.endpoint="messagebroker/amf";
beanShell.executBeanShell(code);
beanShell.addEventListener(ResultEvent.RESULT, getRomoteHelloRes);
}
private function getRomoteHelloRes(e:ResultEvent):void
{
if(this.method!=null){
this.method.call(this, e.result);
}
}


Ïà¹ØÎĵµ£º

ËÄ¡¢¶ÔjavaÈëÃŵļ¸µã½¨Òé

   òËƱȽ϶࣬²»¹ý¶à¶®µã£¬Ò²Ã»Ê²Ã´²»ºÃ¡£
 1¡¢ÊìϤjdbc£¬»áÓÃjdbc¡£
 2  »áдsqlºÍ´æ´¢¹ý³Ì¡£
 3¡¢ÊìϤswing¿Ø¼þ¡¢²»¹ý²»½¨ÒéÓÃswing¿ª·¢¿Í»§¶Ë
 4  ÊìϤ swt£¬rcp ¿Í»§¶Ë£¬½¨ÒéÓÃrcp¿ª·¢¿Í»§¶Ë
 5  ÊìϤjsp servlet
 6  ÊìϤtomcat£¬ÖÁÉÙÖªµÀweb¡£x ......

Æß Java EE

   ʲôÊÇjava EEÁË¡£Ò»°ãÀ´Ëµ£¬Ò»¸ö³ÉÊìµÄjava EE½â¾ö·½°¸£¬°üÀ¨ÒÔϼ¸¸ö²¿·Ö¡£
 
 1¡¢¿ÉÒÔ¶ÔÍâÌṩ»ùÓÚ±ê׼ЭÒéÈçxmlµÄ·þÎñ
ÈçWeb Service
 2¡¢ÄÚ²¿Í¨ÐÅ»ùÓÚÃæÏò¶ÔÏóµÄͨÐÅЭÒé
Èç RMI£¬Corba£¬XML RPC
 3¡¢°²È«ÐԸߣ¬È¨ÏÞ¿ØÖÆÑϸñ
Èç MD5£¬SSL£¬AccountDomain
 4 &nbs ......

Java»ù´¡ÖªÊ¶µÄÈýÊ®¸ö¾­µäÎÊ´ð

1¡¢ÃæÏò¶ÔÏóµÄÌصã
³éÏó£º
³éÏóÊÇ»òÂÔÒ»¸öÖ÷ÌâÖÐÓ뵱ǰĿ±êµÄÎ޹صÄÒòËØ£¬Ò»±ß³ä·Ö¿¼ÂÇÓйصÄÄÚÈÝ¡£³éÏó²¢²»Äܽâ¾öÄ¿±êÖÐËùÓеÄÎÊÌ⣬ֻÄÜÑ¡ÔñÆäÖеÄÒ»²¿·Ö£¬ºöÂÔÆäËûµÄ²¿·Ö¡£³éÏó°üº¬Á½¸ö·½Ã棺һÊǹý³Ì³éÏó£»Ò»ÊÇÊý¾Ý³éÏó¡£
¼Ì³Ð
¼Ì³ÐÊÇÒ»ÖÖÁª½ÓÀàµÄ²ã´ÎÄ£ÐÍ£¬ÔÊÐíºÍ¹ÄÀøÀàµÄÖØÓã¬ÌṩÁËÒ»ÖÖÃ÷È·µÄ¹²ÐԵķ½·¨¡£¶ÔÏóµ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ