On 9/11/2010 1:10 AM, Polytropon wrote:
Let me add another field: There are applicances like "all-in-one
DSL modem telephone splitter router DHCP server NAT firewall boxes"
that are very common in german households. Those usually use Java
to present their control elements to the user; "Applet loading"
is often seen when connected to that box in order to change some
setting. I think the initial developers found it better to put
a Java applet in there than some PHP generated HTML served by
a little web server... they could have used an efficient and
professional programming language, too, but that's something you
won't find in home consumer crap devices.:-)



So to configure your router, you need a java enabled browser, and odds are you get the jar file from the router, so it has an http server, and probably another server just to process configuration requests? Now your router has two servers running, one to get the jar, one to deal with config, instead of one http server with one cgi script.

Java has/had its uses, but I don't recall the last time I ran something using java. At the moment when it comes to the browser, flash is more important and that's only for all the websites that want to stream instead of give you a file like they used to.

I remember years and years ago starting to learn java. I got really frustrated by spending a few hours going through documentation to find the "proper" way to read a text file. Writing the gui seemed easy, the rest wasn't.
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Reply via email to