Hi Matt, I don't know how familiar you are with the OSGi HttpService, basically Pax-Web provides additional ServletWrappers for deploying also JSPs via the HttpService. So you are not really "tied" to Pax Web classes. The Activator is a "standard" way of starting bundles in OSGi. If you are looking for "plain" web deployment Pax Web also provides a WarExtension for the HttpService which is able to serve standard war files and OSGi WAB (web application bundle). There are samples available for that also. If you want to play around with it I also recommend taking a look at the iTests using these samples together with pax-exam.
Regards, Achim > Hi Achim, > Thanks and could you point me to some other examples where I do not > need to use the Activator. This kind of ties the Bundle to the PAX Web > classes. Not sure if thats a good idea. > > Thanks > Matt > > On Tue, Mar 15, 2011 at 5:26 PM, Achim Nierbeck > <[email protected] <mailto:[email protected]>> wrote: > > Hi > > the jsp samples are pure HTTPService samples, that's why there is > no web.xml. > Everything is setup inside the Activator class. > > Regards, Achim > >> Hello, >> I was reviewing the PAX-WEB examples today. The examples - all >> 'register' the resources and jsps etc from inside the bundle >> activator. >> >> Is is this my only option? Can this be done via some bundle >> manifest header or some other way? >> >> Also I did not see any web.xml file as well. And I was not sure >> where the web-app context is being set as well. >> >> Could some one throw some light in to this or point me to some doc? >> >> Thanks in advance! >> Matt >> >> >> _______________________________________________ >> general mailing list >> [email protected] <mailto:[email protected]> >> http://lists.ops4j.org/mailman/listinfo/general > > > _______________________________________________ > general mailing list > [email protected] <mailto:[email protected]> > http://lists.ops4j.org/mailman/listinfo/general > > > > _______________________________________________ > general mailing list > [email protected] > http://lists.ops4j.org/mailman/listinfo/general
_______________________________________________ general mailing list [email protected] http://lists.ops4j.org/mailman/listinfo/general
