Communication between Java applets has been an interesting topic from the early days of Java. Javaアプレット間の通信され、初期の頃から、興味深いトピックのJavaです。 There are several esoteric ways to communicate like using Javascript as a bridge.難解なコミュニケーションには、いくつかの方法を使用してのJavaScriptとの架け橋としてのようにします。 However we will look into the simplest and most reliable method of intra-applet communication.しかし我々は見て最も単純な方法で最も信頼性のイントラ-アプレット通信します。

Simple solution to applet communication problem 単純なコミュニケーションの問題の解決策をアプレット
Use a class with static getters and setters method(s) to pass data around.を使用するクラスを静的ゲッターとセッターメソッド(秒)にデータを渡す策です。 Since the applets are loaded in the same JVM, the static methods can be used to share any kind of data between the applets.アプレットが読み込まれて以来、同じJVMのは、静的メソッドを使用してどんな種類のデータを共有するアプレットの間にします。

Another more complex solution is to use the database to communicate data between the applets.別のもっと複雑な解決策は通信を使用してデータベースへのデータの間のアプレットです。 This may be useful if the applets are on different machines or different JVM’s as in two application server / tomcat instances.この5月に役立つアプレットが別々のマシンの場合、または別のJVMのように2つのアプリケーションサーバー/ Tomcatのインスタンスです。