Note that there are some explanatory texts on larger screens.

plurals
  1. POJava plugin framework choice
    text
    copied!<p>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".</p> <p>After reading a <a href="https://stackoverflow.com/questions/tagged/plugin-architecture">number</a> of posts about Java plugin frameworks, it seems like the most common options are: </p> <ul> <li><a href="http://www.osgi.org/Main/HomePage" rel="nofollow noreferrer">OSGI</a></li> <li>"<a href="https://stackoverflow.com/questions/465099/best-way-to-build-a-plugin-system-with-java/465143#465143">Rolling your own</a>" plugin framework</li> <li>The <a href="http://jpf.sourceforge.net/about.html" rel="nofollow noreferrer">Java Plugin Framework</a> (JPF)</li> <li>The <a href="http://code.google.com/p/jspf/" rel="nofollow noreferrer">Java Simple Plugin Framework</a> (JSPF)</li> </ul> <p>OSGI seems to be more than we need.</p> <p>"Rolling your own" is ok but it would be nice to reuse a common library.</p> <p>So we're down to the JPF and JSPF. JPF doesn't seem to be in active development anymore.</p> <p>JSPF seems very simple and really all we need. However I haven't heard much about it. I've only seen one <a href="https://stackoverflow.com/questions/81495/best-technology-for-adding-plugin-support-to-a-j2se-application/82108#82108">post</a> on StackOverflow about it. Does anyone else have any experience with JSPF? Or any other comments on this design choice? </p> <hr> <p><strong>Update</strong>: There isn't necessarily a correct answer to this.. however we're going to go with Pavol's idea as we need just a really, really simple solution. Thanks EoH for the nice guide.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload