aspose file tools*
The moose likes Beginning Java and the fly likes Java with external device Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Java with external device" Watch "Java with external device" New topic
Author

Java with external device

Ganesh Pat
Ranch Hand

Joined: Feb 04, 2012
Posts: 79

Hi, I'm in final year of master of computer application and I have a final and very important project. I want to develop attendance system that scans students fingers for attendance and mark his attendance in database automatically once finger scanned.
Is it possible to connect java application to external hardware?
If yes what extra knowledge i should know ? How can i connect it ? and what books are good for it ?

Please reply its very important project for my career.
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 39877
    
  28
Yes, of course it is possible. In fact, it is what Java was originally designed for: embedded systems.

But you are not going to be able to demonstrate it for a master’s project. For one thing, it is probably illegal to take people’s fingerprints. Start by programming on the assumption that your device creates a hash (maybe an sha256) representing the fingerprint, and pass this hash, divided into a byte[] to the application. Write a text file full of various hashes, some valid, some invalid, and pass them to your application. You can demonstrate duplicate scans from the same person and scans from people not registered on a particular course.
fred rosenberger
lowercase baba
Bartender

Joined: Oct 02, 2003
Posts: 11480
    
  16

Campbell Ritchie wrote:it is probably illegal to take people’s fingerprints.

That all depends on what part of the world you live in, and possibly whether or not you get the person's permission...


There are only two hard things in computer science: cache invalidation, naming things, and off-by-one errors
Ganesh Pat
Ranch Hand

Joined: Feb 04, 2012
Posts: 79

Thank you Campbell and Fred ! I've learned core java and advance java but not thoroughly cause we didn't have that much in syllabus so could please give me name of books which I should read so I could program to connect java with external devices. I searched on net and got that an abbreviation but can't write here in short form forbidden . I guess its java universal serial bus it says i need to copy all these files in java folder etc etc.
If you have any book name or anything which incorporates examples and could help me to learn how to connect java to external device please let me know.. because I don't have time to go to classes and learn it you know hectic schedule so I must learn myself....
fred rosenberger
lowercase baba
Bartender

Joined: Oct 02, 2003
Posts: 11480
    
  16

Personally, I don't have a clue. I would assume the device would come with some sort of API documentation and code you need to save/install, and then write your code to hook into that...but I really couldn't say for sure.
Ganesh Pat
Ranch Hand

Joined: Feb 04, 2012
Posts: 79

k... Fred thank you again I'll try to search on net...
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Java with external device