Solved

Applet To Applet Communication

Posted on 2002-05-28
6
209 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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
triangle challenge 4 77
noX challenge 17 76
strCount chalenge 3 50
get weblogic logged in user in java 2 41
After being asked a question last year, I went into one of my moods where I did some research and code just for the fun and learning of it all.  Subsequently, from this journey, I put together this article on "Range Searching Using Visual Basic.NET …
Java Flight Recorder and Java Mission Control together create a complete tool chain to continuously collect low level and detailed runtime information enabling after-the-fact incident analysis. Java Flight Recorder is a profiling and event collectio…
Viewers learn about the “for” loop and how it works in Java. By comparing it to the while loop learned before, viewers can make the transition easily. You will learn about the formatting of the for loop as we write a program that prints even numbers…
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.

705 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

12 Experts available now in Live!

Get 1:1 Help Now