File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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: 2933
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
It's not a secret anymore!