Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Using getApplet()

Posted on 1997-05-20
2
Medium Priority
?
275 Views
Last Modified: 2012-08-14
I would like to know how to use getApplet().  I am trying to retrieve the information from an object on one applet and display it on another applet.  The applets are also on separate HTML pages (if that matters).  I am not sure if getApplet() is the right way to go, but that seems to be the direction that some people have told me to go.  If there is another solution, I would appreciate it if you could let me know.  Some code examples would be beneficial also.  Thanks in advance.
0
Comment
Question by:Bryan051997
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
2 Comments
 
LVL 6

Accepted Solution

by:
jpk041897 earned 50 total points
ID: 1220658
If the code is on diferent pages, you will have to use either CORBA or RMI, and override the STOP method for the applet(s) that will go out of context (be paged out) to insure that they remain running while in background.

You might  also need to associate them to a frame if they don't implement runnable.

For information on CORBA see:

http://www.acl.lanl.gov/CORBA/

you'll find links to evrything you need, including tutorials, there.

RMI is currently beeing developed by SUN and is still somewhat inmature, you can obtain it at :

http://splash.javasoft.com/pages/intro.html

and you can read its docs at:

http://www.crg.cs.nott.ac.uk/~cmg/SRP/jdk1.1-docs/guide/rmi/index.html

Additional documentation is still lacking since the language specs are still evolving.

All in all I would suggest you use CORBA at this stage, although RMI looks like it will eventualy be the most robust of both technologies, it is still to inmature to be used for production at this stage.
0
 
LVL 6

Expert Comment

by:jpk041897
ID: 1220659
Just found a fairly good article on using RMI at:

http://www.javacats.com/US/
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

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…
Introduction This article is the last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
Viewers learn how to read error messages and identify possible mistakes that could cause hours of frustration. Coding is as much about debugging your code as it is about writing it. Define Error Message: Line Numbers: Type of Error: Break Down…
Viewers will learn about basic arrays, how to declare them, and how to use them. Introduction and definition: Declare an array and cover the syntax of declaring them: Initialize every index in the created array: Example/Features of a basic arr…
Suggested Courses

604 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