Solved

Serial ports w/ Java Applets

Posted on 1998-04-22
4
153 Views
Last Modified: 2010-04-16
Can anyone tell me either how(or where) I can find info on using the ports on a PC(you know, the kind you put your printer on) thru a APPLET. If you give me a great response, I'll quadruple the points.

TIA, Matt Lesko
0
Comment
Question by:MattLesko
  • 2
4 Comments
 

Expert Comment

by:java_lord
ID: 1219371
You have to use native methods (an api to interface with machine specific functions) or use a daemon to transfer everything from the machine the applet was launched from.
0
 
LVL 16

Expert Comment

by:imladris
ID: 1219372
It should be noted that, naturally, any use of native methods is not multiplatform. Nor will it be generally loadable across the Net. I mention this, since you specified APPLET in capitals.

There is a communications API forthcoming that will handle this to some extent or other. See http://developer.javasoft.com.

0
 
LVL 1

Expert Comment

by:dufort
ID: 1219373
I have a solution to your problem... just review your proposed answers (in order to allow me to add my answer) and I will submit it to Experts Exchange.

0
 
LVL 1

Accepted Solution

by:
dufort earned 50 total points
ID: 1219374
Here is a site where you can find a serial port control for Java. It works on most of the platforms. There is a free trial version, but you should buy it (it's not expensive):

http://www.sc-systems.com/serPort.html

But don't forget that there are security limitations when using applets over the Net. Local applets have no restrictions of course.


0

Featured Post

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

For customizing the look of your lightweight component and making it look lucid like it was made of glass. Or: how to make your component more Apple-ish ;) This tip assumes your component to be of rectangular shape and completely opaque. (COD…
Introduction This article is the second of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers the basic installation and configuration of the test automation tools used by…
Viewers learn about the third conditional statement “else if” and use it in an example program. Then additional information about conditional statements is provided, covering the topic thoroughly. Viewers learn about the third conditional statement …
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.

706 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now