Best way to store documents and images in a web application

All,
Which is the best way to store the documents, is it Oracle DB or file system or Virtual Directory Mapping in weblogic.
We are working on a Internet based application into CRM domain, there is a requirement where user can upload and download the documents (.pdf, .xls, .doc etc). Right now we are storing images in the DB. Is it advisable to store all the docs in database and will it scale up in future.
PS: There is no scope for using content server because of business constraints.
Please let me know, thanks in advance.
Regards
Girish

Best way to store depends entirely on requirements.
Why store it in the database when it for example is purely static images (e.g. used as part of the web GUI)? Instead that can be served up directly by a web server - which is specifically designed for this.
If it is more than just an image, but include tags (non spatial data attributes), requires transaction control (e.g. updating an old passport/id photo with a newer one), auditing, filtering/searching and ordering, requires backup, needs security and access controls, and so on - than that is most definitely a database function.
So the issue is not what the binary file is or contains - an image or pdf or something else. It depends entirely on how it is to be used and what the business requirements are in this respect.

Similar Messages

  • Best way to store media and where to capture to, ideas?

    So i am wondering what is the best most effiecient way to store my media....
    I have a 500 GB Hard drive and a 1000 GB external. what do people recomomend as to where to put certain files. ie; Final Cut Project files, capture scratch, exported Quicktimes, work files..etc. I have gone through 2 external drives the last one just failed on me. Ihave been storing everything on it, all of the above noted file types. I am looking for some great media managment ideas.

    I have a tutorial DVD that covers this in detail, and much more.
    Getting Organized with FCP
    "I may receive some form of compensation or pay from the link posted."
    Shane

  • Best way to store a lot of image files??

    I am working on a new project which involve user upload image to server and then do searching and view image. there will be a lot of image files. image will be displayed in web page as thumbnails, so there may be resized pic stored in server or resize on the fly.
    What is the best way to store image like this? as files in file system? database? etc...?
    Thank you very much

    Since seraching is invloved use a database. A file system is not good place to search in.
    Using a database will allow you to store additional data as well such as comments about the images or the ratings given by the users.
    Of course you will have to develop a propper table structure for this.
    Also do not generate thumbnails all the time instead cache them once they are created. Atleast the thumbnails of the images that are displayed often.
    Also store the last updted dates with the images so you can loow the images to be cached by the clients or the proxy server. That will reduce repatitive requests for the same image from same client.

  • Whats the best way of storring images

    I have an application that will handle images for the elements of a catalog. The application will not have a very heavy load, will be for managament use only, and the database and the app server will be on the same machine.
    I am investigating what is the best way of storing these images, if i keep them in the database or in the server as files.
    With best way i mean perfomance and quick response.
    Whats your experience with this topic?
    Thanks

    I would store them on the server and not in the database as e.g. ORDImage objects (InterMedia). Last approach is more complex. You have to retrieve them from the database and if you use ORM the framework needs to support this type of object. If you store the images on an Oracle AS they can still be cached.
    Ronald

  • Best way to store a text document

    I have many (100+) contracts of about 100 pages each. What is the best way to store this data so I can search for text within a contract and search for text across contracts? Filestream? I think I want to be able to do a full text search for strings
    within a documents and across documents..
    Thanks in advance....
    Rich

    Hi,
    If you are using SQL Server 2012, I recommend you to use the FileTable to store the text documents. The FileTable feature of SQL Server 2012 is an enhancement to the FILESTREAM feature which was introduced in SQL Server 2008, FileTable lets
    an application integrate its storage and data management components, and provides integrated SQL Server services - including full-text search and semantic search. Before using
    the FileTable feature, you need to
    enable the FILESTREAM feature on the instance of SQL Server 2012. In addition, you need to create UNIQUE index and FULLTEXT index for the FileTable in order to do full text search.        
    About how to use the FileTable, you can review the following links:
    http://www.mssqltips.com/sqlservertip/2667/filetable-feature-in-sql-server-2012/
    https://www.simple-talk.com/sql/database-administration/full-text-searches-on-documents-in-filetables/
    Thanks                 
    Lydia Zhang

  • Best way to store digital images?

    I have all of my digital images for personal and business loaded in my home pc (Windows XP, sorted in a Kodak Easyshare program). Recently purchased a laptop. All of my information from the PC was transferred/copied onto the laptop. However, I want to store the images on something separate from the laptop. Approximately 10GB worth of images.
    What is the best way to store them for easy access to view and copy/print or for uploading to a site to print out pix for photo albums, etc.
    Thanks!

    TheLexMachine wrote:
    empty317 wrote:
    I have all of my digital images for personal and business loaded in my home pc (Windows XP, sorted in a Kodak Easyshare program). Recently purchased a laptop. All of my information from the PC was transferred/copied onto the laptop. However, I want to store the images on something separate from the laptop. Approximately 10GB worth of images.
    What is the best way to store them for easy access to view and copy/print or for uploading to a site to print out pix for photo albums, etc.
    Thanks!
    The best way to store your images is to get a high-capacity flash memory device, preferably an SDHC card because they have a lock switch that prevents writing when the card doesn't need to be written to, and use that to archive your files. Simply keep it inside a memory card case in a safe place, such as a personal lock-box, and you're good to go. You can take that card to any photo kiosk or someone's home to do whatever you want to with the files.
    Good point, I'm so ingrained against that particular solution due to the sheer amount of images I have (I can easily fill up an 8GB SDHC in 1-2 days when airshow season rolls around, plus I have an HD camcorder that takes about 8GB/hour), but since the OP only has 10GB total, making copies to 2-3 16GB SDHC cards and storing them in safe places would be an excellent approach.  Choose one location (maybe the desktop or the laptop's hard drive) as a "master" and periodically back up to all the SDHCs.
    Just make sure to choose a "master" storage location or you'll go insane trying to keep things synchronized.
    Online storage solutions such as Dropbox and similar services might also be an option for only 10GB of data.
    *disclaimer* I am not now, nor have I ever been, an employee of Best Buy, Geek Squad, nor of any of their affiliate, parent, or subsidiary companies.

  • Best way to store lots of tile images

    Hey, In my game I'm gonna need to store probably thousands of tile images. They are all in .png format, and I am wondering the best way to store the image data. I could of course keep them in some folder called images, and then have thousands of files...but then people could jack them, and plus that would be inneficient use of space??? right?
    What is the best way to store them??
    thanks

    Anything can be "jacked". The other possible ways are storing them in some sort of archived file like a JAR or ZIP or GZIP. The only way to even remotely ensure no one will "jack" your images would be to store them in a compressed format which you created. Which would entail creating your own compression algorithms. Have Fun! :)
    Seriously though, I wouldn't worry too much about the images and people "jacking" them. As far as inneficient use of space, I personally wouldn't worry about this either unless your app will be delivered via WebStart or Applet. Then load time could be an issue. You could use lazy downloading though and download the images when they are needed.
    HTH
    Gregg

  • Best way to store many images at once is?

    I am dealing with a number of image files at once (10 - 100) that are small in size (5-300kb) and I want to be able to retrieve them quickly after I save them to disk. I want to store them all in an array and save the array. What is the best way to store them as so I can save space on my disk and load them back in quickly when I need them. I tried using an array of ints and that is slow to load and takes a lot of space on disk.
    Thanks

    maybe this is what you want, from javadocs,
    public class MediaTracker
    extends Object
    implements Serializable
    The MediaTracker class is a utility class to track the status of a number of media objects. Media objects could include
    audio clips as well as images, though currently only images are supported.
    To use a media tracker, create an instance of MediaTracker and call its addImage method for each image to be
    tracked. In addition, each image can be assigned a unique identifier. This identifier controls the priority order in which
    the images are fetched. It can also be used to identify unique subsets of the images that can be waited on independently.
    Images with a lower ID are loaded in preference to those with a higher ID number.
    Here is an example:

  • Best way to store image? will be a lot of image files

    I am working on a new project which involve user upload image to server and then do searching and view image. there will be a lot of image files. image will be displayed in web page as thumbnails, so there may be resized pic stored in server or resize on the fly.
    What is the best way to store image like this? as files in file system? database? etc...?
    Thank you very much

    Hi,
    When you are asking about the "best method for BDB", you should first read this: http://www.oracle.com/technology/documentation/berkeley-db/db/ref/am_conf/select.html
    When you know exactly what are the differences between the BDB access methods, then you will be able to figure out which is the best method for your requirements or to ask a more specific question.
    Regarding the second problem, you should read about isolation and degrees of isolation: http://www.oracle.com/technology/documentation/berkeley-db/db/ref/transapp/inc.html
    Regards,
    Bogdan Coman

  • What is the best way to store and search 2D data

    Hi,
    There is a set of data (~10k records ) in 2D dimension.
    like this :
    Col 1, Col 2, Col3....
    What is the best way to store and search those records ?
    Thanks in advance
    Wilson

    Hi,
    Either userObjet[][] if you know how much data you have, and the data size is fixed, or use a list of lists. E.g. A Vector of Vectors (some will probably say that you should use an ArrayList instead, and that could be the case, but it sounds like you would want to display the data later on, and a DefaultTableModel (for JTables) uses a Vector as data holder).
    Kaj

  • Can you suggest a best way to store and read arabic from oracle database?

    Hi ,
    can you suggest a best way to store and read arabic from oracle database?
    My oracle database is Oracle Database 10g Release 10.1.0.5.0 - 64bit Production on unix HP-UX ia64.
    NLS_NCHAR_CHARACTERSET AL16UTF16
    NLS_LANGUAGE AMERICAN
    NLS_TERRITORY AMERICA
    NLS_CHARACTERSET WE8ISO8859P1
    I have presently stored the data in nvarchar2 field. But i am not able to display it correctly.

    Using the national characterset should work but there are other factors that you have to consider when working with NCHAR/NVARCHAR2/NCLOB.
    If possible, changing the characterset is usually the best solution if it's a possiblity for you.
    For more info:
    Dear Gurus: Can u pls explain the difference between VARCHAR2 & NVARCHAR2??

  • HT1198 I shared disk space and my iPhoto library as described in this article. When creating the disk image, I thought I had set aside enough space to allow for growth (50G). I'm running out of space. What's the best way to increase the disk image size?

    I shared disk space and my iPhoto library as described in this article. When creating the disk image, I thought I had set aside enough space to allow for growth (50G). I'm running out of space. What's the best way to increase the disk image size?

    Done. Thank you, Allan.
    The sparse image article you sent a link to needs a little updating (or there's some variability in prompts (no password was required) with my OS and/or Disk Utility version), but it worked.
    Phew! It would have been much more time consuming to use Time Machine to recover all my photos after repartitioning the drive. 

  • Best way to manage images on jsp web application

    Hi,
    Am developing a jsp web application, in that project, the user will upload the image files, now I created an image directory in the context root and when the image is uploaded by the user it is saved in the /images directory and the image path is saved in the database. I can display this image using the <img src="images/a.jsp" > tag.
    but when I rebuild the project all the images in the /images directory get deleated but the image path is remained in the database, is there any method that I make /image dir outside my project context root so that when I rebuild the project the /images dir can get changed and my project will save images outside the context root that is in the /images dir which is now outside the project context root. and is it possible to display those images using <img src""> tag. because this time my /images dir is at D:/images . what could be the best method or way to handle images with the web application.
    any suggestion will be helpfull

    Well my friend as per your given case there are to two ways of approaching your problem.
    Case 1:
    How to save the relevant data ??
    .Create a backup folder Workstation on which you are hosting your application where you can store all the uploaded files which is outside the scope of webserver(However we can write a dedicated servlet which can access that file) and make sure we pickup from any the folder path from a specfic MessageResource bundle or an context/servlet init parameter in web.xml.
    .Write a Upload servlet/Backing Bean which saves all the files in the discussed folder using utility packages like Commons FileUpload,Oreilly MultipartRequest & etc and then register saved fileName in the database user specfic table specific to user.
    How to display the Image ??
    .Write a dedicated servlet which can pickup user related fileName specfic information from the database and the read the file from backup folder by constructing the path from the entry made as a init param in web.xml or any other custom MessageResource bundle and then stream the Image data using the ServletOutputStream.
    NOTE: do not forget to pickup & setImage file ContentType & Set the content length.
    .Just try to render the JSP view file where we are displaying the displaying the images by calling the dedicated ImageServlet.
    <img src="ImageServlet?userid=2345" align="center"/>Try to refer below posts to get a better understading.
    Dedicated Image Servlet:
    http://forum.java.sun.com/thread.jspa?threadID=5208858&messageID=9840042#9840042
    Uploading Files Using Servlet:
    http://muimi.com/j/jakarta/commons/fileupload/
    Case 2
    The second method would more or less the same but here we would save the uploaded file
    content is saved in the Database as a Blob and we would retrive it back using a dedicated image servlet again.
    However,in terms of performance the second case implementation is very costly.
    Try to refer below posts to get a better understading on the second case.
    http://forum.java.sun.com/thread.jspa?threadID=5193481&tstart=50
    http://forum.java.sun.com/thread.jspa?threadID=5211649&messageID=9853670#9853670
    Hope this might help :)
    REGARDS,
    RaHuL

  • Best way to store an AES Key

    Hello,
    I'm currently developing a little "file vault" , with graphical interface, to enable end users to encrypt/decrypt some of their personal files on teh filesystem
    I'm currently using AES as Cipher :
    the first time the user launches the UI, i generate an key for AES then store it (encoded as Base64) in Registry (if Windows) using java.util.Preferences
    Doing this, later, the application automatically retrieves this key for decrypt/encrypt tasks.
    Is this the best way to store this kind of key.
    I currently ask myself if i couldn't (as second option) leave the user choose a key first : the user should then retype this key at every launch of the application to be able to decrypt/encrypt his files.
    What is the best way?
    Laurent

    As far as i understand in the document PKCS#5 , to do my application, i should use the PBES2 (password based encryption scheme 2), respecting the following steps :
    Encryption:
    1) Select a Password (P) : this password is not stored on the system, the user will provide it to the application for every operation (dec / enc)
    2) Select a Salt (S) : i wonder if first time i should use a pseudo random generator, then store the Salt on the System (where on Windows or Linux?...)
    3) Select an iteration Count (c) : should be > 1000
    4) select a derived key Length (dkLen)
    5) Create a derived key (DK) using the formula : DK = DKF(P,S,c,dkLen)
    6) Encrypt clear Message M using the Derived Key (DK) an the algorithm AES, to obtain the Cipher Text (C)
    Decryption:
    Repeat steps 1 to 5
    6) Decrypt Cipher Text (C) using DK and AES algorithm to obtain the clear message (M)
    Does it sound good for you.
    My question is always the same :
    Should i hard code in my application the Salt ,the Iteration Count, and the derived key length or , should i first generate a pseudo random Salt, then store it on the file system (Windows Registry, File)
    Any idea?
    Laurent
    Message was edited by:
    Laurent_Bois

  • Best way to store doc on iPad mini

    What's the best way to keep documents available on an iPad mini - there's no desktop equivalent. Can I make folders?

    No. iOS does not have a file system like a computer would. So no desktop, and no directly accessible file folders.  If you need to store documents, they are stored within the Applications that can open them. So PDF's can be stored in the Adobe App or in iBooks. Word documents would be inside Apple's Pages or a 3rd party App that can open them. If these Apps support folder creation (many do) you can make folders in there.
    There are also more generic file management Apps that can store different types of files and support folder organization.  File Manager is pretty good.
    https://itunes.apple.com/us/app/file-manager-free/id479295290?mt=8
    You might also want to look into iTunes File Sharing.
    http://support.apple.com/kb/ht4094
    What types of files are you aiming to store?

