Though the question pertains to REST,it will apply to any service as such.
I have come across fragments of information spread across but never a good design debate.
What advantage do I get publishing the service as a standalone endpoint vs hosting it in a container.
This is more relevant to REST where the primary medium of communication is HTTP,rather than
SOAP - thus taking some certificate based QoS convenience out of the picture.
This is a broad question;but would appreciate some insightful opinions and write-ups.