Webservices and
EJB are quite different. For one thing
you should almost always use your webservice over HTTPS to ensure security. You dont want people sniffing your post requests. Other differences can be concentrated on the ways in which the EJB server handles a bean as opposed to how web services operate and what they can do and cant do. The services offered and themselves quite vast and different