• Post Reply Bookmark Topic Watch Topic
  • New Topic

Servlets 3.0 AsyncContext

 
Mahtab Alam
Ranch Hand
Posts: 391
1
Java MySQL Database PHP
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


So is it guaranteed that output will always be

I'm inside!
I'm leaving! Bye!
*** I'm an async thread!

So that new thread that we are starting will always execute after the current Servlet Thread have completed its execution.
So it can not be in the below order

I'm inside!
*** I'm an async thread!
I'm leaving! Bye!
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!