I need to make a web app which provides the feature to install/uninstall plugins. Think of something like Eclipse IDE like software. The only difference is you cannot restart it like Eclipse to apply changes. I guess I can say, it would be similar to Wordpress.
I thought of am implementing this using OSGi as follows:
Whenever a new plugin is installed, new HTTP servlet will be registered at
Http Whiteboard. These exposed servlet endpoints will be used by other
bundles as well as third-party apps which are present outside. Each plugin
will be developed separately as an OSGi bundle. I can use Apache Felix web console to allow the user to install/uninstall bundle of his choice.
The problem with OSGi is that there is very little support available.
- Is there any better architecture and framework to do this?
- Anyone knows about Wordpress plugin ecosystem architecture?
Note: I have already looked at https://stackoverflow.com/questions/323202/how-to-design-extensible-software-plugin-architecture. It was asked 10 years ago. My question is more specific and I hope that lot must have happened in this area in last 10 years.