• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 221
  • Last Modified:

What does this mean(EJB VS Webservices)

Component architecture enhances reusability at a finer grain level.

SOA(Service oriented architecture) can enhance reusability at a Coarser grained level.
0
rmvprasad
Asked:
rmvprasad
  • 3
1 Solution
 
Mayank SAssociate Director - Product EngineeringCommented:
EJBs and web-services are two different things, meant to solve 2 different purposes.

An EJB is like a remote and reusable Java component, which is available to clients and to which clients can make calls for executing some business-logic and receive the response. However, it internally uses RMI and that requires the client to be a Java client. It requires an EJB container to run.

Web services can be developed using any language (Java, .NET, etc) and can be called from any client (Java, .NET, etc) because they use HTTP and SOAP standards and are deployed on web-servers (just like you can have a browser developed in any language deployed on any platform talking to a web-site developed using any technology). So they are like services available on the Web which can be used. They are generally used as means of doing interop between different kinds of technologies. Microsoft has come up with a concept of WSE where you can deploy a web-service without having a web-server but essentially that would require you to install WSE (which will do what a web-server would do - implement SOAP and HTTP protocols for handling web-requests and send web-responses).
0
 
Mayank SAssociate Director - Product EngineeringCommented:
0
 
Mayank SAssociate Director - Product EngineeringCommented:
Glad to help, but any reason for a B? You can ask for more clarification if you want.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now