java»ñµÃÍøÒ³ÄÚÈÝ
Íøַץȡ Java API ¸ÅÊö
http://code.google.com/intl/zh-CN/appengine/docs/java/urlfetch/usingjavanet.html
App Engine Ó¦ÓóÌÐò¿ÉÒÔÓëÆäËûÓ¦ÓóÌÐò½øÐÐͨÐÅ»òͨ¹ýץȡÍøÖ··ÃÎÊÍøÂçÉϵÄÆäËû×ÊÔ´¡£Ó¦ÓóÌÐò¿ÉÒÔʹÓÃÍøַץȡ·þÎñÀ´·¢³ö HTTP ºÍ HTTPS ÇëÇó²¢½ÓÊÕÏìÓ¦¡£³öÓÚЧÂʺÍÀ©Õ¹ÐÔ¿¼ÂÇ£¬Íøַץȡ·þÎñʹÓà Google µÄÍøÂç»ù´¡½á¹¹¡£
Óà java.net ץȡÍøÖ·
Ìá³öÇëÇó
°²È«Á¬½ÓºÍ HTTPS
ÇëÇó±êÍ·
ÏìÓ¦
ÁªÏµ¹«Ë¾·À»ðǽ֮ºóµÄÖ÷»ú
ÍøַץȡºÍ¿ª·¢·þÎñÆ÷
Åä¶îºÍÏÞÖÆ
Óà java.net ץȡÍøÖ·
Äú¿ÉÒÔʹÓà Java ±ê×¼¿âÖÐµÄ java.net.URLConnection ºÍÏà¹ØÀ࣬ͨ¹ý Java Ó¦ÓóÌÐò´´½¨ HTTP ºÍ HTTPS Á¬½Ó¡£App Engine ʹÓÃÍøַץȡ·þÎñʵÏִ˽ӿڣ»ÄúµÄÓ¦ÓóÌÐòûÓÐÖ±½Ó´´½¨Ì×½Ó×ÖÁ¬½Ó¡£
»ñȡijÍøÖ·µÄÒ³ÃæÄÚÈݵÄÒ»ÖÖ¼òµ¥·½·¨ÊÇ´´½¨ java.net.URL ¶ÔÏó£¬È»ºóµ÷ÓÃÆä openStream() ·½·¨¡£¸Ã·½·¨¿É´¦Àí´´½¨Á¬½ÓµÄÏêÇ飬·¢³ö HTTP GET ÇëÇó£¬È»ºó¼ìË÷ÏìÓ¦Êý¾Ý¡£
import java.net.MalformedURLException;
import java.net.URL;
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.io.IOException;
// ...
try {
URL url = new URL("http://www.example.com/atom.xml");
BufferedReader reader = new BufferedReader(new InputStreamReader(url.openStream()));
String line;
while ((line = reader.readLine()) != null) {
// ...
}
reader.close();
} catch (MalformedURLException e) {
// ...
} catch (IOException e) {
// ...
}
¶ÔÓÚ¸ü¸´ÔÓµÄÇëÇó£¬Äú¿ÉÒÔµ÷ÓÃÍøÖ·¶ÔÏóµÄ openConnection() ·½·¨Ò
Ïà¹ØÎĵµ£º
Ôڳɹ¦ÊµÏÖJavaµ÷ÓÃC++Ö®ºó£¬½ÓÏÂÀ´Ïëµ½ÄÜ·ñͨ¹ýJNAʵÏÖJavaµ÷ÓÃFortran£¬½ñÌìÊÔÑéÁËһϣ¬»¹ÊDZȽÏÈÝÒ׵ġ£
ÍøÉÏÓÐÒ»¸öJavaµ÷ÓÃF95µÄÀý×Ó£¬µ«ÊÇÎÒ¿¼ÂDz»½öҪʵÏÖF95µÄµ÷Ó㬻¹ÒªÊµÏÖF77µÄµ÷Óã¬ËùÒÔ·ÑÁËһЩÖÜÕÛ¡£
ÎÊÌâµÄ¹Ø¼üÔÚÓÚF77Ϊ¹ý³ÌÃû×Ô¶¯Ìí¼ÓÁËÒ»¸öβ²¿µÄÏ»®Ïߣ¬ËùÒÔsub1Õâ¸ö¹ý³Ì£¬µ½JavaÒ»¶Ë£¬¾Í±ä³ÉÁËsub1_£¬ ......
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. ......
java¶¨Ê±Æ÷µÄʹÓÃ
¶¨Ê±Æ÷ÀàTimerÔÚjava.util°üÖС£Ê¹ÓÃʱ£¬ÏÈʵÀý»¯£¬È»ºóʹÓÃʵÀýµÄschedule(TimerTask task, long delay)·½·¨£¬É趨ָ¶¨µÄÈÎÎñtaskÔÚÖ¸¶¨µÄÑÓ³ÙdelayºóÖ´ÐС£¶¨Ê±Æ÷ÈÎÎñÀàTimerTaskÊdzéÏóÀ࣬¼Ì³Ð²¢ÖØдÆärun()·½·¨£¬¿ÉʵÏÖ¾ßÌåÈÎÎñ¡£
schedule(TimerTask task, Date time)É趨ָ¶¨ÈÎÎñtaskÔÚÖ¸ ......
javaÓïÑÔµ÷ÓÃdllµÄ·½·¨£º
1¡£¼ÓÔØdll£¬±ØÐëÊǾ²Ì¬·½·¨¡£
static{
System.loadLibrary(DllConstants.DLL_PATH);
}
2¡£½«dllÖпª·¢µÄ½Ó¿ÚÉùÃ÷Ϊ±¾µØ½Ó¿Ú
public native String[] getTxt();
......