*
The moose likes Other JSE/JEE APIs and the fly likes Java native interface Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Bookmark "Java native interface" Watch "Java native interface" New topic
Author

Java native interface

appu sharma
Ranch Hand

Joined: Sep 20, 2009
Posts: 104

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.


It doesn't matter if you win by an inch or a mile; winning's winning.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41601
    
  55
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.


Ping & DNS - my free Android networking tools app
Ernest Friedman-Hill
author and iconoclast
Marshal

Joined: Jul 08, 2003
Posts: 24183
    
  34

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.


[Jess in Action][AskingGoodQuestions]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Java native interface