Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6593617
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T17:42:17+00:00 2026-05-25T17:42:17+00:00

I am looking for a simple scenario when can be requirement to create a

  • 0

I am looking for a simple scenario when can be requirement to create a custom class loader?

Apart from that, just wanted to confirm that Does even bootstrap and application class loader extends java.lang.ClassLoader internally?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T17:42:17+00:00Added an answer on May 25, 2026 at 5:42 pm

    In short, it can be used to add new code or to change existing code on the fly. Here’s a more detailed explanation from this URL.

    Why write a custom class loader?

    The three main reasons for wanting to create a custom class loader are:

    • To allow class loading from alternative repositories.

      This is the most common case, in which an application developer might want to load classes from other locations, for example, over a network connection.

    • To partition user code.

      This case is less frequently used by application developers, but widely used in servlet engines.

    • To allow the unloading of classes.

      This case is useful if the application creates large numbers of classes that are used for only a finite period. Because a class loader maintains a cache of the classes that it has loaded, these classes cannot be unloaded until the class loader itself has been dereferenced. For this reason, system and extension classes are never unloaded, but application classes can be unloaded when their classloader is.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Im looking for a simple bit of code that will let me add the
I am looking for a simple JavaScript example that updates DOM. Any suggestions?
I am looking to create n-grams from text column in PostgreSQL. I currently split(on
Following on from this question , I'm using a simple ViewModel class to test
Here's my scenario: I have a simple stored procedure that removes a specific set
I've written a simple desktop application with C#/WPF and I'm now looking to create
We just changed over to mercurial from subversion and there is one thing that
I'm looking for (simple) examples of problems for which JMS is a good solution,
Ok, this is an embarassingly simple-looking problem, but is driving me crazy. I'm learning
I have a barcode scanner and laptop (ofcourse :)), I'm looking for simple event

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.