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 APPLET DETAILS
    Question :
    What?s the applet class loader, and what does it provide?
    Category Applet Interview Questions
    Rating (0.9) By 192 users
    Added on 4/5/2011
    Views 299
    Rate it!
    Answers:

    Applets loaded over the net are loaded by the applet class loader. For
    example, the applet viewer?s applet class loader is implemented by the class
    sun.applet.AppletClassLoader.The class loader enforces the Java name space hierarchy. The class loader guarantees that a unique namespace exists for classes that come from the local file system, and that a unique namespace exists for each network source. When a browser loads an applet over the net, that applet?s classes are placed in a private namespace associated with the applet?s origin. Thus, applets loaded from different network sources are partitioned from each other. Also, classes loaded by the class loader are passed through the verifier. The verifier checks that the class file conforms to the Java language specification ? it doesn?t assume that the class file was produced by a ?friendly? or ?trusted? compiler. On the contrary, it checks the class files for purposeful violations of the language type rules and name space restrictions. The verifier ensures that:
    a. There are no stack overflows or underflows.
    b. All register accesses and stores are valid.
    c. The parameters to all byte code instructions are correct.
    d. There is no illegal data conversion.
    e. The verifier accomplishes that by doing a data-flow analysis of the byte code instruction stream, along with checking the class file format, object signatures, and special analysis of finally clauses that are used for Java exception handling.



    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
    How does a server know when another server is unavailable?
    View Answer
    What is the life cycle of an applet?
    View Answer
    What are the alternatives to using applets?
    View Answer
    What are the steps involved in Applet development?
    View Answer
    What is the life cycle of an applet?
    View Answer
    How many Web Logic Servers can I have on a multi-CPU machine?
    View Answer
    How do clients handle DNS requests to failed servers?
    View Answer
    How do clients learn about new WebLogic Server instances?
    View Answer
    How are notifications made when a server is added to a cluster?
    View Answer
    How does a server know when another server is unavailable?
    View Answer
    What happens when a failure occurs and the stub cannot connect to a Web Logic Server instance?
    View Answer
    How do stubs work in a Web Logic Server cluster?
    View Answer
    What's causing ClassFormatErrors with my applet?
    View Answer
    Why does my applet work with Appletviewer, but not with a browser?
    View Answer
    Why doesn't my browser applet connect to the database?
    View Answer
    Can I use a "native" two-tier driver for a browser applet?
    View Answer
    What are the alternatives to using applets?
    View Answer
    What are the Applet?s information methods?
    View Answer
    What are the Applet?s Life Cycle methods? Explain them? - Following are methods in the life cycle of an Applet
    View Answer
    What is an Applet? Should applets have constructors?
    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 Applet 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.015625 Seconds