File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JForum and the fly likes How would you use a plugin system? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Products » JForum
Bookmark "How would you use a plugin system?" Watch "How would you use a plugin system?" New topic

How would you use a plugin system?

Migrated From
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
I'm preparing for a demo I'll give in my JavaOne talk titled "The Web on OSGi: Here's How". The demo will be showing how to add a plugin system that uses OSGi to an existing application. We use this plugin system extensively at Atlassian, but it is also Open source. For the existing application, I'm thinking about using JForum.

From looking through the code, JForum seems like a good match as it starts up quick, and is pretty straight-forward architecturally. What I'm curious about is how could JForum best use plugins, or more accurately, what cool plugins could I write that would make my point

I'm pretty new to JForum but from a quick glance, I'm thinking:
* Servlet filter plugins. Could show off a sitemesh plugin, a caching one, and maybe an auditing one
* Servlet plugins. Could show off a new page or REST service.
* web item plugins. A plugin could add links to menus like global actions or the profile page.

For more information, see the Atlassian Plugin docs or Confluence's plugin types.

Thanks in advance...
[originally posted on by mrdon]
I agree. Here's the link:
subject: How would you use a plugin system?
It's not a secret anymore!