java - Applet - Serialport communication -


I am trying to create a simple Java applet that reads the incoming data through the serial port. Is this possible? By default, there is no support for Java to communicate with serial ports, such as RMTXX, like

There are libraries that allow you to do this, but unfortunately RMTX requires a platform-specific country library to use serial ports.

The further complexity of this is that Java applets run in very restricted sandbox default, which means that you need to sign a) the applet and B) manually the required RXTX library on the host computer Install it, which is not user-friendly.

An alternative solution is discussed: use Java Web Start, not an applet, and everything becomes much easier).

Comments

Popular posts from this blog

mysql - BLOB/TEXT column 'value' used in key specification without a key length -

c# - Using Vici cool Storage with monodroid -

python - referencing a variable in another function? -