How can OSGI and JSF work together?

I am new to OSGI and have a lot of problems trying to create a WAB. I am using BndTools with Eclipse to help me with OSGi. My problem now is how can I integrate JSF with OSGi. I want to create one main web server and add packages with jsf runtime. How can i do this? What are the needs?

Thanks at Advance!

+6
source share
1 answer

JSF is quite complex due to its class loading mechanism. If you use Pax-Web , you can use JSF, although this requires special processing. Contact the OPS4j community for more information. Another hint, since you are trying to create your own "web container", I do not recommend this, trying to use an existing one makes life easier :)

+3
source

All Articles