I know that I can implement web service as a stateless session bean or a servlet. I know how to implement them, but I don't know when to use servlet based and when to use EJB based web service implementation.
What is the difference between those two approaches? Are there some differences for client? Are there differences between performace? Are there differencies between capabilities? Does exist clear choice of the implementation if I can use both?