The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

bobs99 (5) [Avatar] Offline

Reading through your book it seems when web services (e.g via CXF) are hosted in the various examples they use Mule itself as the container. Is this approach good practice for web services intended for production use? Or, should Mule first be embedded into a more 'heavyweight' container, like Tomcat for example, thus exposing web services from within this 'production' container.

Any thoughts on this would be appreciated.
tijs.rademakers (494) [Avatar] Offline
Re: Mule in production use.

That's right. Well, you can perfectly deploy web services in a production environment in the Mule container itself. Mule has production quality connectors to host and invoke web services. When Mule is embedded in a JEE / servlet container like Tomcat you don't get additional quality to host web services within Mule. Another alternative is of course to host the web services directly in a JEE / servlet container without Mule. Then you can send for example JMS messages from your web service to communicate with Mule services. Hope this is of any help to you.

Best regards,