2010-11-23 10 views
5

私は最終的にWeb上に展開したい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。クラス キーパッド13 $ 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クラス UO $ 2.class UO $ thehandler.class UO $ thehandler2.class UO $ thehandler 3.クラス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アプリケーションは、2つの非常に異なるアプリケーションタイプです。 WebStartアプリはWebから起動されますが、ユーザのマシンで実行されます。 Webアプリケーションは、Webサーバー上のServletコンテナで実行されます。 – Powerlord

+0

よろしいですか? Webstartアプリケーションが私が興味を持っているアプリケーションです – razshan

答えて

1

と分を取る、瓶の中にあなたのクラスを詰めます。はるかに便利です!

+0

はい.jarファイルはあなたの人生を楽にします – tegbains

+1

はいすべてのクラスはこのjarファイルにあります:tbi.jar – razshan

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ファイルを作成するための最も簡単で合理的な手順が含まれます。

関連する問題