The Artima Developer Community
Sponsored Link

Java Answers Forum
A question about EJB 2.1 timeouts

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Alexander Serbul

Posts: 4
Nickname: alexserbul
Registered: Oct, 2005

A question about EJB 2.1 timeouts Posted: Nov 14, 2005 8:38 AM
Reply to this message Reply
Advertisement
Good day!

I encountered an interesting situation about EJB timer service.

1) For example, I created an implementing TimerObject Stateless Session Bean.
2) In ejbSetSessionContext method I created an timer to invoke ejbTimeout on my EJB every 15 seconds.
3) Ok. Container invokes this ejbTimeout every 15 sec. But what happens is previous ejbTimeout didn't returned because it is waiting for some connection for example. Would container invoke ejbTimeout while processing previous ejbTimeout on this one Stateless EJB?

I looked in EJB 2.1 spec. but didn't find corresponding answer.

Topic: InitialContext.lookup() Problem Previous Topic   Next Topic Topic: Tomcat problem

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use