First i made a database named 'dbase' within the reference of mySql(php myAdmin). Then i import all the required java packages from java library as program essentials. I made a class named 'MySqlSOUNDEXFunction', which extends 'HttpServlet'. Then i use service()Method which will use to get the request from the doGet()Method for output on the browser. I loaded all the required drivers for accessing database as required. Then i use to declare the variable as i use 'connection' this will use to create a link between the database and the java code. Then i declare 'resultSet' this will responsible for get the value from selected columns and the rows. I use here now 'preparedStatement' this will execute the selected Query like executeQuery as (Select SOUNDEX('JavaMySql') as sndex). Then i use doGet()Method that will bring the output on the web browser.

For getting the output in the tabular form, I use 'HTML' code and tags that will show output in a manner way on web browser.