Skip to main content

Applet or Webstart...that is the question.

4 replies [Last post]
mezmo
Offline
Joined: 2003-09-07
Points: 0

I've got a requirement to get Outlook Web access play nice with the rest of my portal. So, I've got a little button that pops up a window and loads owa and logs the user on. Well, a little problem popped up when the user logged out, its taking every browser session there is with it. So we work with M$ and they say that we have to force the other browser session into another process, that will take care of the problem. So I write a little applet that does a runtime.exec and that works fine...at least on my pc. So I look up the instructions on making it work in other browsers, including public average everyday computer users, and I'm seeing nightmare city! Import certificates and policy tools, OH MY!!! ;) So, am I barking up the wrong tree trying to do this in an applet? Will a web start app work the same way, only just pop up a little dialog that will ask the user if its ok for me to run? Am I just wasting my time and I should just go find a friggin VB programmer to write an activeX to do this with?
I'd really hate to have to do that.
Please help.
tia
Mike

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
raymond_mccrae
Offline
Joined: 2005-05-09
Points: 0

I've not tried this myself, but there is a registry key you may set to tell IE to launch each window in a seperate process.

See http://www.winguides.com/registry/display.php/964/

Worth a try.

Regards
Ray

mezmo
Offline
Joined: 2003-09-07
Points: 0

Thanks for the suggestion, I've got that setting on my computer, but it apparently doesn't apply to browser windows opened by javascript.
Again, thanks for finding that for me.
Mike

rickcarson
Offline
Joined: 2004-03-04
Points: 0

If you 'have' to do an ActiveX component, you should consider J++ (if its still out there) or C#, but you may find that depending on their security settings their computer still complains about running ActiveX (as well it should).

Also, even with Webstart, you're going to need to sign your code, and the user will need to accept your certificate when it pops up and says do you trust this code from random person X (ie you).

The problem is that you don't want to silently run any old code downloaded off the net or sent to you in an email, because that creates huge security holes.

mezmo
Offline
Joined: 2003-09-07
Points: 0

Its not the browser complaining I have a problem with, as a matter of fact I'd feel pretty compromised if it didn't. I've signed the applet, that isn't a problem either, where I'm having the problem is that as best as I can tell so far, the importation of the certificate is a manual process, which I haven't been able to find a good example of yet. For the Webstart side I've read a few cautionary tales that say that when you use web start with an applet you lose some functionality, like javascript integration, that you get from the plug-in, and my boss would like to keep. To be honest the problem is that I shot my mouth off to fast. I mean, this thing is literally a one liner, now, I have done exactly zero applet work since the early JDK1.2 days, so was really unaware of how things had changed security wise since then. I believe that back then, before web start, the applet would put up a complaint that would ask the user if it was ok for the applet to access the requested resource. Now I'm just getting a failure, no questions asked. I'm working on trying web start this morning, as well as pursuing a more complicated javascript solution.
Thanks for your help, and please, wish me luck.