In the past I've eyed Java Plugin framework, but opted to use OSGi, but that would be overkill probably. However if you are not bound to a servlet container, you might want to check out the Eclipse Rich Server Platform, which comes with Wicket integration. I don't have experience with that platform though.
Pico would be a nice choice. If you want to go more mainstream, you might consider Spring 2. The maven people swear by plexus, but I doubt it is suitable for web applications. Martijn On 10/29/06, Karl M. Davis <[EMAIL PROTECTED]> wrote: > > > Hey there all, > > Sorry for being slightly off-topic but I was hoping someone here might be > able to point me in the right direction. I'd like my wicket app to support > plugins. What I need is a way to dynamically discover what plugins are > available to be instantiated. A plugin in this case would be anything that > implements the IPlugin interface. Specifically, I'd need a way to do the > following: > > Set<Class<IPlugin>> getAvailablePlugins() > { > // look through the classpath for all implementations of IPlugin and > return the classes... > } > > I'm hoping for something fairly lightweight that can do this without a bunch > of XML config files, etc. I was looking at Pico which seems to be as > lightweight as I'd like but was a little short on documentation (I think its > Nano subproject might be able to do it, but there weren't any examples). > > Anyone have some advice/experience? Am I going about this all wrong? > > Thanks! > Karl > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > _______________________________________________ > Wicket-user mailing list > Wicket-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wicket-user > > > -- <a href="http://www.thebeststuffintheworld.com/vote_for/wicket">Vote</a> for <a href="http://www.thebeststuffintheworld.com/stuff/wicket">Wicket</a> at the <a href="http://www.thebeststuffintheworld.com/">Best Stuff in the World!</a> ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user