Griaule Biometrics

Home » Client server application using the sdk

Client server application using the sdk

Many customer ask us if it is possible to develop a web application using the sdk, if the database is on the server and I read the fingerprint on client, is it possible?
The answer is yes. Since the sdk is restricted to fingerprint operations, the developer can integrate it in an almost infinite number of ways.
For web applications there is only one restriction , the fingerprint must be read on client. From this point on, there are two options:

  • An application on the client just sends the image to the server , in the server there is another application that in fact uses the sdk, this application does whatever has to be done with the fingerprint received, like compare , store in a database, extract template....
  • The second option, is using only a client application. This application uses the sdk in order to do all the operations with the fingerprint. The database stays in the server.
  • This method has some disadvantages, for example, the database must be visible to the client, in the first option only the webserver needs to be visible

If you are developing in java for example, the second option is very simple. It is just a matter of making a proper database connection:

	private void connect() throws ClassNotFoundException, SQLException {
   
            private static final String URL = "jdbc:mysql://servername/databasename";  
            private static final String DRIVER = "com.mysql.jdbc.Driver";  
            private static final String USER = "username";  
            private static final String PASSWORD = "password" 
		      
	    Class.forName( DRIVER );
  	    con = DriverManager.getConnection(URL, USER, PASSWORD);
	}

The first option is a little more complicated, as you have to consider the application server you are running, how the communication is going to be established, and others things. But this would be a true client-server application, if well implemented is much more consistent and safe than a simple connection with the database.