Server Technology PPNT Manual do Utilizador Página 51

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 95
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 50
Java Servlets: Advantages(1/4)
Efficient
With traditional CGI: for e ach request a new OS process is started
Java VM, servlet container, and a particular s ervlet started only once:
each request handled by a Java thread
Lightweight Java threads instead of heavyweight OS processes
With CGI: if N simultaneous requests than the code is loaded N times
With servlets: N threads but only one copy of code in the memory
Optimization possibilites with servlets: caching, keeping database
connections open, etc.
answer from CGI: Fast-CGI (http:// www .fas tcgi .com)
(51/95)
Vista de página 50
1 2 ... 46 47 48 49 50 51 52 53 54 55 56 ... 94 95

Comentários a estes Manuais

Sem comentários