Solved

Serial ports w/ Java Applets

Posted on 1998-04-22
4
158 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 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

Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

Question has a verified solution.

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

By the end of 1980s, object oriented programming using languages like C++, Simula69 and ObjectPascal gained momentum. It looked like programmers finally found the perfect language. C++ successfully combined the object oriented principles of Simula w…
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…
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:
This video teaches viewers about errors in exception handling.

726 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