This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes Difference between CGI and Servlet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "Difference between CGI and Servlet" Watch "Difference between CGI and Servlet" New topic
Author

Difference between CGI and Servlet

Renato Carauta
Greenhorn

Joined: Jun 21, 2012
Posts: 8

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
Bartender

Joined: Apr 07, 2010
Posts: 1661
    
  25

Please QuoteYourSources.

Regards,
Frits
Renato Carauta
Greenhorn

Joined: Jun 21, 2012
Posts: 8

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
Bartender

Joined: Apr 07, 2010
Posts: 1661
    
  25

"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

Joined: Jun 21, 2012
Posts: 8

Thank you for your answer I understand the letter A.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Difference between CGI and Servlet