IWETHEY v. 0.3.0 | TODO
1,095 registered users | 0 active users | 0 LpH | Statistics
Login | Create New User
IWETHEY Banner

Welcome to IWETHEY!

New Only way to fly in my experience.
For what we use them for: opening up a socket connection to stream realtime data to the browser.
Regards,

-scott anderson

"Welcome to Rivendell, Mr. Anderson..."
New That's the only type of applet I've written.
Glad to hear I wasn't an idiot ;-)
bcnu,
Mikem

The soul and substance of what customarily ranks as patriotism is moral cowardice and always has been...We have thrown away the most valuable asset we had-- the individual's right to oppose both flag and country when he (just he, by himself) believed them to be in the wrong. We have thrown it away; and with it all that was really respectable about that grotesque and laughable word, Patriotism.

- Mark Twain, "Monarchical and Republican Patriotism"
New Same here, more or less.
"Realtime" data being updates in network state.

Well, it seems that ClassLoader is kept until you press "x" in Java Console "Clear classloader cache".

Another tasty bit: there is no way to figure out if a given applet is on the same HTML page as yours. Drives me up the wall. The only solution seems to be to have dynamically generated pages where all applets share some token that identifies the page.
--

Less Is More. In my book, About Face, I introduce over 50 powerful design axioms. This is one of them.

--Alan Cooper. The Inmates Are Running the Asylum
New Re: Same here, more or less.
I believe that applets are able to communicate with Javascript (I believe it's a Netscape library or something, but works in IE, too). This should allow you to figure out which applets are running in the same HTML page.

As for using applets to get realtime updates, I believe you could also use Javascript (basically, you'd keep the HTTP connection open for the life of the page). It's not pretty, but it's an alternative.

Dan
New Yes, we've been tinking about JavaScript too
No time to investigate further, but the idea was to get a random number and write out applet tag that takes that number as parameter. Or may be use DOM to access the applet tag.

It all depends on how ugly we're willing to make our sample HTML that the users will take as a template. Make it too complex, and nobody can use it. It's a well known fact that everybody smart enough to use our software is busy writing software for our competitors :)
--

Less Is More. In my book, About Face, I introduce over 50 powerful design axioms. This is one of them.

--Alan Cooper. The Inmates Are Running the Asylum
     Java Applets and browsers - (Arkadiy) - (8)
         AFAIK - (admin) - (1)
             www.suntimes.com/crossword = good example -NT - (deSitter)
         Just say no - (tuberculosis) - (5)
             Only way to fly in my experience. - (admin) - (4)
                 That's the only type of applet I've written. - (mmoffitt)
                 Same here, more or less. - (Arkadiy) - (2)
                     Re: Same here, more or less. - (dshellman) - (1)
                         Yes, we've been tinking about JavaScript too - (Arkadiy)

I'm paraphrasing, because it's easier than research.
38 ms