Win a copy of Java Concurrency Live Lessons this week in the Threads forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

session ejb timeout  RSS feed

 
Cristian Negresco
Ranch Hand
Posts: 182
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

How could an Application Client be notified that a Session EJB expired (session timeout has passed)?

Thanks,
Cristian
 
Jeanne Boyarsky
author & internet detective
Sheriff
Posts: 36463
461
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Cristian,
It can't. You would just have to wait for the exception.

Unless of course, you knew what the timeout was. In which case, you could keep track in the application client.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!