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

    best practices: reference data in the application context

    patrick_ibg

      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).