Skip to main content
gamedev.net
🔒 Locked

misleading things ive heard about java?

Started by amemorex 3 replies 450+ views
Original Post
amemorex
amemorex
i had bought a "Java for Dummies" book a while ago and i remember in the introduction where it talks about Java, its capabilities, etc, it said some very..peculiar things..i''d like you guys to confirm. i recall a few sentences saying things like "imagine a central computer running every appliance in your house, that can turn on your microwave at set times, click off the power to your refrigerator -- all with the power of java" then it said something about controlling parts of your house from a cell phone through the "power of java" since when has java been this powerful, and are these allegations really true? or does the author have no idea what he talks about?
Pouya
Pouya
I''m pretty sure you can write those programs in VB too

I can only tell you one thing: There''s a reason why the book is called "Java for dummies"

P.S. I wonder if Java''s "security manager" would let you use your cell phone to turn your fridge off... And probably your whole house would stop functioning during the Garbage Collection period

------------------------
Martee
Martee
LOL pouya

I agree, though - there''s no reason any other language couldn''t do the things described there. Just fire up a TCP connection to your toaster and send a RequestBreadDarkBrown packet.
ReactOS - an Open-source operating system compatible with Windows NT apps and drivers
johnhattan
johnhattan
http://www.sun.com/jini/
(my byline from the Gamedev Collection series, which I co-edited) John Hattan has been working steadily in the casual game-space since the TRS-80 days and professionally since 1990. After seeing his small-format games turned down for what turned out to be Tandy's last PC release, he took them independent, eventually releasing them as several discount game-packs through a couple of publishers. The packs are actually
WayfarerX
WayfarerX
Alright, you guys knew I'd hit this thread before too long, right?

Here's the deal amemorex, Java is essentially a language specification, a virtual machine specification, and a compiler. If these things alone can effortlessly control your house then we're all out of jobs.
Java is a language, just like C/C++/VB/LISP/etc. There is no "System.makeCoffee()" function you can call, and setting up a system like the author describes will take more than a few bytecodes.

quote:

I had bought a "Java for Dummies" book a while ago and I remember in the introduction where it talks about Java, its capabilities, etc, it said some very..peculiar things..I'd like you guys to confirm.



I haven't read a whole lot of the "XXX for Dummies" books, but the few I have were pretty weak, and full of marketing hype like the stuff you mention. I suggest: buy a better book.

quote:

I recall a few sentences saying things like "imagine a central computer running every appliance in your house, that can turn on your microwave at set times, click off the power to your refrigerator -- all with the power of Java"

then it said something about controlling parts of your house from a cell phone through the "power of java"



This "Power Of Java" the author alludes to is basically composed of 2 things, Java's inherent platform independence, and as johnhattan said, it's RMI & JINI protocols. You still have to actually write all the code to do this stuff (not to mention create and perfect the hardware), Java is just supposed to make it easier to write, deploy, & support. Any other language can do this just as well (maybe with a little more work on the programmer's end).

quote:

since when has Java been this powerful, and are these allegations really true?



Sure, Java is great, but more goes into complex systems like these than just a language.

quote:

or does the author have no idea what he talks about?



Wouldn't know personally, but that's what I'd bet on.

quote:

Original post by pouya
P.S. I wonder if Java's "security manager" would let you use your cell phone to turn your fridge off... And probably your whole house would stop functioning during the Garbage Collection period



LOL

"So crucify the ego, before it's far too late. To leave behind this place so negative and blind and cynical, and you will come to find that we are all one mind. Capable of all that's imagined and all conceivable."
- Tool
------------------------------


Edited by - wayfarerx on December 3, 2001 12:51:26 PM
"There is no reason good should not triumph at least as often as evil. The triumph of anything is a matter of organization. If there are such things as angels, I hope that they're organized along the lines of the mafia." -Kurt Vonnegut

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.