Results 1 to 2 of 2
  1. #1
    mrvigneshmca is offline Member
    Join Date
    Mar 2009
    Rep Power

    Default Storing image loaded in applet in mysql database

    hi friend,
    I am doing a project in facial recognition system. I am supposed to store facial images captured using webcam from applet in mysqldatabase. I wonder whats the way to store image in database. Can u provide me the path to clear the hurdle i am facing. If u are not clear of my requirement means please specify i ll make still more brief.
    Last edited by mrvigneshmca; 03-19-2009 at 12:34 PM.

  2. #2
    M77's Avatar
    M77 is offline Member
    Join Date
    May 2008
    Rep Power


    You should create Server class that listens some defautl port and createated connections with client (applet). Let call this ClientConnection. Then create a ServerConnection to ClientConnection right from applet. Something like:
    Socket s=new Socket(, Config.Server.port);
    in= s.getInputStream();

    Then recieve pixels of an image from ServerConnection to ClientConnection. And save pixels as byte array throw JDBC in any DB you like.

Similar Threads

  1. [SOLVED] Storing an image in the system as a file
    By sruthi_2009 in forum AWT / Swing
    Replies: 16
    Last Post: 03-23-2009, 05:18 AM
  2. Replies: 2
    Last Post: 02-11-2009, 04:43 AM
  3. Making an Applet use a MySQL Database
    By Bomber_Will in forum Java Applets
    Replies: 5
    Last Post: 11-30-2008, 04:28 PM
  4. Replies: 0
    Last Post: 04-22-2008, 11:57 AM
  5. Replies: 0
    Last Post: 02-15-2008, 08:41 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts