Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 2 of 2

Thread: Download Image (stored as blob) from Database to the Client Machine

  1. #1
    Junior Member
    Join Date
    Jul 2014
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Download Image (stored as blob) from Database to the Client Machine

    Hello,
    We have web based application (Oracle DB, Weblogic middle tier) and a applet based application running on the browser.
    We have a requirement to Load images from the database (stored as blob) to the client browser and the users can do the lookup on images when needed.

    We need this to perform well, so there is no delay for the user experience. We have 2 options:

    1. Load the images from the database to the Application Server and keep it. When the client request from the browser comes, download it from the application server.

    2. Load the images (asynchronosly) when the user logs into the application and download them to the Client machine? Is this possible? Especially give that it is stored in the database as binary objects?
    And then load for the user from the client box itself, upon request.

    If 2nd option is possible, which once is recommended?

    thanks
    Snider


  2. #2
    Junior Member
    Join Date
    Jul 2014
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Image (stoder in database as BLOB) - best way to download to the client browser (applet)

    Hello,
    We have web based application (Oracle DB, Weblogic middle tier) and a applet based application running on the browser.
    We have a requirement to Load images from the database (stored as blob) to the client browser and the users can do the lookup on images when needed.

    We need this to perform well, so there is no delay for the user experience. We have 2 options:

    1. Load the images from the database to the Application Server and keep it. When the client request from the browser comes, download it from the application server.

    2. Load the images (asynchronosly) when the user logs into the application and download them to the Client machine? Is this possible? Especially give that it is stored in the database as binary objects?
    And then load for the user from the client box itself, upon request.

    If 2nd option is possible, which once is recommended?

    thanks
    Snider

Similar Threads

  1. How to show an image data stored in database in jsf?
    By JajatiKesharibehera in forum What's Wrong With My Code?
    Replies: 2
    Last Post: September 26th, 2012, 01:33 AM
  2. How to download a pdf file stored in a MySQL blob?
    By A4Andy in forum JDBC & Databases
    Replies: 1
    Last Post: October 20th, 2011, 11:35 PM
  3. Moving MySql Database from one machine to another machine
    By vaishali in forum JDBC & Databases
    Replies: 5
    Last Post: July 21st, 2010, 01:21 AM
  4. Replies: 2
    Last Post: October 23rd, 2009, 02:34 AM
  5. Download a file to client from server
    By mvittalreddy in forum Java Networking
    Replies: 4
    Last Post: October 5th, 2009, 04:23 AM