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]
# 1

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!

powellmw at 2007-6-29 0:53:49 > top of Java-index,Archived Forums,Java Programming...
# 2
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 > top of Java-index,Archived Forums,Java Programming...
# 3
uhm...not reflection in a more complicated way is what i was trying to say....
esmo at 2007-6-29 0:53:49 > top of Java-index,Archived Forums,Java Programming...