How big is too big for .properties file for a ResourceBundle?

The subject says it all. We are using ResourceBundles to manage the dictionary of English/French literals for our web enabling project. Our .properties file is currently 675 key/value pairs. How big can .properties files grow before they are too big?
Thanks,
Don Booker - Programming Team Leader
Common Departmental Financial System
Public Works & Government Services Canada

The resource gets loaded into memory, so there's a memory cost that increases with the number of properties. (There's also a time cost when it loads, but that's only once.) And finding one of the properties requires a search, so there's a processing cost involved. But it's based on a Hashtable, so it isn't a major cost even if the number of properties gets very large.
So there's your constraints. The question is, though, what is your alternative when the resource does get too big? A database? That reduces the memory cost but increases the processing cost. I would guess you could let your properties file grow a lot before you were forced to go to a database, but actual testing would help.

Similar Messages

  • How can i write properties file for Hindi font

    Hi All,
    i'm using jdev 11.1.1.5.0
    in my use case i have worked on internationalization where i want to use hindi font
    like this link -
    Majid Hussain: Internationalization of ADF 11.1.1.3 Applications
    as in above post majid used german language and write properties file for german language(which is using english character).
    but my problem is that i want to use hindi language
    so how can i write propery file which support hindi font.
    Manish

    Hi Manish,
    We also had same requirement where we need to show indian local language(Hindi ,Bengali and many more ).
    We had implemented following approach and perhaps it will helpful for you.
    1-First we changed the encoding value in jdeveloper.
       go to jdeveloper --> tools --->preference-->encoding , select to UTF8
    2-We used to get the properties and it's translated value from business and then we were manually put these pair into related resource bundle.
    And using this we were able to implemented multilanguage support.
    Thanks
    Prateek

  • Sorry I'm new to Final Cut Express. How do you make an image (jpeg file for example) move across the screen slowly as I've seen in many films.

    Sorry I'm new to Final Cut Express. How do you make an image (jpeg file for example) move across the screen slowly as I've seen in many films.

    Neil from bristol wrote:
    … How do you make an image … move across the screen …
    by setting KEYFRAMES
    (read, what FC/e's built-in Help-feature tells about it)
    resize and set pic to start position
    set keyframe
    move playhead in timeline to desired length
    set pic to end position
    set keyframe …

  • How fast does Apple produce new RAW files for new cameras? I want to buy a D7100 wich is not supported in the present version?

    How fast does Apple produce new RAW files for new cameras? I want to buy a D7100 wich is not supported in the present version?

    Jeannot7 wrote:
    I'm interested in seeing who gets the D7100 support first? Apple or Adobe!! I will go with the one that gets it out first.
    FWIW,
    Adobe keeps a quarterly release schedule for RAW updates. The current Lightroom 4.4 RC expires on 5/31/2013 which typically is an indication that the official release will be close to that date. According to the current list of new supported cameras, the Nikon D7100 is not slated to be supported (but that could change on release).
    http://labs.adobe.com/technologies/lightroom4-4/?tabID=details#tabTop
    The most likely time frame for Adobe support of the D7100 will be sometime in August or September 2013 (although there will probably be a Lightroom 4.5 RC available prior to that for testing purposes).

  • How and where to modify the BAI File for Electronic Bank Statement

    HI,
    Can anybody explaing me How and where to modify the BAI File for Electronic Bank Statement.
    thanks
    Sap Guru
    kischowdary--gmail.com

    Hi
    Actually there were two formats BAI & BAI2, BAI2 format is latest one.
    Please ask for the latest file from bank and try to process.
    Thanks
    Kalyan

  • How do I export v-card formatted files for use with either Numbers or Excel?

    How do I export v-card formatted files for use with either Numbers or Excel?

    Did you open Automator and just look around?
    Actions are listed in the left pane.
    You drag them into the workflow on the right in the order you need to process the items that you want.
    If this is a on-off requirement, just make a Workflow. If you plan to use it often, make it an Application.
    If you want to select the contacts you want to export, use a get Selected action. You'd then select the contacts in Contacts App before running the workflow.
    I'm not on a Mac to take screenshots, so you'll have to look at Automator's help or google for more info.

  • How can get a database like ****.SQL file for test in sqlplus in oracle8i

    How can get a database like ****.SQL file for test in sqlplus in oracle8i,I am a beginner,thanks

    I'll give it a guess as to what it is you want but I'm afraid you'll have to give some more information to go on. I appreciate it's difficult for people who are beginners or who don't have English as their first language.
    Are you trying to run a SQL file? From SQL*plus you can do either of these:
    SQL> start my_file
    or
    SQL> @my_file
    N.B.: if th efile has a .sql extension you don't need to include it, but you do for any other file extension e.g.
    SQL> @myfile.run
    Here is the page Vijay referred to:
    Re: Physical storage Checks & adding disk on server. I hope you find it useful.
    You will more helpful links (including links to the Oracle on-line manuals at this page:
    Re: How to attach a java bean in forms6i
    good luck, APC

  • Where can i find .properties file for jco connection?

    For jco connection to SAP, we need .properties file. Is this file already contained in Exchange Profile or somewhere??
    If yes, where can i find .properties file for jco connection or what is the path to this file?
    OR, do we have to create manually??
    Any help is appreciated.
    Thanks.
    Karma

    Hi Karma,
    Please take a look at these..
    Where to set up the JCO connection?
    http://help.sap.com/saphelp_nw04/helpdata/en/bc/42e13d82fcfb34e10000000a114084/frameset.htm
    http://help.sap.com/saphelp_webas620/helpdata/en/bc/42e13d82fcfb34e10000000a114084/content.htm
    cheers,
    Prashanth

  • [svn:fx-trunk] 8056: More updated project properties files for the sparkTest project.

    Revision: 8056
    Author:   [email protected]
    Date:     2009-06-22 12:13:58 -0700 (Mon, 22 Jun 2009)
    Log Message:
    More updated project properties files for the sparkTest project.
    Modified Paths:
        flex/sdk/trunk/development/eclipse/flex/sparkTest/.actionScriptProperties
        flex/sdk/trunk/development/eclipse/flex/sparkTest/.project

    Thats good news.

  • Alternatives to loading .properties files for every request

    I am just starting for a company, and they loading a bunch of .properties files for every request. I've told them that according to JEE specs, using the file system like that is a violation, as it's not scalable. I've suggested the following alternatives:
    1. Load a file once, in a static initializer, or something to that effect. Re-start the app if a change needs to be made in properties.
    +: few changes
    -: requires a new war/ear to make a change
    2. Put properties that are truly variable in a database record.
    -: requires DB schema change.
    3. For instance, i've though about using something like jconsole to change an mbean property, and then web apps using that property.
    4. Define a single web app that exposes an EJB/JMS/RMI object which serves properties to other web apps. If a change is needed, only 1 web app needs to be re-started, although it would still have to be re-packaged. Perhaps this app could load this stuff from the DB.
    5. Have a properties service, and expose it as an RMI object. If a change needs to be made on the fly, use rmi to make the updates.
    I'm leaning towards a combination of 1, 5, and possibly 4.
    I would like to know what other alternatives might be available.
    Thanks.

    I am just starting for a company, and they loading a
    bunch of .properties files for every request. I've
    told them that according to JEE specs, using the file
    system like that is a violation, as it's not
    scalable. well, it's just boneheaded that's all
    I've suggested the following alternatives:
    1. Load a file once, in a static initializer, or
    something to that effect. Re-start the app if a
    change needs to be made in properties.that's what most people do
    2. Put properties that are truly variable in a
    database record.well, databases don't normally hold config info, but you can do what you want
    -: requires DB schema change.
    3. For instance, i've though about using something
    like jconsole to change an mbean property, and then
    web apps using that property.
    4. Define a single web app that exposes an
    EJB/JMS/RMI object which serves properties to other
    web apps. If a change is needed, only 1 web app needs
    to be re-started, although it would still have to be
    re-packaged. Perhaps this app could load this stuff
    from the DB.doing EJB or RMI for getting properties sounds like overkill in the extreme to me

  • How do I translate word perfect old files for my new iMac?

    How do I translate Word Perfect old files for my new iMac?  They are transferred from a 13-year-old Dell.  My McLink did not work.
    Thanks.

    The current version of the free LibreOffice continues to support Word Perfect documents. OpenOffice had to drop this support due to licensing issues. LO installs in two places: /Applications and your local Library/Application Support directory. Simple to install. Simple to remove. Good PDF documentation from their site. It is a capable MS Office replacement.
    I just opened a wpd legal deposition in LO and it looked fine.

  • [svn:bz-trunk] 5125: Update excludes.properties file for BlazeDS/ trunk to exclude tests due to bugs BLZ-354, BLZ-355, and BLZ-356.

    Revision: 5125
    Author: [email protected]
    Date: 2009-03-02 05:55:42 -0800 (Mon, 02 Mar 2009)
    Log Message:
    Update excludes.properties file for BlazeDS/trunk to exclude tests due to bugs BLZ-354, BLZ-355, and BLZ-356.
    Also exclude JMS tests on WebSphere due to configuration issues on the regression box. This is being tracked by QETOOLS-32 in jira.
    Ticket Links:
    http://bugs.adobe.com/jira/browse/BLZ-354
    http://bugs.adobe.com/jira/browse/BLZ-355
    http://bugs.adobe.com/jira/browse/BLZ-356
    http://bugs.adobe.com/jira/browse/QETOOLS-32
    Modified Paths:
    blazeds/trunk/qa/features/excludes.properties

  • Resolution for .mov files for film festivals

    Some film festivals are asking for .mov files for screenings. Nowhere can I find what type or resolution they want or if there's an industry standard.
    I have seen that if they play it back from a laptop (and you never know) that too high a resolution won't work.
    Is there a standard for movie theaters?
    Thanks.

    Neal Fox wrote:
    … Is there a standard for movie theaters?…
    Yes and No
    DCP is a worldwide, digital delivery standard for commercial theaters. But, by standards, is for example 'limited' to 24fps - sad news, for Mr P. Jackson or J.Cameron (no idea, how HFR nor 3D is delivered…)
    highly complex to encode, there are specialized companies offering 'transfer services' - $$$, creates enormous files (an intra-compression codec), asks for 'Linux formatted/ext2'-drives, etc etc etc ,.. . (just read about it - no clue what I'm talking about!!)
    Plan B)
    ask the theatre what they want …or use.
    Plan C)
    1080/24p, h.264/high profile/20mbps in a mp4 should be very universal … (who asks for mov can playback mp4 too)
    … but then, next question:
    What media? stick, dataDisk, hard drive, ftp-upload?
    What format? fat32 (doesn't work for longer movies…), exFat, ntfs??
    some non-commercial festivals allow/prefer delivery by BluRay or even on DVD ...
    again, 'limited' too, but very, very universal …

  • How big is too big for swf?

    I have a swf file that has audio associated with about 15 slides. We were having some problems with it downloading and the people that host our LMS (Moodle) said that some of the problems may be related to our CP4 settings. I have the preloader set to 25% and the file is about 8.6 MB. They said to us:
    Usually when hand-coding a SWF I require 100% of the SWF to be loaded before the SWF begins to play.
    8.6mb is large for a SWF provided via progressive download. The optimum is no more than 5mb for users with a broadband connection. That may be part of the issue.
    Is 8.6 MB really too big for a swf? What is the maximum size this should be? If it is too large what else can I do to shrink the audio as I'm sure that's a great deal of what is making the file too large?
    Thanks very much,
    Whitney

    Hey Whitlowe,
    I had a very similar situation.  I received a 15 MB file from a "co-worker." The course was basically a converted PowerPoint into a Captivate course.  The course had 53 pages and had heavy audio.
    When I initially tried to publish it to my LMS the course took about ten minutes to load.  I’m not sure if you use another authoring tool but I used another authoring tool called "Tool Book" a SumTotal product.  I had to divide the captivate course into 8 SWF files.  I then used Toolbook as a wrapper.  The Tool Book file was 8 pages.  Because Tool Book can read each page as a different SCO, the SWF files loaded one at a time. 
    For future courses, I am looking at getting a streaming server.  I can house my audio on the server.  The course would launch as a shell but would link to a streaming server for the audio/video.  Not only will this improve load time but decrease my space on the LMS.  I am looking into this option and not positive what the results will be, but I thought I would throw it out there.
    That is the only solution I currently know of. I’m carious of any other solutions as well.
    Good luck.

  • How can load properties file for one time and use in entire application

    Hi folks,
    I dont want to read properties file every time , and want to get property value in any servelet or jsp page.(means i want to read only property file only for once and want to get value in any where ) , how to do this.
    Message was edited by:
    RajeshwarReddyT

    means we have to read file every time Know but i dont
    want to be happen that ??? No you don't . You read the file once. You store it in the hashmap. Then you hand that hashmap to whatever class needing the data.
    getProperties() returns the hashmap, doesn't read the file.
    Maybe I should have called the method getMap or something.
    Message was edited by:
    karma-9

Maybe you are looking for

  • How to get the values from the resultset???

    I have a problem with this code given below, i am executing an sql query which return a union of values from two tables. the problem here is how do i read the values from the resultset. here is the code.... package com.webserver; import java.sql.*; p

  • Animated gif do not work properly on N85

    I bought recently an N85 and downloaded some animated gif pictures and they do not run fluently as they should. The SAME gifs work great on both the E51 and 5700. What is the problem with the new photo viewer in N85? Another issue I have with the pho

  • Basis SP 18 to 20, can not logon through SAPGUI - Syntax Error

    Hello Experts, We had started ECC6.0 SP18 to SP20 patches and now we are getting Syntax error in program "CL_WB_CROSSREFERENCE==========CP ". for most of the transactions executed. 1. Job RDDIMPDP is also failing with message Program RDDIMPDP is runn

  • Unexpected Signal : 11 Error??? Help needed ASAP

    hello All, I have been running tomcat with SDK 1.4 on a linux for around 6 months with no major problem. The other day though tomcat began to crash, now it will not stay up. As soon as you browse a JSP page it crashes with the following error. Any id

  • Using Procedure in SQL statement

    Dear Sir, As you know, I can use any function in SQL statement. For example: SELECT systimestamp, Function_Name(variable1, variable2,...) FROM anytable; So the previous function could only retrieve one value -as functions concepts-. Anyhow, Can I, in