File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
Author

Web Services vs EJBs

Avishek Banerjee
Greenhorn

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
Rancher

Joined: Mar 22, 2000
Posts: 12803
    
    5
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

Joined: Aug 19, 2005
Posts: 2922
    
    5
WebServices versus EJB
Deepak Bala
Bartender

Joined: Feb 24, 2006
Posts: 6661
    
    5

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