[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 221
  • Last Modified:

Applet To Applet Communication

Communication between Two Applets
----------------------------------
I need a Answer for the following question
 I have two applets say Applet1 and Applet2,the Applet1 should call the Applet2 and it will send some parameters to the Applet2 and Applet2 manipulate the values and return the values to the Applet1.
 Please give me a feasible solution to achieve the above given functionality.
 
0
iyappan
Asked:
iyappan
2 Solutions
 
iyappanAuthor Commented:
If anyone can give me a solution for the question Kindly help me to come from that problem.
Iyappan
0
 
objectsCommented:
If the two applets are on the same page then you can simply call applet methods directly:


Applet applet2 = applet1.getAppletContext().getApplet("Applet2");
int result = applet2.getResults(param1, params);
0
 
ValeriCommented:
Take a look at java.net.ServerSocket as well.
0
 
girionisCommented:
No comment has been added lately, so it's time to clean up this TA.

I will leave a recommendation in the Cleanup topic area that this question is:

- split points between bobbit31 and objects@idg

Please leave any comments here within the
next seven days.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER !

girionis
Cleanup Volunteer
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now