CoolInterview.com - World's Largest Collection of Interview Questions
Start Your Own website Now
Sponsored Links

Interview Questions
Our Services

Get 9,000 Interview Questions & Answers in an eBook.


  • 9500+ Pages
  • 9000 Question & Answers
  • All Tech. Categories
  • 14 MB Content

    Get it now !!



    Send your Resume to 6000 Companies


  • INTERVIEW QUESTIONS J2EE SERVLET DETAILS
    Question :
    What is the difference between servlets and applets?
    Category Servlet Interview Questions
    Rating (0.4) By 1932 users
    Added on 10/24/2004
    Views 5048
    Rate it!
    Answers:

    Servlets are to servers. Applets are to browsers. Unlike applets, however, servlets have no graphical user interface.



    servlets are used for server side coding and resides on servers , while applets are for client side and runs on client's browsers.



    Posted by: satyam dwivedi    

    Contact satyam dwivedi Contact satyam dwivedi

    what is difference between servlets and applets



    Posted by: RAJAT GHOSH    

    Contact RAJAT GHOSH Contact RAJAT GHOSH

    Servlet
    1)subclass of GenericServlet
    2)Runs in a server
    3)must be multi threaded or thread safe
    4)no direct user interface

    Applets
    1)subclass of Applet
    2)Runs in a browser
    3)generally single thread per appplet
    4)uses AWT for user interface



    Posted by: varad    

    Contact varad Contact varad

    servlets are server side components.applets are browser side components.applets are used to create static pages.
    but servlets are used to create
    dynamic pages.



    Posted by: k.rambabu    

    Contact k.rambabu Contact k.rambabu

    Servlets are run always inside the Server and it improves the functionality of a server.
    servlet don't have face.

    Applets are run always on the browser but it improves the functionality of browser.
    Applets have Face.



    Posted by: venkateswara reddy gunapati    

    Contact venkateswara reddy gunapati Contact venkateswara reddy gunapati

    I agree with the above differences and also there is difference in their life cycle.
    servlet life cycle consists of 3 methods where as applet life cycle consists of 5 methods.



    Posted by: k.satyasrihari    

    Contact k.satyasrihari Contact k.satyasrihari

    If you have the better answer, then send it to us. We will display your answer after the approval.
    Rules to Post Answers in CoolInterview.com:-

  • There should not be any Spelling Mistakes.
  • There should not be any Gramatical Errors.
  • Answers must not contain any bad words.
  • Answers should not be the repeat of same answer, already approved.
  • Answer should be complete in itself.
  • Name :*
    Email Id :*
    Answer :*
    Verification Code Code Image - Please contact webmaster if you have problems seeing this image code Not readable? Load New Code
    Process Verification  Enter the above shown code:*
    Inform me about updated answers to this question

       
    Related Questions
    View Answer
    Difference between single thread and multi thread model serv
    View Answer


    Please Note: We keep on updating better answers to this site. In case you are looking for Jobs, Pls Click Here Vyoms.com - Best Freshers & Experienced Jobs Website.

    View ALL Servlet Interview Questions

    User Options
    Sponsored Links


    Copyright ©2003-2014 CoolInterview.com, All Rights Reserved.
    Privacy Policy | Terms and Conditions

    Download Yahoo Messenger | Placement Papers| FREE SMS | ASP .Net Tutorial | Web Hosting | Dedicated Servers | C Interview Questions & Answers

    Testing Articles | Testing Books | Testing Certifications | Testing FAQs | Testing Downloads | Testing Interview Questions | Testing Jobs | Testing Training Institutes


    Cache = 0 Seconds