users@glassfish.java.net

Re: ClassCastException => TimerWrapper to Serializable

From: <glassfish_at_javadesktop.org>
Date: Wed, 06 Jan 2010 07:25:07 PST

Hi Andre,

EJB Timer objects are not directly serializable and are not intended to be passed to/from a Remote invocation. If you need to serialize a timer you can acquire its TimerHandle (Timer.getTimerHandle()) and pass that instead.
[Message sent by forum member 'ksak' (kenneth.saks_at_sun.com)]

http://forums.java.net/jive/thread.jspa?messageID=379043