Communication between Java applets has been an interesting topic from the early days of Java. 흥미로운 주제 간의 통신에 자바 애플릿은 자바의 초기부터합니다. There are several esoteric ways to communicate like using Javascript as a bridge. 같은 방법으로 의사 소통에는 여러 비밀로서 자바 스크립트를 사용하여 교량합니다. 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. 이 유용할 수있습니다 애플릿을 경우에는 컴퓨터가 서로 다른 2 개의 응용 프로그램으로 또는 다른 jvm의 서버 / tomcat 인스턴스를합니다.