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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T00:15:30+00:00 2026-05-17T00:15:30+00:00

I have a system for which I am creating a plugin through a well

  • 0

I have a system for which I am creating a plugin through a well defined access point. However the plugin in question uses some jar that the framework also uses but of a different version.

The code is structured in a way where the code integrating in the framework (extending the plugin extension points) and the code doing the actual work is very well decoupled (basically boils down to an API of less than 10 classes). However behind these few classes is hidden a fairly big and complex system (60+ jar dependency)

The question is as follows :

How do I ensure that anything instantiated by the API classes is done using a seperate private library of jar files ?

In other words, how to I isolate the plugin so that it runs with it’s own private library without interfering with the main application’s libraries ?

—- EDIT —-
Thus far the only two ways this could be accomplish is by embedding a framework such as OSGi or by providing my own implementation of a class loader. The latter can be done and many variants are proposed on the net though I found nothing that would give me the confidence of stability I need for the system at hand.

Which returns us to OSGi, I was hoping for a more lightweight solution though perhaps once I learn the technology it will prove to do just what I want without too much effort.

  • 1 1 Answer
  • 1 View
  • 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-17T00:15:31+00:00Added an answer on May 17, 2026 at 12:15 am

    That’s what OSGi is for. And Equinox a small nice implementation.

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

Sidebar

Related Questions

I have a system which is receiving log files from different places through http
I have limited knowledge on VB coding. I am now creating a system which
I am creating a reminder system which uses sms messages to send event reminders
This question is in relation to a Plugin which I am now creating for
I'm trying to communicate with a system which I have no control over, however
I have a system which contains multiple applications connected together using JMS and Spring
I have a system which receives leads (they are piped in via email) and
Currently we have a system which we paid for that pushes information into Excel
I need suggestion about YAMI library . I have a system which receives Json
I have a remote embedded system which it is telnet-able. How can I download

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.