aspose 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


Win a copy of Java 8 in Action this week in the Java 8 forum!
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: 12682
    
    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


Java Resources at www.wbrogden.com
Peer Reynders
Bartender

Joined: Aug 19, 2005
Posts: 2906
WebServices versus EJB


"Don't succumb to the false authority of a tool or model. There is no substitute for thinking."
Andy Hunt, Pragmatic Thinking & Learning: Refactor Your Wetware p.41
Deepak Bala
Bartender

Joined: Feb 24, 2006
Posts: 6657
    
    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
 
Similar Threads
big picture..
EJBs or Web Services?
Deployment query
I can create only one web service in EJB module. Why?
Spring 3 in distributed environment