2 Replies Latest reply on Oct 18, 2005 7:25 PM by Patrick Angeles

    best practices: reference data in the application context

    Patrick Angeles Novice

      For things like drop-down menus that are backed by entity beans (e.g., State, Country,...) one would have to create a collection of SelectItem objects.

      I would think that these belong to the application context. What's the best way to put them there on startup (or first invokation)?

      I'm thinking I'd need an SFSB, as it requires a persistence context to get the data, and it holds state (the reference data itself).