Hi, On Wed, Jun 22, 2011 at 8:57 PM, Harald Wellmann <harald.wellm...@gmx.de> wrote: > I'm currently trying to build an OSGi Enterprise stack using Wicket and > Apache Aries, and I have a couple of questions and suggestions: > > 1) Why does the official Wicket artifact include a Dynamic-Import: * > header? This should only be used as a last resort... https://issues.apache.org/jira/browse/WICKET-3737 > > 2) I'd like to @Inject OSGi services into Wicket components using an > IComponentInstantiationListener - is there a ready-to-go extension I > could use? Yes. See how wicket-spring and wicket-guice use wicket-ioc There is also wicket-javaee at https://github.com/wicketstuff/core/tree/master/jdk-1.6-parent/javaee-inject-parent > > 3) If not, would it be a good idea to create a wicket-osgi extension as > part of Wicket or Wicketstuff? https://github.com/wicketstuff/core/tree/master/jdk-1.5-parent/wicket-bundle-parent > > Regarding 1), I would assume that wrapping the bundle class loader > of the user's application in an IClassResolver and registering it in > Application.init() would do the trick, or doesn't it? > > As for 2) and 3), I wrote similar bridges both for CDI and Spring, building > on wicket-ioc, so I do have an idea of what it takes, but of course I don't > want to reinvent the wheel. what do you mean ? you re-wrote wicket-spting ? why ? also there is wicket-seam at github which integrates with CDI > > Best regards, > Harald > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > >
-- Martin Grigorov jWeekend Training, Consulting, Development http://jWeekend.com --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org