we have a servlet,which acts as a controller,and forward request to action depending on action name(command pattern). action class we instantiate at the start of the server,and store in hashmap. My question is if multiple reuest comes to same action at the same time what will happen? it will go on queue and request executed one by one or it will execute parallaly. Thanks in advance.
posted 8 years ago
Request execution will proceed concurrently in this case(assuming your servlet doesn;t implement the SingleThreadModel interface)