1 Reply Latest reply on Oct 28, 2003 2:49 AM by Adrian Brock

    refresh entity beans by request?

    Pedro Salazar Newbie


      I would like to know if is possible to refresh my entity beans by request?

      My scenario:

      I have a XML file that represents the initial configuration of my system that I would like to put it on a database where a set of entity beans will reflect those data.

      Because my data would be almost the time static, I would like that the entity beans should be used as "read-only" most the time. However, from time to time, I would like to refresh the entity beans with new values. Probably the XML file is updated, and my database should be also updated and the entity beans should be also reflected by its turn.

      Any suggestions how to it? One issue that is very important: I would like to update by one pass, I mean, I don't want update one by one where that could exist incoherences in the system (half data updated, half data old).

      I want to use entity beans because I intend to use several jboss instances (~cluster).

      Pedro Salazar.