Java for serial protocols

Hi,
I am new with Java and would like to know if
Java can be use to write a simple rs232 file
transfer protocol.
I looked around and found COMMAPI but I am not
sure if I really need it.
My objective is to have a java class file without any external DLL or .jar libraries

Gilles
colling@mail.aei.ca
[334 byte] By [Gilles Collin] at [2007-11-15 20:13:45]