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
Solved

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

Posted on 2004-08-20
11
413 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
Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

 

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

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
simple java question 3 59
Spring Framework HTTPSession management 1 45
java stored proc example 9 44
jdbc error in jsp application 20 63
Java contains several comparison operators (e.g., <, <=, >, >=, ==, !=) that allow you to compare primitive values. However, these operators cannot be used to compare the contents of objects. Interface Comparable is used to allow objects of a cl…
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 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…
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.

809 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