Solved

Applet To Applet Communication

Posted on 2002-05-28
6
212 Views
Last Modified: 2010-03-31
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
Comment
Question by:iyappan
6 Comments
 

Author Comment

by:iyappan
ID: 7039795
If anyone can give me a solution for the question Kindly help me to come from that problem.
Iyappan
0
 
LVL 18

Accepted Solution

by:
bobbit31 earned 100 total points
ID: 7040384
0
 
LVL 92

Assisted Solution

by:objects
objects earned 100 total points
ID: 7040608
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
 
LVL 16

Expert Comment

by:Valeri
ID: 7041381
Take a look at java.net.ServerSocket as well.
0
 
LVL 35

Expert Comment

by:girionis
ID: 8798237
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Java had always been an easily readable and understandable language.  Some relatively recent changes in the language seem to be changing this pretty fast, and anyone that had not seen any Java code for the last 5 years will possibly have issues unde…
Java functions are among the best things for programmers to work with as Java sites can be very easy to read and prepare. Java especially simplifies many processes in the coding industry as it helps integrate many forms of technology and different d…
Viewers learn about the “while” loop and how to utilize it correctly in Java. Additionally, viewers begin exploring how to include conditional statements within a while loop and avoid an endless loop. Define While Loop: Basic Example: Explanatio…
Viewers will learn about the different types of variables in Java and how to declare them. Decide the type of variable desired: Put the keyword corresponding to the type of variable in front of the variable name: Use the equal sign to assign a v…

862 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now