Servlet cookie and multithread

Servlet cookies are given to clients that will access the servlet for the first time, so in case when the client will access again, authentication will be quick. Take note that cookies will also expire.

Servlet handles all request as a multi-thread. This means that all requests from client to a particular servlet will be handled concurrently by a single single servlet, running on different threads. For more on servlet multi-thread see my other post below:

https://cmsoftwaretech.wordpress.com/2014/10/27/servlet-is-multithread-by-default/

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s