Eclipse¿¡¼ ºôµåµÈ ÀÀ¿ëÇÁ·Î±×·¥Àº Java Web Start¸¦ »ç¿ëÇÏ¿© ¹èÄ¡ÇÒ ¼ö ÀÖ½À´Ï´Ù.
Java Web Start´Â "À¥ ºê¶ó¿ìÀú¿¡¼ ÇÑ ¹ø Ŭ¸¯ÇÏ´Â °Í¸¸À¸·Î Àü±â´ÉÀÇ ÀÀ¿ëÇÁ·Î±×·¥À» ½ÇÇàÇÒ ¼ö ÀÖ´Â ´É·ÂÀ» Á¦°øÇÏ´Â ÀÀ¿ëÇÁ·Î±×·¥ ¹èÄ¡ ±â¼ú"ÀÔ´Ï´Ù.
Java Web Start¸¦ ÅëÇØ Eclipse¸¦ ½ÃÀÛÇϱâ À§ÇÑ ÀüÁ¦Á¶°ÇÀº ´ÙÀ½°ú °°½À´Ï´Ù.
root=<folderContainingStartup.jar>/
<j2se version="1.4+" />
°ªÀ» ä¿ó´Ï´Ù. ¿Ï·á¸¦ Ŭ¸¯ÇϽʽÿÀ. site/ (jnlp »çÀÌÆ®ÀÇ ·çÆ®) startup.jar features/ WrapperingFeature_1.0.0.jar WrapperingFeature_1.0.0.jnlp com.xyz.abc_1.0.0.jar com.xyz.abc_1.0.0.jnlp ... plugins/ org.eclipse.core.runtime_3.1.0.jar com.foo.baz_1.0.0.jnlp ...
Java Web Start ÀÀ¿ëÇÁ·Î±×·¥Àº JNLP ÆÄÀÏ¿¡ ¼³¸íµË´Ï´Ù. ÀÌ ÆÄÀÏÀº ¾î´À Á¤µµ µ¿ÀÏÇÑ ¸ÞÄ¿´ÏÁòÀ¸·Î eclipse.exe ¹× config.ini ÆÄÀÏÀ» ´ë½ÅÇÕ´Ï´Ù. ¿¹¸¦ µé¾î, JNLP¿¡´Â ¸Å°³º¯¼ö¸¦ Àü´ÞÇϰí ÀÀ¿ëÇÁ·Î±×·¥ ±¸¼º ³»¿ëÀ» Á¤ÀÇÇϱâ À§ÇÑ ¹æ¹ýÀÎ ½ºÇ÷¡½Ã ȸéÀ» Á¦¾îÇÏ´Â °íÀ¯ÇÑ ¸ÞÄ¿´ÏÁòÀÌ ÀÖ½À´Ï´Ù.
³»º¸³½ °æ¿ì, ¸ðµç ´Ü¼ø JNLP ÆÄÀÏÀÌ ÀÛ¼ºµÇ¾úÀ¸¹Ç·Î »ç¿ëÀÚ´Â ÀÀ¿ëÇÁ·Î±×·¥À» Á¦¾îÇÒ ±âº» ÆÄÀϸ¸ ÀÛ¼ºÇÏ¸é µË´Ï´Ù. ´ëºÎºÐÀÇ ±âº» ÆÄÀÏÀº ¸ðµç ÀÀ¿ëÇÁ·Î±×·¥¿¡ °øÅëµÇ¹Ç·Î ´ÙÀ½°ú °°Àº ÀÚü ¹®¼È ÅÛÇø®Æ®¸¦ ÅëÇØ ½ÃÀÛÇϵµ·Ï ÇÕ´Ï´Ù.
ÀÀ¿ëÇÁ·Î±×·¥¿¡ ¼ºñ½º¸¦ Á¦°øÇÏ´Â »çÀÌÆ®¿¡¼, ÆÄÀÏÀº startup.jar°ú °°Àº Æú´õ¿¡ ÀÖ¾î¾ß ÇÕ´Ï´Ù. ÀÌ ÆÄÀÏÀ» ÆíÁýÇÏ°í ³ª¸é ÀÀ¿ëÇÁ·Î±×·¥À» »ç¿ëÇÒ Áغñ°¡ ¿Ï·áµË´Ï´Ù.
<?xml version="1.0" encoding="UTF-8"?> <jnlp spec="1.0+" codebase="http://myCompany.org/jnlpServer" href="mail.jnlp"> <!-- URL to the site containing the jnlp application. It should match the value used on export. Href, the name of this file --> <information> <!-- user readable name of the application --> <title> Mail Application </title> <!-- vendor name --> <vendor>My company</vendor> <!-- vendor homepage --> <homepage href="My company website" /> <!-- product description --> <description>This is a mail client</description> <icon kind="splash" href="splash.gif"/> </information> <!--request all permissions from the application. This does not change--> <security> <all-permissions/> </security> <!-- The name of the main class to execute. This does not change--> <application-desc main-class="org.eclipse.core.launcher.WebStartMain"> <argument>-nosplash</argument> </application-desc> <resources> <!-- Reference to the startup.jar. This does not change --> <jar href="startup.jar"/> <!-- Reference to all the plugins and features constituting the application --> <!-- Here we are referring to the wrapper feature since it transitively refers to all the other plug-ins necessary --> <extension name="Wrapper feature" href="features/Wrappering_1.0.0.jnlp"/> <!-- Information usually specified in the config.ini --> <property name="osgi.instance.area" value="@user.home/Application Data/mail"/> <property name="osgi.configuration.area" value="@user.home/Application Data/mail"/> <!-- The id of the product to run, like found in the overview page of the product editor --> <property name="eclipse.product" value="mail.product"/> </resources> <!-- Indicate on a platform basis which JRE to use --> <resources os="Mac"> <j2se version="1.5+" java-vm-args="-XstartOnFirstThread"/> </resources> <resources os="Windows"> <j2se version="1.4+"/> </resources> <resources os="Linux"> <j2se version="1.4+"/> </resources> </jnlp>
ÆÁ: ÀÌ ÆÄÀÏÀ» ÀÛ¼ºÇÏ°í ³ª¸é, ÀÌ ÆÄÀÏÀ» startup.jar°ú °°Àº Æú´õÀÇ ·¦ÆÛ ±â´É¿¡ ÀúÀåÇÒ ¼ö ÀÖ½À´Ï´Ù. ÀÌ·¸°Ô ÇÏ¸é ³»º¸³¾ ¶§¸¶´Ù Àüü ±¸Á¶¸¦ °¡Á®¿Ã ¼ö ÀÖ½À´Ï´Ù.
RCP ÀÀ¿ëÇÁ·Î±×·¥ÀÌ ±â´ÉÀ» »ç¿ëÇÏÁö ¾Ê¾Æµµ Java Web Start·Î ¼öÇàÇÒ ¼ö ÀÖ½À´Ï´Ù.
ÀÌ·¸°Ô ÇÏ·Á¸é ·¦ÆÛ ±â´ÉÀ» ÀÛ¼ºÇÏ¿© ±âº» jnlp ÆÄÀÏÀ» ½±°Ô ÀÛ¼ºÇÏ°í ¹èÄ¡¸¦ ¿ëÀÌÇÏ°Ô Çϵµ·Ï ÇÒ °ÍÀ» ±ÇÀåÇÕ´Ï´Ù. ÀÌ ·¦ÆÛ ±â´ÉÀº »ç¿ëÀÚ ÀÀ¿ëÇÁ·Î±×·¥ÀÇ ¸ðµç Ç÷¯±×ÀÎÀ» ³ª¿ÇÕ´Ï´Ù. ±â´ÉÀÌ °»½ÅµÇ¸é »ý¼ºµÈ JNLP ÆÄÀÏÀ» º¹»çÇÏ°í ±âº» JNLP ÆÄÀÏÀÌ µÇµµ·Ï ¼öÁ¤ÇϽʽÿÀ.
Eclipse ÀÀ¿ëÇÁ·Î±×·¥À» LinuxÀÇ Web Start·Î ½ÃÀÛÇÏ´Â °æ¿ì ±âº» À©µµÀ® ½Ã½ºÅÛÀº motifÀÔ´Ï´Ù. GTK¸¦ ½ÇÇàÇÏ·Á¸é ±âº» jnlp ÆÄÀÏ¿¡¼ osgi.ws Ư¼ºÀ» "gtk"·Î ¼³Á¤ÇØ¾ß ÇÕ´Ï´Ù. ¿¹¸¦ µé¾î, ´ÙÀ½À» Ãß°¡ÇÒ ¼ö ÀÖ½À´Ï´Ù.
<resources os="Linux"/> <property name="osgi.ws" value="gtk"/> </resources>