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

jnlp£¨JavaÍøÂç¼ÓÔØЭÒ飩ԭÀ´ºÜ¼òµ¥


jnlp£¨JavaÍøÂç¼ÓÔØЭÒ飩ԭÀ´ºÜ¼òµ¥
Java Network Launching Protocol (JNLP£¬javaÍøÂç¼ÓÔØЭÒé)¡£
jnlpÊÇʲô£¿ÊÇjavaÌṩµÄÒ»ÖÖÈÃÄã¿ÉÒÔͨ¹ýä¯ÀÀÆ÷Ö±½ÓÖ´ÐÐjavaÓ¦ÓóÌÐòµÄ;¾¶£¬ËüʹÄã¿ÉÒÔÖ±½Óͨ¹ýÒ»¸öÍøÒ³ÉϵÄurlÁ¬½Ó´ò¿ªÒ»¸öjavaÓ¦ÓóÌÐò£®ºÃ´¦¾Í²»ÓÃ˵ÁË£¬Èç¹ûÄãµÄjavaÓ¦ÓóÌÐòÒÔjnlp µÄ·½Ê½·¢²¼£¬Èç¹û°æ±¾Éý¼¶ºó£¬²»ÐèÒªÔÙÏòËùÓÐÓû§·¢²¼°æ±¾£¬Ö»ÐèÒª¸üзþÎñÆ÷µÄ°æ±¾£¬Õâ¾ÍÏ൱ÓÚÈÃjavaÓ¦ÓóÌÐòÓÐÁËwebÓ¦ÓõÄÓŵãÁË£®
ÈçºÎʹÓÃjnlp:
1.°ÑÄãµÄÓ¦Óôò°ü³ÉÒ»¸ö¿ÉÖ´ÐеÄjarÎļþ£¬·ÅÔÚ¿ÉÒÔ·ÃÎʵÄwebĿ¼ÏÂ,ÈçappTest.jar£®
ÓÃant½Å±¾¿ÉÒÔÕâÑù,µ±È»Ò²¿ÉÒÔÊÖ¹¤ÓÃjar¹¤¾ß´ò°ü£®
        <jar destfile="${desc.dir}/${youApp.jarName}" update="true" compress="true">
   <manifest>
      <attribute name="Main-Class" value=""com.youApp.MainClass"/>
   </manifest>
   
   <fileset dir="${class.dir}">
    ...
   </fileset>
        </jar>
2.±àдһ¸öxmlÎļþtest.jnlp ÄÚÈÝÈçÏÂ
<?xml version="1.0" encoding="UTF-8"?> 
<jnlp codebase="http://localhost/yousite/
" name="SeatingChartBuilder" 
   href="http://localhost/yousite/test.jnlp
"> 
   <information>
        <title>Seating Chart Builder</title>
        <vendor>Etix.com, Inc.</vendor>
        <offline-allowed/>
 <description>An Application To Seating Chart Builder!</description>
   </information>
   <application-desc main-class="com.youApp.MainClass"/><!--ÕâÀïÊÇÄãµÄÓ¦ÓõÄÈë¿Ú³ÌÐòÃû-->
   <security>
      <all-permiss


Ïà¹ØÎĵµ£º

Java ¼¼Êõ£¬IBM ·ç¸ñ: À๲Ïí


Java™ 5.0 ƽ̨µÄ IBM ʵÏÖÖÐÐµĹ²ÏíÀàÌØÐÔÌṩÁËÒ»ÖÖÍêȫ͸Ã÷ºÍ¶¯Ì¬µÄ·½·¨£¬¿ÉÒÔ¹²ÏíÒѾ­×°ÔصÄËùÓÐÀ࣬¶ø²»»á¶Ô¹²ÏíÀàÊý¾ÝµÄ JVM Ê©¼ÓÏÞÖÆ¡£Õâ¸öÌØÐÔΪ¼õÉÙÐéÄâÄÚ´æÕ¼Óú͸ĽøÆô¶¯Ê±¼äÌṩÁËÒ»¸ö¼òµ¥ÇÒÁé»îµÄ½â¾ö·½°¸£¬´ó¶àÊýÓ¦ÓóÌÐò¶¼Äܹ»Òò´ËÊÜÒæ¡£±¾ÎÄÌÖÂÛÕâ¸öÌØÐÔÊÇÈçºÎ¹¤×÷µÄ¡¢ÈçºÎʹÓÃËüÒÔ¼°ºÎʱʹÓÃËü£ ......

