File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Difference between Webservices and EJBs

 
Barry Brashear
Ranch Hand
Posts: 303
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Could someone explain the difference between a webservice and an EJB application? Can they be the same thing?

Thanks.
 
Peer Reynders
Bartender
Posts: 2935
5
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.

See:
WebServices versus EJB
Performance: Remote EJB x Web Services
Servlet endpoint Vs EJB endpoint
 
Santhosh Reddy
Greenhorn
Posts: 27
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
please look at this forum you might get a clear picture of what EJB is and Webservice is

http://forums.sun.com/thread.jspa?threadID=5365671
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic