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-permissions/>
</security>
<resources>
<j2se version="1.4+"/>
<jar href="appTes
Ïà¹ØÎĵµ£º
31¡¢EJB°üÀ¨£¨SessionBean,EntityBean£©Ëµ³öËûÃǵÄÉúÃüÖÜÆÚ£¬¼°ÈçºÎ¹ÜÀíÊÂÎñµÄ£¿
SessionBean£ºStateless Session Bean µÄÉúÃüÖÜÆÚÊÇÓÉÈÝÆ÷¾ö¶¨µÄ£¬µ±¿Í»§»ú·¢³öÇëÇóÒª½¨Á¢Ò»¸öBeanµÄʵÀýʱ£¬EJBÈÝÆ÷²»Ò»¶¨Òª´´½¨Ò»¸öеÄBeanµÄʵÀý¹©¿Í»§»úµ÷Ó㬶øÊÇËæ±ãÕÒÒ»¸öÏÖÓеÄʵÀýÌṩ¸ø¿Í»§»ú¡£µ±¿Í»§»úµÚÒ» ......
61¡¢servletµÄÉúÃüÖÜÆÚ
webÈÝÆ÷¼ÓÔØservlet£¬ÉúÃüÖÜÆÚ¿ªÊ¼¡£Í¨¹ýµ÷ÓÃservletµÄinit()·½·¨½øÐÐservletµÄ³õʼ»¯¡£Í¨¹ýµ÷ÓÃservice()·½·¨ÊµÏÖ£¬¸ù¾ÝÇëÇóµÄ²»Í¬µ÷Óò»Í¬µÄdo***()·½·¨¡£½áÊø·þÎñ£¬webÈÝÆ÷µ÷ÓÃservletµÄdestroy()·½·¨¡£
62¡¢ÈçºÎÏÖʵservletµÄµ¥Ïß³Ìģʽ
......
Òý×Ô:http://news.csdn.net/a/20090623/212109.html
¡¾CSDN6ÔÂ23ÈÕÏûÏ¢¡¿¸ù¾Ý¹úÍâýÌ屨µÀ£¬¿¨ÄÍ»ù÷¡´óѧ¼ÆËã»úϵµÄÑо¿ÈËÔ±ÈÕǰ¿ª·¢ÁËÁ½¿î¹¤¾ßÓÃÓÚ°ïÖú³ÌÐòÔ±´Ó³ÉǧÉÏÍòµÄJava APIÖÐÑ¡ÔñºÏÊʵÄAPI¡£
ÕâÁ½¿î¹¤¾ßµÄÃû×Ö·Ö±ðÊÇJadeiteºÍApatite¡£ËüÃÇÀûÓÃÁËÒÔÈËΪÖÐÐĵÄÉè¼Æ¼¼Êõ£¬´Ó¶ø´ó´óËõ¶ÌÁËËÑѰºÏÊʵÄÀ ......
ÓÐЩʱºò,ÎÒÃÇÏëÔÚµ±Ç°µÄÈÕÆÚÉϼӼ¸Ìì¡¢¼¸¸öÔ£¬»ò¼¸Ä꣬ʹÓÃjava.util.Date£¬È´×ÜÒ²ÕÒ²»µ½ºÏÊʵķ½·¨£¬ÎÞÄÎ֮ϣ¬ÇëÒ»¸ö¸ßÈ˰ïæ£¬ÀÏÁõ¸øÁËÒ»¾ä»°£ºÊ¹ÓÃCanlender¡£Ö®ºó£¬ÎÒ¾ÍʹÓÃCalender£¬Ò»Ó㬻¹ÕæºÃÓ㬾Íд³öÀ´£¬ºÍ´ó¼Ò¹²Í¬·ÖÏí£º
² ÎÒµÄÐèÇó
ÎÒÔÚ×÷Ò»¸öµ÷²éÎÊ¾í£¬ÏëÉ趨ÎʾíµÄÓÐЧÌìÊý£ºÔÚ·¢²¼Ö ......
JavaÓïÑÔ¶¨ÒåÁËpublic¡¢protected¡¢private¡¢abstract¡¢staticºÍfinalÕâ6ÖÖ³£ÓÃÐÞÊδÊÍ⻹¶¨ÒåÁË5¸ö²»Ì«³£ÓõÄÐÞÊδʣ¬ÏÂÃæÊǶÔÕâ11¸öJavaÐÞÊδʵĽéÉÜ£º
1.public
ʹÓöÔÏó£ºÀà¡¢½Ó¿Ú¡¢³ÉÔ±
½éÉÜ£ºÎÞÂÛËüËù´¦Ôڵİü¶¨ÒåÔÚÄÄ£¬¸ÃÀࣨ½Ó¿Ú¡¢³ÉÔ±£©¶¼ÊǿɷÃÎʵÄ
2.private
ʹÓöÔÏ󣺳ÉÔ±
½éÉÜ£º³ÉÔ ......