• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Difference between CGI and Servlet

 
Renato Carauta
Greenhorn
Posts: 8
Eclipse IDE Java Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I can understand the difference between CGI and Servlet because I answer this question bellow and I don't understand why is the last option is right

which is not true about CGI and Java Servlets ?

A ) CGI programs are plataform dependent while servlets are plataform independent

B ) CGI runs a containier to geet low-level services

The right answer is letter B and I put letter A.

For me CGI programs are plataform independent and I don't know where runs CGI.
 
Frits Walraven
Creator of Enthuware JWS+ V6
Saloon Keeper
Pie
Posts: 2420
95
Android Chrome Eclipse IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please QuoteYourSources.

Regards,
Frits
 
Renato Carauta
Greenhorn
Posts: 8
Eclipse IDE Java Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sorry the source of this question is this mock exam OCEWCD (Java EE 6 Web Component) Training Lab
 
Frits Walraven
Creator of Enthuware JWS+ V6
Saloon Keeper
Pie
Posts: 2420
95
Android Chrome Eclipse IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"A" is wrong because they are both platform independent (see rfc3875).

but what they are trying to say in answer "B": I have no idea ....

Regards,
Frits
 
Renato Carauta
Greenhorn
Posts: 8
Eclipse IDE Java Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you for your answer I understand the letter A.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic