• Post Reply Bookmark Topic Watch Topic
  • New Topic

Servlets 3.0 AsyncContext  RSS feed

 
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!
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!