plugin-architecture

How to create a pluginable Java program?

I want to create a Java program that can be extended with plugins. How can I do that and where should I look for? I have a set of interfaces that the plugin must implement, and it should be in a jar. The program should watch for new jars in a relative (to the program) folder and registered them somehow. ...

Best technology for adding plugin support to a J2SE application?

I'm writing a J2SE desktop application that requires one of its components to be pluggable. I've already defined the Java interface for this plugin. The user should be able to select at runtime (via the GUI) which implementation of this interface they want to use (e.g. in an initialisation dialog). I envisage each plugin being packaged a...

Building a Plugin Architecture with Adobe AIR

I'm thinking of choosing Adobe AIR as the client-side implementation technology for an upcoming project. (The previous choice was C# and WPF, but I've been really impressed with Flash/Flex/AIR lately.) But one of the most important features of my product will be its plugin architecture, allowing third party developers to extend the func...

Best way to build a Plugin system with Java

How would you implement a Plugin-system for your Java application? Is it possible to have an easy to use (for the developer) system which achieves the following: Users put their plugins into a subdirectory of the app The Plugin can provide a configuration screen If you use a framework, is the license compatible with commercial develop...

A Java Plugin Framework that supports JARs

More specifically, is there any Java plugin frameworks have all of the below features: Support for multiple JAR files JARs can be signed and/or sealed Can perform a license check for each JAR prior to instantiation Can load multiple JARs using multiple threads ...

How to make a Java PlugIn ?

I need to make my Java program as a PlugIn to OME - an Image processing web based s/w having Java API www.openmicroscopy ...

Restrict Certain Java Code in a Plug-in

Hi, I am creating an application which uses the Java Plugin Framework to load plug-ins and intergrate them into the program. My question is: Is there anyway restrict certain operations (such as starting a new process) in the plug-ins? What I have in mind is something like Java WebStart, i.e when the application wants to access the File...

Plugin Architecture with Interfaces; Interface check doesn't work

I am implementing a simple plugin architecture in an application. The plugin requirements are defined using an interface (IPlugin) that is in a *.dll that is referenced by the application and the plugin. The application has a plugin manager (also in the same *.dll) which loads the plugins by looking for all the *.dll's in a plugins fol...

java: is there a framework that allows dynamically loading and unloading of jars (but not osgi)?

I want a mechanism that will allow to dynamically load and unload jars as well as calling an activator class in the jar. I don't want to use OSGi because of the cumbersome import/export mechanism. ...

Java plugin framework choice

We're trying to determine how to implement a simple plugin framework for a service we are implementing that allows different types of calculators to be "plugged-in". After reading a number of posts about Java plugin frameworks, it seems like the most common options are: OSGI "Rolling your own" plugin framework The Java Plugin Framewor...

How do swap implementations on a per user basis on a web application using Spring's DI

Say a web application is a central payment processing engine, where each user may have a different credit card provider that will be processing the credit card. There is an interface that all of the implementations adhere to. I want to know if there is a pattern where you could allow new implementations to be simply dropped in the depl...

Best material (book) to learn plugin architecture using C#

Can someone please suggest good reading material to learn the concepts of plugin architecture using C#? ...