Wednesday, October 24, 2007

Mustang and Java

I read in one of Java web sites this name “Mustang” and I said to my self; Oh not, is it another framework?

And I started “google” to find out what does it mean. After some effort between dictionaries and definitions I found a clue in Wiwkipdia, http://en.wikipedia.org/wiki/Mustang, which lead me to Suns' web site for the full description.

Sun team used to give every Java Development Kit JDK a number. It is started from JDK1.0 and in the time of writing this comment it is Java 1.6 or 6. Furthermore, there is another name and know as code name, I prefer to call it a nick name, and Java 1.6 nick name is Mustang.

For more information about Sun naming for other Java releases consult this link http://en.wikipedia.org/wiki/Java_version_history from Wiwkipdia web site.

Talking with the hardware in Java

I am missing to know how to talking with the hardware in Java, such as sending/receiving a stream of data to/from a device.

I had a university project about service oriented architecture, where a mobile device (Java enabled mobile phone or PDA) needs to interacts with a PC.

There must be a way to achieve that, but I could not find any sample code / help on the Net.

Some has suggested using the windows APIs and JNI. First of all I do not how to do that and I am not convinced that it is the only way!

It is hard to understand this short-coming in Java API.

Thanks in advance to anyone who may post useful solution or suggestion. Even a link to a solution will be much appreciated.