Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Difference between Webservices and EJBs

 
Barry Brashear
Ranch Hand
Posts: 303
  • 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: 2968
6
  • 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
  • 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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic