serial port communication w/java

I'm trying to create a java front end for an industrial application and need to send and receive data via serial port communication.  Is there a simple way t do this as with TCP/IP.  If not what sorts of low level capabilities does java have for this type of endeavor?
mrfizzAsked:
Who is Participating?
 
jhanceCommented:
On some platforms and Java VMs, you may be able to open the serial port as a DataInputSteam and DataOutputStream and do IO to the port.  I don't think that all support this, however.  You may be reduced to writing a native method to call the underlying operating system's serial IO routines.
0
 
dufortCommented:
There is at least one commercial package out there that enables java to use ports. Take a look to the previously answered questions for this information.

0
 
SeverinCommented:
Check out SUNs homepage and surf to the Java developer Connection page. There you will find the java communications API (early access 2) somewhere, I thnik that's what you're looking 4.
And it's free and platform independent!!!!!! No need to pay anything.
0
 
fontaineCommented:
This article is about Java serial support:

http://www.javaworld.com/javaworld/jw-05-1998/jw-05-javadev.html
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.