World Library  


Add to Book Shelf
Flag as Inappropriate
Email this Book

Core Servlets and Javaserver Pages

By Hall, Marty

Click here to view

Book Id: WPLBN0000691242
Format Type: PDF eBook
File Size: 10.24 MB.
Reproduction Date: 2005

Title: Core Servlets and Javaserver Pages  
Author: Hall, Marty
Volume:
Language: English
Subject: Recreation, Leisure, Recreation areas
Collections: Technical eBooks Collection
Historic
Publication Date:
Publisher:

Citation

APA MLA Chicago

Hall, M. (n.d.). Core Servlets and Javaserver Pages. Retrieved from http://ebooklibrary.org/


Description
Technical Reference Publication

Excerpt
Excerpt: With traditional CGI, a new process is started for each HTTP request. If the CGI program itself is relatively short, the overhead of starting the process can dominate the execution time. With servlets, the Java Virtual Machine stays running and handles each request using a lightweight Java thread, not a heavyweight operating system process. Similarly, in traditional CGI, if there are N simultaneous requests to the same CGI program, the code for the CGI program is loaded into memory N times. With servlets, however, there would be N threads but only a single copy of the servlet class. Finally, when a CGI program finishes handling a request, the program terminates. This makes it difficult to cache computations, keep database connections open, and perform other optimizations that rely on persistent data. Servlets, however, remain in memory even after they complete a response, so it is straightforward to store arbitrarily complex data between requests.

 

Click To View

Additional Books


  • The Point of View (by )
  • The Pension Beaurepas (by )
  • The Patagonia (by )
  • The Papers (by )
  • The Papers (by )
  • The Middle Years (by )
  • The Marriages (by )
  • The Liar (by )
  • The Lesson of the Master (by )
  • The Jolly Corner (by )
  • The Great Good Place (by )
  • The Great Condition (by )
Scroll Left
Scroll Right

 



Copyright © World Library Foundation. All rights reserved. eBooks from World eBook Library are sponsored by the World Library Foundation,
a 501c(4) Member's Support Non-Profit Organization, and is NOT affiliated with any governmental agency or department.