java web applicationÖи÷ÖÖ·¾¶µÄÈ¡µÃ·½·¨

¾­³£Íü¼ÇÕâЩ»ù´¡µÄ¶«Î÷£¬¼ÇÏÂÀ´ÁË¡£
ÔÚjspºÍclassÎļþÖе÷ÓõÄÏà¶Ô·¾¶²»Í¬¡£ ÔÚjspÀ¸ùĿ¼ÊÇWebRoot ÔÚclassÎļþÖУ¬¸ùĿ¼ÊÇWebRoot/WEB-INF/classes µ±È»ÄãÒ²¿ÉÒÔÓÃSystem.getProperty("user.dir")»ñÈ¡Ä㹤³ÌµÄ¾ø¶Ô·¾¶¡£
Áí:ÔÚJsp,Servlet,JavaÖÐÏêϸ»ñµÃ·¾¶µÄ·½·¨!
1.jspÖÐÈ¡µÃ·¾¶£º
ÒÔ¹¤³ÌÃûΪTESTΪÀý£º
......

C++ÓëJava±È½Ï(ת)


C++ÓëJava±È½Ï(ת)
Ó¢ÎÄÔ­ÎÄ£ºhttp://www.javacoffeebreak.com/articles/thinkinginjava/comparingc++andjava.html
“×÷ΪһÃûC++³ÌÐòÔ±£¬ÎÒÃÇÔçÒÑÕÆÎÕÁËÃæÏò¶ÔÏó³ÌÐòÉè¼ÆµÄ»ù±¾¸ÅÄ¶øÇÒJavaµÄÓï·¨ÎÞÒÉÊǷdz£ÊìϤµÄ¡£ÊÂʵÉÏ£¬Java±¾À´¾ÍÊÇ´ÓC++ÑÜÉú³öÀ´µÄ¡£”
¡¡¡¡È»¶ø£¬C++ºÍJavaÖ®¼äÈÔ´æÔÚһЩÏÔÖøµÄ²îÒ ......

javaÖеĽӿÚ

        javaÖнӿÚÔÚ¿ª·¢ÖÐÕ¼ÖØÒªµØλ
   £¨1£©½Ó¿ÚÖеÄËùÓз½·¨¶¼ÊÇpublic abstract
   £¨2£©ÔÚ½Ó¿ÚÖÐÉùÃ÷·½·¨Ê±£¬²»ÄÜʹÓÃnative£¬static£¬final£¬synchronized£¬private£¬protectµÈÐÞÊηû£¬¼´Ö»ÄÜʹÓÃpublic abstract£¨Ä¬ÈÏ£©
    ......

javaѧϰ

javaѧϰÒÑÓжÎʱ¼ä,¸öÈ˾õµÃ,¿ìËٳɳ¤ÆðÀ´Óм¸ÖÐ;¾¶:
Ò»Åàѵ,µ½È¨ÍþµÄ»ú¹¹È¥Åàѵ,ÄÜÔÚ¶ÌÆÚÄÚ´ïµ½±È½ÏºÃµÄЧ¹û.
¶þ×Ôѧ,ÔÚ×ÔѧÖгýÁË¿´Ò»Ð©ÊÓƵ½Ì³ÌÍâ,»¹Òª¶îÍ⿴һЩ²Î¿¼Êé.ÓÐÁËÕâЩÀíÂÛ,¸ü¶àµÄÊÇҪʵ¼ù,±à³Ì¾ÍÊÇÒª²»¶ÏµÄ¶¯ÊÖ,´Ó´íÎóÖÐѧϰ,´Ó±à³ÌÖÐѧϰ,ÈÃ×Ô¼ºµÄÀíÂÛ֪ʶ¸ü¼ÓÔúʵ,ÓÐÁËÒ»¶¨µÄÀíÂÛ»ù´¡,¸öÈËÈÏΪ¿ÉÒÔ×öÓÐ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