• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 166
  • Last Modified:

Serial ports w/ Java Applets

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
MattLesko
Asked:
MattLesko
  • 2
1 Solution
 
java_lordCommented:
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
 
imladrisCommented:
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
 
dufortCommented:
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
 
dufortCommented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: CompTIA Cloud+

The CompTIA Cloud+ Basic training course will teach you about cloud concepts and models, data storage, networking, and network infrastructure.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now