what the pros and cons of web service and EJB.where and when both should be applied?.web service is replacement for EJB.
posted 8 years ago
Through Webservices you can create a service using one technology and use a different technology to consume that service. The webservice can be realised / implemented by an EJB. Please go through the webservices architecture http://www.w3.org/TR/2004/NOTE-ws-arch-20040211/