What is the fundamental difference between Web Services and EJBs? I've just started with webservices and to me these both look of same type. Both allow access to remote services, just in a different form.
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