-
1. Re: deploy a servlet into Servicemix 3.4
ccustine Jul 24, 2009 12:08 AM (in response to suxuguang)This is definitely not a feature in ServiceMix 3.x. If you really wanted to make this work in ServiceMix 3.x you could probably write a custom component but because 3.x is very JBI centric it probably does'nt make much sense. If you are just looking to deploy a simple web app that doesn't interact with the NMR, you could probably configure a Jetty instance with Spring XML inside servicemix.xml as an alternative. Or you can always give FUSE ESB 4.1 a shot!
-
2. Re: deploy a servlet into Servicemix 3.4
suxuguang Jul 24, 2009 3:42 PM (in response to ccustine)Thank you very much for the answer!
But our campany can only work with 3.4 right for now since other developments are already done to 3.4. Could you point me to some samples on how to configure a Jetty instance with Spring xml for servicemix?
Thanks again!
-
3. Re: deploy a servlet into Servicemix 3.4
suxuguang Jul 24, 2009 3:43 PM (in response to suxuguang)Need a little more info.
-
4. Re: deploy a servlet into Servicemix 3.4
ccustine Jul 27, 2009 4:23 PM (in response to suxuguang)There is an excellent post about embedding jetty in a Spring context here. You will probably want to read the comments as there appear to be some additional issues if you want to have Jetty watch for war files and auto deploy them. Another option would be to do this within your own code and start that code as a bean.