We support read only beans with a timeout. You can also flush the
ejb cache programatically. Look at the ejb cache JMX object through
the jmx console. The mbean for a cache has a name of the form:

jboss.j2ee:jndiName=<your-jndi-name>,plugin=cache,service=EJB

--
xxxxxxxxxxxxxxxxxxxxxxxx
Scott Stark
Chief Technology Officer
JBoss Group, LLC
xxxxxxxxxxxxxxxxxxxxxxxx

Pedro Salazar wrote:

Greetings,

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

thanks,
Pedro Salazar.



------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to