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

  • Home
  • SEARCH
  • 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 7035019
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T01:15:18+00:00 2026-05-28T01:15:18+00:00

I am developing a media application where the user should be able to dynamically

  • 0

I am developing a media application where the user should be able to dynamically load tools from a central database at runtime. These will mostly need to be signal processing modules for manipulating audio and video. I have been reading about implementing a custom class loader, but it seems that one must know the names of the classes in order to use the classLoader. This doesn’t seem right to me. I want to be able to build these modules after the application has been deployed (and possibly open up a public api for their creation).

I was thinking of requiring the modules to extend an abstract class that implements an interface:

public abstract class AbstractModule implements myInterface{
    //....
}

I still don’t have any way of knowing what the authors of these Modules will name the subclass…

I have read a bit about osgi bundles, and that seems promising… However I obviously dont want to redesign my entire architecture… is it possible to have this part of my application use Osgi bundles? My feeling is no, since it seems that Osgi bundles require their own container to run in.

Anyway, what is the best, least hacky, and most stable way to let my applcation load modules dynamically. The modules need some sort of standardization (like extending an abstract class).

Thanks

  • 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-28T01:15:18+00:00Added an answer on May 28, 2026 at 1:15 am

    This is such a beautiful use case for OSGI. So I guess the question is – is this a desktop application or server based? Note that it IS possible to use OSGI on the Desktop, but your container choices will be different if you go this route.


    EDIT

    For Desktop applications you would best be served by using Felix or Eclipse Equinox. Both can be embedded very nicely into standalone, rich clients. For server applications I cannot recommend JBoss 7 highly enough. You get a fast Java EE 6 server with first class support for OSGI modules. I’m still unsure on the exact setup of your architecture, you mention both a (rich sounding) client and a Java EE server. Could you elaborate some more?

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

Sidebar

Related Questions

I am developing media player and my application download mp3 file from server .
I'm developing an application that allows the user to pick an image from the
I am in the middle of developing a PHP social media web application which
I am developing a media app. If a user plays a song with the
I am developing a user control for WP7 application. I added the control to
I've been developing a Windows Forms application with a Windows Media Player COM embedded
I am developing an application in which I need to extract the audio from
I am developing a social media monitoring application. Currently, we are entering Facebook page
I'm developing an application for companies that will automatically post data on their social
I am developing a new media playback application for Digital cinema. While checking the

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.