?
Solved

Serial ports w/ Java Applets

Posted on 1998-04-22
4
Medium Priority
?
159 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 100 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction Java can be integrated with native programs using an interface called JNI(Java Native Interface). Native programs are programs which can directly run on the processor. JNI is simply a naming and calling convention so that the JVM (Java…
In this post we will learn different types of Android Layout and some basics of an Android App.
Video by: Michael
Viewers learn about how to reduce the potential repetitiveness of coding in main by developing methods to perform specific tasks for their program. Additionally, objects are introduced for the purpose of learning how to call methods in Java. Define …
Viewers will learn about the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:
Suggested Courses
Course of the Month14 days, 8 hours left to enroll

771 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