Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

session ejb timeout

 
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
Marshal
Posts: 34835
369
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic