Hmm, I get the idea, but I don't see all the details. Would be worth a new wiki 
page ;-)

I can see the DefaultWebApplicationFactory in the sample, but I don't see any 
filter registration.

There must be some component listening for WebApplicationFactories - which one? 
Does this component also register the Wicket Filter?

Best regards,
Harald


-------- Original-Nachricht --------
> Datum: Tue, 16 Aug 2011 14:36:27 +0200
> Von: Achim Nierbeck <[email protected]>
> An: General OPS4J <[email protected]>
> Betreff: Re: Pax Wicket Samples without web.xml

> To bring it to the point
> it's the std. HttpService together with the Pax-Web Whiteboard Pattern
> Magic :-)
> 
> If you want to deploy std. wars or Wabs you are in need of a web.xml where
> the
> War Extender of Pax Web will pick up the pieces for you and register
> your servlets as http Services.
> 
> Regards, Achim
> 
> 2011/8/16 Andreas Pieber <[email protected]>:
> > Hey Harald,
> > All of the samples base on the HTTP service only which does not require
> an
> > web.xml at all. Instead of the centralized web.xml pax-wicket allows to
> > conifgure filters and other settings in the web.xml in a more OSGi like
> way.
> > Currently there are no more advanced samples available but in short: for
> a
> > feature simply register a classical servlet Filter with the right
> > application name. Both, the application as "plain" filters also take
> > filter/servlet props as osgi properties.
> > Kind regards,
> > Andreas
> > On Tue, Aug 16, 2011 at 13:59, Harald Wellmann <[email protected]>
> > wrote:
> >>
> >> I noticed the Pax Wicket samples - or at least the one in
> >> samples/plain/simple - work without a web.xml deployment descriptor,
> >> although based on Servlet 2.5.
> >>
> >> Is that a general OSGi Web feature or some special magic in Pax Web
> and/or
> >> Pax Wicket?
> >>
> >> Best regards,
> >> Harald
> >>
> >> --
> >> Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir
> >> belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.de
> >>
> >> _______________________________________________
> >> general mailing list
> >> [email protected]
> >> http://lists.ops4j.org/mailman/listinfo/general
> >
> >
> > _______________________________________________
> > general mailing list
> > [email protected]
> > http://lists.ops4j.org/mailman/listinfo/general
> >
> >
> 
> 
> 
> -- 
> --
> *Achim Nierbeck*
> 
> 
> Apache Karaf <http://karaf.apache.org/> Committer & PMC
> OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/>
> Committer & Project Lead
> blog <http://notizblog.nierbeck.de/>
> 
> _______________________________________________
> general mailing list
> [email protected]
> http://lists.ops4j.org/mailman/listinfo/general

-- 
NEU: FreePhone - 0ct/min Handyspartarif mit Geld-zurück-Garantie!               
Jetzt informieren: http://www.gmx.net/de/go/freephone

_______________________________________________
general mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/general

Reply via email to