Hello all,

I would like to use spring-dm and spring-dm-web in Karaf and I'm fairly new to Spring altogether. Currently I am trying to get an understanding of what I must install in a Karaf instance to allow me to deploy spring-dm-web enabled bundles and ultimately I would like to use JSF too. To get an understanding I built the Pax Web Spring Sample as indicated on this StackOverflow post by Achim :

http://stackoverflow.com/questions/15820185/getting-all-of-it-to-work-war-osgi-spring-beans-maven

As a minimum I though I would have to install the following features into Karaf to allow the above spring sample to work:

spring-dm
spring-dm-web
jetty

However it turns out that I also need to install pax-war as well which I do not quite understand. Referring to 'Spring Dynamic Modules in Action' p96, it indicates that the Spring-dm web extender should pick up the war file automatically, thus in my understanding I should not need to install 'pax-war'.

Could someone correct my understanding of what features I need to install?

Also, to try and use JSF I went onto install pax-jsf-support however this causes the Pax Web Spring Sample bundle to fail. Firstly, I'm assuming JSF support should be available to spring-dm-web enabled bundles I deploy by installing pax-jsf-support or is this incorrect?

Thanks

Reply via email to