first you need the commAPI from java.sun.comUse their examples to build your own app to send and receive data viacomm ports.