I have a singleton EJB bean with a timed method that saves statistics to the database once every minute. The bean holds statistics individually on each cluster node, so it is important that it saves it on each node too.
My concern is that since the EJB Timer service is sharing a database, it will only run the save-method on one of the cluster nodes and not all of them. It would mean that not all of the statistics are saved to the database. The docs, http://docs.oracle.com/cd/E18930_01/html/821-2418/beahw.html, does not seem to mention anything.
Anyone know how it works?