File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Web Services and the fly likes Diff Between EJB and WebService Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Web Services
Reply Bookmark "Diff Between EJB and WebService" Watch "Diff Between EJB and WebService" New topic
Author

Diff Between EJB and WebService

PhaniKiran Patruni
Greenhorn

Joined: Nov 11, 2003
Posts: 5
Hi Can anybody please tell me the difference between
EJB technology and the latest webservices ....
Both are meant for distributed computing only ...
but what is the major diff between them
Lasse Koskela
author
Sheriff

Joined: Jan 23, 2002
Posts: 11962
    
    5
Enterprise JavaBeans is first and foremost a component technology while web services are a standard way to expose services. The difference might be subtle but it is there. EJBs can be used to compose applications in a more tightly coupled way, while web services are a larger-grained concept aimed at interoperability.
Maybe someone else on this forum has a better explanation of the differences?


Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Diff Between EJB and WebService
 
Similar Threads
core
Diff between string and string buffer
scdjws 5
what is the diff between ServletContext and SessionContext
Interrupted questions! thx!