We help IT Professionals succeed at work.

We've partnered with Certified Experts, Carl Webster and Richard Faulkner, to bring you two Citrix podcasts. Learn about 2020 trends and get answers to your biggest Citrix questions!Listen Now


What does this mean(EJB VS Webservices)

rmvprasad asked
Medium Priority
Last Modified: 2013-11-24
Component architecture enhances reusability at a finer grain level.

SOA(Service oriented architecture) can enhance reusability at a Coarser grained level.
Watch Question

Mayank SPrincipal Technologist

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).
Principal Technologist

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts
Mayank SPrincipal Technologist

Glad to help, but any reason for a B? You can ask for more clarification if you want.
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.


Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.