> -----Original Message----- > From: Dieter Wimberger [mailto:[EMAIL PROTECTED] > Sent: Friday, September 02, 2005 4:13 PM > To: [email protected] > Subject: [Wicket-user] Wicket and OSGi > > I have started an evaluation of Wicket, specifically with the > idea to drop it into an OSGi container. I have seen some > discussions about Wicket + OSGi on the list, but I did not > quite get what the problems where about or what people were > trying to achieve. > > After writing Timur and Eelco, I received a response from the > latter, and he suggested to bring this up on this mailing list. > > So here we go: > What I have done is to drop Wicket _INTO_ an OSGi container, > on top of a HttpService. > The idea is that one can have Wicket web applications > deployed as bundles, registering with the HttpService for a > specific context. >
That is exactly what a number of us OSGi-heads are also interested and have had some success in accomplishing. > Unfortunately, it won't do out-of-the-box..... Correct. However, Niclas Hedhman from http://www.ops4j.org has worked through a model for developing Wicket applications deployed as OSGi bundles using the standard OSGi HttpService and HttpContext interfaces. This model does NOT require ANY changes to the Wicket codebase or changes to the Wicket binary distributions. The model is fairly simple and straightforward, and I'm willing to document the process just as soon as I can get permission from Niclas. There are a number of *organizations* that are interested in having this process documented, including Wicket, OPS4J, Safehaus, and the Apache Directory and Felix projects. So... It will be documented! Hang tight. You DO need a build system that bundle the appropriate dependencies, including Wicket's third-party dependencies, as well as construct the appropriate OSGi manifest entries. Most people likely using Ant, Maven, or Maven2. The guys at OPS4J have their own build system called Silk. I have an alpha version of an osgi-plugin for Maven2 that I am using to construct OSGi bundles, including Wicket applications. This osgi-plugin for Maven2 is being hosted at the Apache Felix (Oscar) project (http://incubator.apache.org/projects/oscar.html). Either Niclas or myself will get this model and process documented very soon. Wiki space is not a problem. OPS4J has one. Safehaus (http://www.safehaus.org) has offered space. I know the Wicket guys would ante up space. I just don't want to step on Niclas' toes if he intends to do the doco himself. I'll post back here as soon as I speak with Niclas. Regards, Timothy Bennett ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Wicket-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wicket-user
