I am using applets because
1) I am
Java programmer and quite comfortable programming in Java.
2) I was asked to prototype a web based UI even though I had never done anything more than build simple HTML pages and simple applets.
My investigation into various tools and technologies told me that the in-thing nowadays was RIA and that there were plenty of ways to do this:
a) JavaFX
b) Flex
c) Silverlight
d) Javascript libraries, jQuery, Dojo, and lots of others.
Given that I was a Java programmer, I opted to try out option a) :-)
So I self taught JavaFX and started developing the front end.
Hey, don't put down applets . . . JavaFX Applets 1.2 are way cooler (and faster) than Java Applets 1.0.2
But alas, this is only a prototype. I might need to move to Silverlight and the Evil Empire sooner than later :-)
Actually, my recent investigations into the Dark Side of the Force, tells me that the Dark Side is (presently) better than the Good side. LINQ, Attributes and Delegates makes up the two sided red light saber.
Anyway, I have a workaround to the question posted in this topic:
Access the JavaFX variables from Javascript like so:
That way, it is not needed to pass any variables while using the AppletStageExtension since Javascript can simply access the data while executing the doPost() function.
To pass parameters, I did the following: (but I am sticking with the above approach in my implementation)
Eeeww! Netscape reminds me of the Java 1.0.2 Applets, so I think that I will stay away from code like that . . .