Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Java native interface

 
appu sharma
Ranch Hand
Posts: 104
Java Netbeans IDE Windows XP
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am making a online project .
i am using Biometric finger scanner as my hardware device the driver is installed on window XP
Can anyone tell me how i connect my java program to that driver and how to manipulate the data,
so that i canuse it with JSP and MYSQL as my database.
 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can start learning about JNI here: http://java.sun.com/developer/onlineTraining/Programming/JDCBook/jni.html

The SDK of the driver/device probably has lots of important information and most likely sample code.
 
Ernest Friedman-Hill
author and iconoclast
Marshal
Pie
Posts: 24211
35
Chrome Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Note that you won't be able to use it with JSP (only) on the front end, as the Java code in a JSP application runs entirely on the server machine, not the desktop. You'll need some code actually running on the client: either an applet as a part of your web app, or a Swing application on the desktop instead of a web app.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic