I have a swing application that uses Javax.comm to read and write to serial ports often.
Is it better to keep an output / input stream open or close them on each call.
I had a bad experience with AudioInputStream while opening and closing on each call. It seemed to have a memory leak that wasn't related to my code. I don't want a response on the AudioInputStream problem, just the javax.comm. Thanks.