Java Support for Plugin Framework
Does Java easily support development of a plugin framework? IOW, we'd like to develop a framework through which run time decisions can be made differently using different implementations, but also through which "rule engines" might be released after the product has been deployed to replace an existing rule engine. Thanks!
[338 byte] By [
powellmw] at [2007-9-26 1:20:09]

Is it safe to say that using the reflection api will support the plugin framework (or snapin, or addin, your preference) that is desired (performance issues aside)?
> Does Java easily support development of a plugin
> framework? IOW, we'd like to develop a framework
> through which run time decisions can be made
> differently using different implementations, but also
> through which "rule engines" might be released after
> the product has been deployed to replace an existing
> rule engine. Thanks!
Maybe you do not need the reflection api even, you can simply configure classnames in a config file somewhere and program against interfaces. Take a look at Class.forName on how to get those configged classes instantiated
esmo at 2007-6-29 0:53:49 >
