Solved

Using getApplet()

Posted on 1997-05-20
2
260 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 25 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

Independent Software Vendors: 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

Suggested Solutions

Introduction This article is the second of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers the basic installation and configuration of the test automation tools used by…
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
Viewers learn about the scanner class in this video and are introduced to receiving user input for their programs. Additionally, objects, conditional statements, and loops are used to help reinforce the concepts. Introduce Scanner class: Importing…
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

763 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