title: How to get access to Omnikey 3121 smart card reader
body: <p>I want to use Java to get access to smart card by Omnikey reader. I found couple solutions like a smartcardio, but it didn't help enough. Basically I connected with reader, but it uses APDU when I don't need it. I have an idea to open stream to my reader by USB and by stream put binary commands to device and then get answer the same way, but technically how can I write it in Java?</p>
  
  <p>I also found libraries like a usb4java, but also bad opinion about that. Maybe someone had any experience with this device and could give me some tips?</p>
  
  <p>On the internet there aren't many tutorials about programming smart cards. I tried also use pyApduTool or HID Omnikey Sync API V2.0., but that only for test. I have to write simple requests to get information from card.</p>