2010-11-23 76 views
5

我有一個java程序,我最終想要在網絡上部署它。如何爲java web應用程序創建JNLP文件?

我開始從一堆類創建一個jar文件:

罐子CFE tbi.jar trail1modified trail1modified.class InitialKeypad.class InitialKeypad $ 1.class InitialKeypad $ 2.class InitialKeypad $ thehandler的.class InitialKeypad $ thehandler2.class InitialKeypad $ thehandler3.class InitialKeypad $ thehandler4.class Keypad5 $ 1.class Keypad5 $ thehandler.class 鍵盤5 $ thehandler2.class Keypad5 $ thehandler3.class Keypad5.class Keypad6 $ 1.class Keypad6 $ thehandler.class Keypad6 $ thehandler2.class Keypad6 $ thehandler3.class Keypad6.class Keypad7 $ 1.class Keypad7 $ thehandler。類 Keypad7 $ thehandler2.class Keypad7 $ thehandler3.class Keypad7.class Keypad8 $ 1.class Keypad8 $ thehandler.class Keypad8 $ thehandler2.class Keypad8 $ thehandler3.class Keypad8.class Keypad9 $ 1.class Keypad9 $ thehandler.class Keypad9 $ thehandler2.class Keypad9 $ thehandler3.class Keypad9.class Keypad10 $ 1.class Keypad10 $ thehandler.class Keypad10 $ thehandler2.class Keypad10 $ thehandler3.class Keypad10.class Keypad11 $ 1.class Keypad11 $ thehandler.class Keypad11 $ thehandler2.class Keypad11 $ thehandler3.class Keypad11.class Keypad12 $ 1.class Keypad12 $ thehandler.class Keypad12 $ thehandler2.class Keypad12 $ thehandler3.class Keypad12.class Keypad13 $ 1.class Keypad13 $ thehandler.class Keypad13 $ thehandler2。 class Keypad13 $ thehandler3.class Keypad13 $ thehandler4.class Keypad13.class Keypad14 $ 1.class Keypad14 $ thehandler.class Keypad14 $ thehandler2.class Keypad14 $ thehandler3.class Keypad14 $ thehandler4.class Keypad14.class ReKeypad.class ReKeypad $ 1.class ReKeypad $ 2.class ReKeypad $ thehandler.class ReKeypad $ thehandler2.class ReKeypad $ thehandler3.class ReKeypad $ thehandler4.class time.class time2.class TRAIL2 $ 1.class TRAIL2 $ 2.class trail2.class UO $ 1 class UO $ 2.class UO $ thehandler.class UO $ thehandler2.class UO $ thehandler 3.class UO.class

現在我想創建一個JNLP文件。我正在關注這個http://download.oracle.com/javase/tutorial/deployment/webstart/deploying.html

我在JNLP部分丟失了一點。我如何創建它?它表示什麼?是否有任何輔導視頻(例如)創建一個簡單的Hello World程序 - > jar文件 - > JNLP文件 - > HTML stage - > java web應用程序。

+2

請注意,WebStart應用程序和Web應用程序是兩種截然不同的應用程序類型。 WebStart應用程序從Web啓動,但在用戶的機器上運行。 Web應用程序在Web服務器上的Servlet容器中運行。 – Powerlord 2010-11-23 21:39:00

+0

哦,好的。 Webstart應用程序是我感興趣的人之一 – razshan 2010-11-23 21:44:11

回答

1

,並採取分鐘,收拾你的類放到罐子。它更方便!

4

簡要說明:

Java Web Start is a mechanism for program delivery through a standard Web server. Typically initiated through the browser, these programs are deployed to the client and executed outside the scope of the browser. Once deployed, the programs do not need to be downloaded again, and they can automatically download updates on startup without requiring the user to go through the whole installation process again

this。這包括創建jnlp文件的最簡單步驟和合作步驟。