• Post Reply Bookmark Topic Watch Topic
  • New Topic

JMS and Webservices

 
Sat Nar
Ranch Hand
Posts: 83
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
iam having a conceptual doubt.Webservices are used to expose some methods so that the business process is irrespective of the client.But the same result can be acheived by the combination of JMS,XML and MDB(Message Listener).Consider i have a bean which contains some business logic.Let the client be a .NET client.The client send the request in the form of XML to the queue in JMS.The MDB listens to this queue and once the message arrives,it calls the corresponding bean and the bean places the response XML in the queue in the JMS to which the client is registered.So a .NET client is able to call a JAVA application.So is this not a type of webservice?If not,what is the difference between this concept and webservices.Awaiting your replies.
 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There are a number of ways of making services available over the Internet: sockets, email, messaging, remote login, ... But web services are called that because they make use of web technology, which means HTTP.
 
Jayaprakash Reddy
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Integration between the applications can be done in any way but are we doing in a standard way, if we do the way you are asking then its not in a decoupled way. The client shouldnt bother about the underlying transport and where exactly the service provider is located.

So if you want to do it in Webservices way do it according to the WebService standards.
 
Peer Reynders
Bartender
Posts: 2968
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
W3C Web Services Glossary

Web service
There are many things that might be called "Web services" in the world at large. However, for the purpose of this Working Group and this architecture, and without prejudice toward other definitions, we will use the following definition:

A Web service is a software system designed to support interoperable machine-to-machine interaction over a network. It has an interface described in a machine-processable format (specifically WSDL). Other systems interact with the Web service in a manner prescribed by its description using SOAP-messages, typically conveyed using HTTP with an XML serialization in conjunction with other Web-related standards.


Please note the capitalization; "Web service" seems to imply "SOAP-based web service".

The term "HTTP service" is used in this: Reconciling Web Services and REST Services to refer to a "REST-style web service".

JMS is suggested in Sun's Web service Blueprints (6.3.2 Enterprise Beans and JMS Approach) as an approach to realize asynchronous messaging but that has more to do with Enterprise Application Integration (EAI) in general than Web Services (WS) specifically.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!