Maybe you are looking for

  • [CS4/JS] Puzzlify script

    Something I wanted to do for a while -- and, actually, spurred into action by this post: Cut image into separated pieces, from a dastardly dastard (he's my colleague at work, sitting right across me ... but that was a 'private' question. Laughs a-ple

  • Is there any ELearning for 2007A upgrade

    I have the release notes for the 2007A upgrade, was hoping that the elearning might be available for it but cannot find it. IS there perhaps any other documentation available on the 2007A upgrade and how to's etc on recon's, landed costs, VAT etc....

  • How to flash an HP 4320t

    Good afternoon.  We own a few HP 4320t thin clients.  Some of them have the flash drive just about full.  I read the owner's manual and followed the instructions to capture the image from one of the machines that has most of the flash drive still emp

  • Group by multiple columns problem

    I am having some problems with my query. For example: SELECT STUDENTNUMBER FROM REGISTRATION WHERE TERM='A1' AND YEAR=2008 GROUP BY STUDENTNUMBER HAVING COUNT( COURSECODE) = 1; which returns: STUDENTNUMBER 123456 789012 6 rows selected Which is ok, b

  • TS4002 Icloud still showing as empty

    All of the options are enabled in my icloud and I have many photos in photosteam, yet icloud still has nothing in it, still has 5/5gb available. Why?