Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How Can OSGI and JSF work together?

I'm new in OSGI and I'm having many problems to try to create WABs. I'm using BndTools with Eclipse to help me with OSGi. My problem now is how can I integrate JSF with OSGi. I want to make one main web server, and add bundles with jsf pages runtime. How can I do this? What are the needs?

Thanks in Advance!

like image 924
Guilherme Simão Couto Avatar asked Jan 07 '13 15:01

Guilherme Simão Couto


1 Answers

JSF is quite complex due to it's classloading mechanism. If you use Pax-Web you are able to use JSF, though it requires some special handling. For more details get in contact with the OPS4j community. Another hint, since you seem to try to build your own "web-container", I don't recommend that, try to use an existing one, makes life easier :)

like image 177
Achim Nierbeck Avatar answered Nov 15 '22 09:11

Achim Nierbeck