Solved

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

Posted on 2004-08-20
11
390 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
 

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
Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

 

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

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Receive file in Servlet 1 36
endX challenge 2 50
countPairs challenge 7 58
Problem to start Neon 20 54
For customizing the look of your lightweight component and making it look lucid like it was made of glass. Or: how to make your component more Apple-ish ;) This tip assumes your component to be of rectangular shape and completely opaque. (COD…
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 scanner class in this video and are introduced to receiving user input for their programs. Additionally, objects, conditional statements, and loops are used to help reinforce the concepts. Introduce Scanner class: Importing…
Viewers will learn about the different types of variables in Java and how to declare them. Decide the type of variable desired: Put the keyword corresponding to the type of variable in front of the variable name: Use the equal sign to assign a v…

759 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now