Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Reading data for devices connected to h/w port in cpu (other than System.in)

 
Mohammed Zeeshan Ahmed
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi I am trying to read data from an RFID reader connected to the CPU and this data is previously recorded in database in database. How do I do this.(Eg use case reader reads an id and all related info is retrieved.)
 
Joe Ess
Bartender
Posts: 9256
9
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Your best bet would be to track down the vendor of the device and see if there's an API you can use. Most reader devices I've had contact with simply mimic the keyboard, so one would probably use System.in to read data from it.
 
Mohammed Zeeshan Ahmed
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The device need not be the standard input device of system. The way this device will be used will be analogous to the bar reader used in shopping malls
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic