• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Web Services vs EJBs

 
Avishek Banerjee
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13073
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
For one thing, Web services are intended to be independent of operating system and language and use standards agreed on by the general computing community.

Bill
 
Peer Reynders
Bartender
Posts: 2968
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
WebServices versus EJB
 
Deepak Bala
Bartender
Posts: 6663
5
Firefox Browser Linux MyEclipse IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic