Having both applets open simulataneously is non-negotiable. The users
work in a contact centre and require both applets to deal with requests
from members of the public. Applet1 is a 3rd party contact centre
product which can be configured to launch parameterised URLs.
We use Applet1 to log calls from the public. A service area is then
selected and a parameterized URL is invoked launching applet2 which
deals with the specific details of the request. When the request is
dealt with, applet2 is closed and the user continues with applet1. A
new call is taken, the details are logged in applet1, which then
invokes applet2 ad infinitum.
In an ideal world we would ditch applet1. However, we cannot as it has
been paid for and it is too political to ditch it.
On the subject of launching two separate browsers, that is a goer if
and only if applet1 running in IE can invoke a URL which causes say
Firefox to open with the applet2.
> Having both applets open simulataneously is non-negotiable. The users
> work in a contact centre and require both applets to deal with requests
[quoted text clipped - 14 lines]
> and only if applet1 running in IE can invoke a URL which causes say
> Firefox to open with the applet2.
Uggh. This conversation is already hurting my head.
So, to sum up.
The 3rd Party (politics/non-negotiable) applet is Oracle's
JInitiator that requires Java 1.3 _specifically_. Not '1.3+',
but a specific version of 1.3?
That applet sends information via URL [ as in showDocument(URL, target)? ]
to the in-house applet that continues the processing. The in-house
applet uses Java 1.5 features.
Is that right so far?
Pete suggested one of the few possible solutions I can think of to
this mess. Though I usually recommend people steer clear of the horrid
nested <object><embed> structure, the use of IE would mean you could simply
use the <object> element and be done with it.
Other possible approaches might be
- to have your URL's pointing to a servlet,
- calling applet 2 using webstart, giving the URL parameters as part
of the .JNLP file (though I think that would also require some
serverside help).
- Hosting the JInitiator applet within another applet, intercepting
the calls to showDocument, ..and taking some other action more
appropriate/useful than attempting to open a new applet.

Signature
Andrew Thompson
http://www.PhySci.org/codes/ Web & IT Help
http://www.PhySci.org/ Open-source software suite
http://www.1point1C.org/ Science & Technology
http://www.LensEscapes.com/ Images that escape the mundane
JavaEnquirer - 25 May 2005 10:12 GMT
>> Is that right so far?
Spot on.
Thanks for the reply, I'll take a look at the web start option.