-
1. Re: EJB 2.1 Timer Objects
bill.burke Mar 11, 2004 9:34 PM (in response to jfrosch)A poor 1st iteration of the EJB 2.1 Timer Service will be in the JBoss 4 DR3 release next week. It works, but it is not integrated with Transactions yet.
Bill -
2. Re: EJB 2.1 Timer Objects
jfrosch Mar 12, 2004 9:20 AM (in response to jfrosch)Thanks for the update Bill.
J2EE permits developer created threads with Servlets, but not EJB. Can you comment on whether spawning a new thread from a Servlet would be a problem in JBoss 3.2.3 with Tomcat 4.x integrated?
BTW, the Timer is just to manage the updating and in-memory caching of RSS feeds in our application. While I can put this capability in the web tier, whenever I'm thinking of caching and managing data (even RSS data), I'd prefer to keep this work in the EJB tier.
Thanks again.
Jack -
3. Re: EJB 2.1 Timer Objects
bill.burke Mar 12, 2004 9:30 AM (in response to jfrosch)The problem with spawning threads withinin a servlet or an EJB is that there is no way for the ApplicationServer to propagate security credentials and the current transaction to the spawned thread. If you are ok with that disadvantage, then Thread away!
-
4. Re: EJB 2.1 Timer Objects
keesvandieren Apr 29, 2004 9:16 AM (in response to jfrosch)The timer doesn't work in JBoss 4.0 DR 3 even, visit http://www.jboss.org/index.html?module=bb&op=viewtopic&t=47728 or http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3833052