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.
 
iyappanAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
iyappanAuthor Commented:
If anyone can give me a solution for the question Kindly help me to come from that problem.
Iyappan
0
 
objectsConnect With a Mentor Commented:
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
All Courses

From novice to tech pro — start learning today.