Understanding and Using Java Messaging Service
by Henry Yamauchi, hyamauchi@skillbuilders.com
Messaging systems have long been recognized as being flexible and reliable. Thus they have found wide acceptance in many industries. Java Messaging Service (JMS) provides a standard, vendor independent API for accessing messaging systems using Java. This article will provide the reader with an understanding of the API, an example of how to use it, and pointers to additional information resources.
Application programmers are accustomed to passing data to functions by assigning values to its arguments. Subsequently the function is invoked and the application will wait until the function returns. This pattern was extended for distributed computing using RPCs (Remote Procedure Calls) so programmers are able to develop distributed systems using this same familiar function call paradigm. This mode of programming is called synchronous because the client making the function (or RPC) call must wait until the function finishes executing. Most popular distributed systems today such as DCE, CORBA and DCOM are based on such synchronous calls.
Although synchronous programming is easy to code and understand...
(888) 803-5607
©2004-2005 SkillBuilders, Inc