CGI stands for "Common Gateway Interface". All web pages deal with this protocol. The implementation language does not matter!! CGI is the way that web gizmos interact, that is pretty much it!
Anyway CGI is a protocol, not a language and it is not Perl or Java specific.

Perl is great at implementing dynamic web pages from the server end. By "dynamic", I assume you mean that the content of the web page that is sent to the user varies. This can be done in many languages, Perl and Java are just two of them.

Do a "google" on CGI and you will see lots of links to explain this: http://hoohoo.ncsa.illinois.edu/cgi/ is an old link, but shows up at the top of the list. I looked at the Wiki entry for CGI and did not find it particularly satisfying although the reference links are good.

There are all sorts of frameworks that enable Perl server applications to be written easier. There are server side tools that can improve the performance of both Java and Perl web applications (fastCGI for Perl is just one of them).


In reply to Re: making dynamic web pages by Marshall
in thread making dynamic web pages by manishrathi

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.