摘要
Java Applet程序可方便通过浏览器下载并在客户机上运行,控制工程中经常通过串口实现计算机与单片机通讯.实现Java Applet与单片机串口的通讯,需要解决两个问题:Java本身不提供对串口操作的类,Java Applet不能够直接访问客户机的串口.使用第三方comm.jar串口包和数字签名技术解决了该问题,并给出Java Applet访问串口的详细程序和JBuilder 2005中实现数字签名的过程.
Java Applet program can be conveniently downloaded and operated on the user computer. The controlling project can often realize the communication between the computer with MCU by serial port. There are two problems to be solved when the communication between the computer and MCU by serial port is realized: Java itself doesn't provide the type for the operation of serial port and Java Applet cannot be directly accessible to the serial port of the user computer. This paper solves this problem with the third comm.jar serial port package and digital signature technology and presents the detailed program of Java Applet access to serial port as well as the process of realizing the digital signature in JBuilder 2005.
出处
《河南科学》
2008年第8期980-983,共4页
Henan Science