Help,How can I make a Applet receive data from a serial port?

Help,How can I make a Applet receive data from a serial port?
[75 byte] By [snanting] at [2007-9-26 3:36:49]
# 1

I've posted this elsewhere in more detail. It's a moderate pain. You need to use the Java comm Package. In order to do this you will need to deliver the win32com.dll and the javax.comm.properties and the comm.jar files to the user (or hope they have them already). If the user has those files then you need to create a signed applet. When the user "accepts" the applet you can simply access the com ports via the comm api.

1) create a signed applet that uses the comm api to read and write to the serial ports

2) install dll and props file onto end users machine....I use file.io...since it's a signed applet you have access to read and write files. I attach the files to the applet declaration and then write each one to the users plugin directories.

3) communicate

rmsutter at 2007-6-29 12:08:43 > top of Java-index,Other Topics,Java Community Process (JCP) Program...
# 2

I've created class that reads from comport correctly but the problem is with win32com.dll and other files. I've used method DeliverFiles which rmsutter has written in this forum but the problem is that the file is delivered in the server's side?How can I deliver files in client's side in order to load them?(My applet is signed and there is no problem to copy the files)

tomitoff at 2007-6-29 12:08:43 > top of Java-index,Other Topics,Java Community Process (JCP) Program...