Java+FlexÕûºÏÓ¦Óüòµ¥Ê¾Àý (mx:RemoteObject)
1.java
Java´úÂë
package com;
public class LoginDemo {
public String validate(String username,String password){
String message ="login failed!";
if(username.equals("lin")&&password.equals("lin")){
message = "login successed!";
}
return message;
}
}
package com; public class LoginDemo { public String validate(String username,String password){ String message ="login failed!"; if(username.equals("lin")&&password.equals("lin")){ message = "login successed!"; } return message; } }
2.remoting-config.xml
Java´úÂë
<?xml version="1.0" encoding="UTF-8"?>
<service id="remoting-service"
class="flex.messaging.services.RemotingService">
<adapters>
<adapter-definition id="java-object" class="flex.messaging.services.remoting.adapters.JavaAdapter" default="true"/>
</adapters>
<default-channels>
<channel ref="my-amf"/>
</default-channels> &
Ïà¹ØÎĵµ£º
2008 Äê 6 ÔÂ 24 ÈÕ
ÔÎĵØÖ·£º http://www.ibm.com/developerworks/cn/data/library/techarticles/dm-0806wangys/
±¾ÎĽéÉÜ IBM FileNet P8 4.0 Platform ÌṩµÄ Content Java API¡£Ê×ÏÈ¶Ô FileNet P8 Content Engine ºÍ API ½øÐиÅÒª½éÉÜ, ²¢ËµÃ÷ÁËһЩ»ù±¾¸ÅÄËæºóÏêϸ½éÉÜÁË FileNet Content EngineÌṩµÄ»ùÓÚ EJB ......
×î½ü¹«Ë¾Åöµ½ÐèÒªÓÃͼ±íµÄÐÎʽÏÔʾһЩÊý¾Ý£¬ÎҾͿªÊ¼µ½ÍøÉϲéѯ£¬²éµ½ÁËjfreechartºÍamcharts,ÕâÁ½ÕßÎÒ¶¼ÊµÏÖ¹ýÁË£¬jfreechart×îºóÉú³ÉͼƬ£¬µ«ÊÇͼƬЧ¹û²»ÊÇÎÒÏëÒªµÄ£¬È»ºóÓÖÑо¿amcharts ËüµÄЧ¹ûȷʵºÜºÃ£¬¶øÇÒ¹Ù·½ÍøÕ¾ÉÏ»¹ÓкÃЩÀý×ӿɹ©ÏÂÔØ£¬ÍøÖ·ÊÇ:www.amcharts.com
£¨ÏëÒªÍê³ÉÒ»¸öamchartsͼÐÎÐèÒªswfobjects. ......
public class Demo
{
static int i=1;
static
{
i++;
}
public Demo()
{
......
Flex4Öж¯Ì¬¼ÓÔØCSSÎļþµÄ·½Ê½ÒѾºÍFlex3ÓÐÁËÒ»¶¨µÄÇø±ð
Ö÷Òª²½ÖèÈçÏ£º
1.±àд²»Í¬µÄCSSÎļþ
¼ûºóÎÄ
2.½«CSSÎļþ±àÒë³ÉSWFÎļþ
ÔÚFlashBuilderÖÐÓÒ¼üCSSÎļþ£¬Ñ¡ÔñCompile CSS to SWF£¬
Õâʱbin-debugĿ¼ÏµĶÔӦλÖþͻáÉú³ÉÒ»¸öÓëCSSͬÃûµÄSWFÎļþ¡£
Ñ¡Öкó¸ÃÑ¡ÏîÇ°»áÓй´£¬Ö®ºóÖ»ÒªÐÞ¸ÄÁËCSSÎļþ£¬¾Í»á×Ô¶¯±àÒ ......
ÒµÄÚÖøÃû»¥ÁªÍø×Éѯ»ú¹¹iResearch°¬Èð×Éѯµ÷²éÏÔʾ, Ëæ×ÅÖîÈ翪Ðijø·¿ÀàÍøÂçÓÎÏ·, ÓÅ¿áÍøÀàÊÓƵ·ÖÏíÍøÕ¾, ÒÔ¼°ÐÂÀ˲ƾ, »ª¶û½Ö¹ÉÊзÖÎöϵͳºÍ¸÷ÀàÓÕÈ˵ÄÍøÂç¹ã¸æµÈ¸»»¥ÁªÍøÓ¦ÓÃϵͳµÄ¼±¾çÔö¼Ó, ×÷Ϊ×î¼Ñ¸»»¥ÁªÍøÓ¦Óýâ¾ö·½°¸µÄFlex¼¼ÊõÈ˲ŽøÈëÑÏÖØÆæȱ½×¶Î. ¾Ý¿É¿¿Êý¾Ý, Ä¿Ç°¹úÄÚ¸÷ÀàFlashÉè¼ÆʦºÍFle ......