5 Replies Latest reply on Jan 8, 2003 7:04 AM by Juha Lindfors

    Correct way to configure an EJB (MDB)

    Paul Bandler Newbie

      I need to pass some configuration data to each MDB instance to tell it what to do with its messages - what is the 'best practise' way to achieve this? Should I have a ManagementBean to configure the MDB instances or use the container configuration mechanism, or have my own property file?

      All of these would see to have some potential and extending the container configuration seems best as it allow per instance configuration information. However most/all examples of its use seem to be for configuring aspects of an EJB's container rather than the EJB itself so I am unsure if it is appropriate to try to use it for my purpose - can anyone clarify if it is?

      thanks