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 8009033
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T18:19:35+00:00 2026-06-04T18:19:35+00:00

Recently I came accross the java custom class loader api. I found one use

  • 0

Recently I came accross the java custom class loader api. I found one use over here, kamranzafar’s blog
I am a bit new to the class loader concept. Can any one explain in detail, what are the different scenarios where we may need it or we should use it?

  • 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-06-04T18:19:36+00:00Added an answer on June 4, 2026 at 6:19 pm

    Custom class loaders are useful in larger architectures consisting of several module/applications. Here are the advantages of the custom class loader:

    • Provides Modular architecture Allows to define multiple class loader allowing modular architecture.
    • Avoiding conflicts Clearly defines the scope of the class to within the class loader.
    • Support Versioning Supports different versions of class within same VM for different modules.
    • Better Memory Management Unused modules can be removed which unloads the classes used by that module, which cleans up memory.
    • Load classes from anywhere Classes can be loaded from anywhere, for ex, Database, Networks, or even define it on the fly.
    • Add resources or classes dynamically All the above features allows you add classes or resources dynamically.
    • Runtime Reloading Modified Classes Allows you to reload a class or classes runtime by creating a child class loader to the actual class loader, which contains the modified classes.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I recently came across the Java DefaultMutableTreeNode class. I was wondering if there is
I recently came across a situation where I had to use XPath as part
I recently came across some Java code that simply put some strings into a
I recently started learning Java and i came across a statement including (ActionEvent e
Recently, I've been exploring the Java space, and I came across the Spring Framework.
I recently came across a piece of Java code with WeakReferences - I had
i was recently digging about cookieless sessions, i came accross an article which says
I recently came across a CSS pseudo class that can do an effect for
I recently came across some weird looking class that had three constructors: class Class
I recently came across classes that use a configuration object instead of the usual

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.