File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Beginning Java and the fly likes Help Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Help" Watch "Help" New topic


Jorge D'Agata

Joined: Aug 09, 2003
Posts: 1
I'm studying Electronics Engineering in the University of Rosario (Argentina) and am a beginner Java programmer who needs detailed information and code examples about the use of the Java Communications API (my final project includes the use of the RS 232 interface to share information between two PCs).
Sun Microsystems' documents on this topic are not tutorials, the books I can get in my country don't cover this sort of I/O and I can't afford to import a book from the USA ( since "1 dollar = 3 pesos" ).
Would you please send me some information of yours or tell me where I could find it on the Internet?
Jorge D'Agata
Barry Gaunt
Ranch Hand

Joined: Aug 03, 2002
Posts: 7729
I just found this free tutorial on IBM's DeveloperWorks site:
GPS Tutorial using Java Communications API.
Looks a little cooler than communicating over a null modem cable.
There's also this Developer's Tip
[ August 09, 2003: Message edited by: Barry Gaunt ]

Ask a Meaningful Question and HowToAskQuestionsOnJavaRanch
Getting someone to think and try something out is much more useful than just telling them the answer.
Dirk Schreckmann

Joined: Dec 10, 2001
Posts: 7023
Jorge D'Agata, welcome to JavaRanch!
If you haven't already done so, I'd definitely give Google a good workout on this topic.
Good luck.

[How To Ask Good Questions] [JavaRanch FAQ Wiki] [JavaRanch Radio]
Jeff Bosch
Ranch Hand

Joined: Jul 30, 2003
Posts: 805
Another possibility is to create a native method that can handle the low-level communications of your machine. Be aware, though, that some operating systems, such as Windows 2000, will not let you directly access a port -- you must go through the o/s API.
Sun has a lot of information and a boatload of tutorials at:
Java 2 SDK Documentation
Good luck! Sounds like a fun project.
[ August 20, 2003: Message edited by: Jeff Bosch ]

Give a man a fish, he'll eat for one day. Teach a man to fish, he'll drink all your beer.
Cheers, Jeff (SCJP 1.4, SCJD in progress, if you can call that progress...)
I agree. Here's the link:
subject: Help
It's not a secret anymore!