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.
We give our customers these little palm-sized barcode scanners. They go around their store and scan the barcodes of products they want to order, and then they plug the scanner into a USB port. This basically acts like a disk drive, so there's a file of scan data in a predetermined location on some drive.
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.
we also using applets in a stock exchange site to display the graphs and currency changes. it run out of browser like a swing application. we may use webstart for this(more secure compare to applets i studied some where). but my seniors are restricted to use it.
Joined: Mar 22, 2005
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.