aspose file tools*
The moose likes Web Services Certification (SCDJWS/OCEJWSD) and the fly likes Servlet Endpoints - Does not manage multi-threading issues. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Certification » Web Services Certification (SCDJWS/OCEJWSD)
Bookmark "Servlet Endpoints - Does not manage multi-threading issues." Watch "Servlet Endpoints - Does not manage multi-threading issues." New topic
Author

Servlet Endpoints - Does not manage multi-threading issues.

Shankar sanjay
Ranch Hand

Joined: Sep 14, 2009
Posts: 117
Hi Ivan,

scdjws-5 study note, In page number 130,

The following points are given

Servlet Endpoints

Does not manage multi-threading issues.


Servlet end point does not manage Multi-threading?, still servlet container will take care of multithread right? please correct me if i am wrong?
Ivan Krizsan
Ranch Hand

Joined: Oct 04, 2006
Posts: 2198
    
    1
Hi!
The container does not limit the number of threads that are allowed to execute concurrently in a servlet endpoint, like a servlet.
The EJB container, on the other hand, limit the number of threads that can execute in an EJB (with container managed concurrency) to one.
Thus you, as a developer, must take the above into consideration when developing the different kinds of endpoints. Or rather: You do not have to think about it when developing an EJB endpoint, but you must be careful with servlet endpoints.
Best wishes!


My free books and tutorials: http://www.slideshare.net/krizsan
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Servlet Endpoints - Does not manage multi-threading issues.