Solved

Send a text file in server machine to a handheld computer through client serial port

Posted on 2004-08-20
11
408 Views
Last Modified: 2006-11-17
I need to do this in a web application (using jsp's, servlets, applets),

From a client machine select some text files located in a server machine and send them through client serial port (not server serial port) to a handheld computer.

How can i do this?
0
Comment
Question by:VisionC
  • 4
  • 3
  • 3
  • +1
11 Comments
 
LVL 86

Assisted Solution

by:CEHJ
CEHJ earned 50 total points
ID: 11853314
You'll need to use a signed applet and (maybe Javax comm) although try to avoid the latter by opening a FileOutputStream on "COM1"
0
 

Author Comment

by:VisionC
ID: 11853794
I'm really newbie in Java programming, could you guide more?, any source code?, any configuration required?, ..
0
 
LVL 35

Expert Comment

by:girionis
ID: 11853992
Why do you need to send them through the serial port? Are you connecting the handheld to your computer?
0
DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

 

Author Comment

by:VisionC
ID: 11854227
Yes girionis, the only way to establish communication PC-Handheld is through serial port, any help?
0
 
LVL 35

Expert Comment

by:girionis
ID: 11854293
I never used to comm API but there are some useful links:

http://java.sun.com/products/javacomm/ - the comm API, includes tutorials and sample code
http://java.sun.com/products/javacomm/javadocs/API_users_guide.html
http://community.borland.com/article/0,1410,31915,00.html

Hope they will help
0
 

Author Comment

by:VisionC
ID: 11854612
CEHJ,

How can i implement a signed applet?
0
 
LVL 35

Accepted Solution

by:
girionis earned 200 total points
ID: 11854641
0
 
LVL 92

Expert Comment

by:objects
ID: 11856820
You can't without installing javacomm or equivalent on every client.
0
 
LVL 86

Expert Comment

by:CEHJ
ID: 11859823
You might be able to get this working although i'm not sure it will work on 'modern' Windoze:

http://www.rgagnon.com/javadetails/java-0062.html
0
 
LVL 86

Expert Comment

by:CEHJ
ID: 11875175
8-)
0
 
LVL 35

Expert Comment

by:girionis
ID: 11878388
:)
0

Featured Post

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
V.simple question about Android packages and libraries 1 21
allswap challenge 6 99
split string containing \r\n in Java 46 44
mysql jsp example issue 32 38
This was posted to the Netbeans forum a Feb, 2010 and I also sent it to Verisign. Who didn't help much in my struggles to get my application signed. ------------------------- Start The idea here is to target your cell phones with the correct…
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
Viewers learn about the “while” loop and how to utilize it correctly in Java. Additionally, viewers begin exploring how to include conditional statements within a while loop and avoid an endless loop. Define While Loop: Basic Example: Explanatio…
Viewers will learn about basic arrays, how to declare them, and how to use them. Introduction and definition: Declare an array and cover the syntax of declaring them: Initialize every index in the created array: Example/Features of a basic arr…

810 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