Results 1 to 4 of 4

Thread: What are the advantages of the servlets?

  1. #1
    Join Date
    Nov 2009
    Posts
    877

    What are the advantages of the servlets?

    Hi Guys,

    I just started studying advanced java. I have completely understood the CGI concept of the advanced JAVA . But somebody told me that servlets are advanced than CGI. And I don't have idea about the servlets application

    What are the advantages of the servlets over the CGI technology?

    Your help would be appreciable.

  2. #2
    Join Date
    May 2008
    Posts
    2,012

    Re: What are the advantages of the servlets?

    Following are the various advantages of the servlets over CGI:

    1. Servlets run very faster than CGI.

    2. Servlet are able to handle more than one request at the single time, while CGI are able to handle single request task at a time .

    3. Servlets program code is very easier to write as compare with the CGI program code.

    4. The properties like scalability, Performance as well as re-usability of servlets is good as compare to CGI technology.

  3. #3
    Join Date
    Apr 2008
    Posts
    2,005

    Re: What are the advantages of the servlets?

    Servlet is platform independent and it's code is written in the JAVA.

    Servlets are more secured than CGI technology and runs in the JVM(Java Virtual machine)

    Servlets can run as a threads to improve the performance while CGI not. The overall performance of the servlets are much better than CGI technology.

    Memory management of the servlets is very good as compare to to CGI.

  4. #4
    Join Date
    May 2008
    Posts
    2,297

    Re: What are the advantages of the servlets?

    A.Extensibility:

    Java Servlet is created using JAVA and which is well-designed ,robust as well as OOP language (object oriented language) and that can be extend in new object. Thats why java servlets take the advantages of being developed in the java programming.

    B.Security:

    I hope you are aware that Servlet is a component of the server side.An because of this servlets are able to implement the security which is provided by the different web servers.

    C.Platform Independence:

    Servlets are purely written in the java language , so obviously it is totally platform independent .
    Servlets program run on any web server which supports Servlet.

Similar Threads

  1. Sessions with Java Servlets
    By Sheenas in forum Software Development
    Replies: 5
    Last Post: 15-02-2010, 08:15 PM
  2. Java Beans Vs Servlets
    By Ram Bharose in forum Software Development
    Replies: 5
    Last Post: 02-02-2010, 11:53 AM
  3. What are the advantages of java servlets over JSP?
    By Mithun Seth in forum Software Development
    Replies: 5
    Last Post: 23-01-2010, 01:21 PM
  4. How to use Java Servlets
    By Wyvern in forum Software Development
    Replies: 3
    Last Post: 24-10-2009, 06:24 PM
  5. Which Technology is best, servlets or JSP?
    By Swetlano in forum Software Development
    Replies: 3
    Last Post: 05-02-2009, 10:49 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,713,862,351.30438 seconds with 16 queries