wood burning stoves
The moose likes Web Services and the fly likes Web Services vs EJBs Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "Web Services vs EJBs" Watch "Web Services vs EJBs" New topic

Web Services vs EJBs

Avishek Banerjee

Joined: Jul 11, 2006
Posts: 17
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.

Avishek<br />SCJP 5.0 - 90%
William Brogden
Author and all-around good cowpoke

Joined: Mar 22, 2000
Posts: 13037
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.

Peer Reynders

Joined: Aug 19, 2005
Posts: 2933
WebServices versus EJB
Deepak Bala

Joined: Feb 24, 2006
Posts: 6662

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

SCJP 6 articles - SCJP 5/6 mock exams - More SCJP Mocks
I agree. Here's the link: http://aspose.com/file-tools
subject: Web Services vs EJBs
It's not a secret anymore!