Slashdot Mirror


Load List Values for Improved Efficiency

An anonymous reader writes "Reduce the number of database hits and improve your Web application's efficiency when you load common shared list values only once. In this code-filled article, learn to load the values for drop-down lists when your Web application starts and then to share these loaded list values among all the users of your application."

2 of 207 comments (clear)

  1. what a steaming pile of shite by MrBlender · · Score: 0, Offtopic

    How much wanking about could you possibly do to make a cache.

  2. Re:"Returns the boolean value" by Nasarius · · Score: 0, Offtopic
    He doesn't even use the Java naming convention of putting an underscore in front of your instance variables. I spent a few seconds wondering where optionsVector came from, because I thought pretty much all Java coders followed the naming conventions.

    And the rest of the comments are just as bad. If you're just going to restate the name of the method, please don't bother. What the fuck is "Return the list of values" supposed to mean?

    --
    LOAD "SIG",8,1