• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Timer Service

 
Nikhil Jain
Ranch Hand
Posts: 392
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
As per spec, When getCallerPrincipal is called from within the timeout callback method, it returns the container�s representation of the unauthenticated identity.

But when I tried this on JBOSS, I got an exception.

Question: If I get a question on this, shouuld I go as per the spec.

In fact when I run the code, I find that, there are many concepts which are not implemented as per spec. For instance as per spec, If the timeout method is in a transaction & the transaction is rolled back, the container should call the timeOut method again. But when I tried this, it neve called the method.
 
Vinay Nath
Ranch Hand
Posts: 85
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I guess spec is the best bet for us as some of these things are container specific.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65335
97
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"Vinay", please check your private messages for an important administrative matter.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic