Developing and deploying Java Applets
Pat Farrell wrote:Specifically, applets are obsolete. Its pointless wasting time learning applets.
I wouldn't agree with this (since we have applets in production where I work). However I would say that applets are a minor feature and that you shouldn't learn them until (a) you need them and (b) you already know Java well enough so that you only need half a day to get up to speed on them.
Paul Clapham wrote:since we have applets in production where I work.
Wow, I haven't heard of a single case where folks use applets in production in more than a decade.
I can see how they might work in a closed enterprise world. But I haven't seen them be feasible in general on the open internet
Are you allowed to give us a hint how you use them in production?
And how you get past all the browser incompatibility problems?
The applet simply looks for that location and uploads the scan data, if it finds it, and then forwards to a "review" page if it found data and an "error" page if it didn't. The GUI is simply a JLabel which says "Searching for scanned data". We're just using a plain vanilla <applet> tag to load the thing. So it's just about the simplest possible applet (except that of course it has to be signed). I don't work in support but I haven't heard any feedback that people are having problems with our applet.
mallikarjun dontamsetti wrote:we may use webstart for this(more secure compare to applets i studied some where).
There are numerous good reasons to prefer WebStart apps over applets, but this one sounds purious. Make sure you understand what that's all about before you use it as a basis for decision-making.