Get the tools you need to learn Java skills fast!
Video tutorials, eBooks, hands-on lab exercises, sample code.
Get started
The moose likes Web Services and the fly likes Difference between Webservices and EJBs Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Badass: Making Users Awesome this week in the Game Development forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Difference between Webservices and EJBs" Watch "Difference between Webservices and EJBs" New topic

Difference between Webservices and EJBs

Barry Brashear
Ranch Hand

Joined: Jun 05, 2001
Posts: 303
Could someone explain the difference between a webservice and an EJB application? Can they be the same thing?

Peer Reynders

Joined: Aug 19, 2005
Posts: 2922
Originally posted by Barry Brashear:
Can they be the same thing?

No, even though both JAX-RPC and JAX-WS will let you base a web service on an SLSB.

WebServices versus EJB
Performance: Remote EJB x Web Services
Servlet endpoint Vs EJB endpoint
Santhosh Reddy

Joined: Sep 25, 2006
Posts: 27
please look at this forum you might get a clear picture of what EJB is and Webservice is
I agree. Here's the link:
subject: Difference between Webservices and EJBs