IBM®
Skip to main content
    United States change      Terms of use
 
 
Select a scope:    
     Home      Products      Services & industry solutions      Support & downloads      My account     
alphaWorks  >  Java technology  >  

IBM Message Service Clients Extensions for Generic Programming

A generics-based technology for facilitating the interchange of objects between Java 5.0 and .NET 2.0 applications.


Date Posted: August 1, 2006
OverviewRequirements Download FAQs Forum Reviews

What is IBM Message Service Clients Extensions for Generic Programming?

This extension to Java™ Message Service (JMS) and IBM Message Service Clients for .NET (XMS) exploits "generics," a type-safe feature of Java 5.0 and Microsoft .NET Framework 2.0, in order to provide a standards-based messaging framework for object interchange. This technology provides several benefits:

  • It is interoperable: One can send and receive objects between Java and .NET environments and easily interpret them.
  • It is type-safe for both the sender and the receiver.
  • It is general: One can send or receive objects that do not implement the Java.IO.Serializable interface.
  • It supports the sending and receiving of partial objects.
  • It provides type flexibility: The receiver need not treat the object in the message as the same type it was on the sender's end.

How does it work?

In order to send an object in a message, the user must provide an encoder object that converts objects of the type being sent to XML conforming to a user-supplied schema. When an object is sent, the schema URI and the encoded XML form of the object are placed into a JMS TextMessage and sent to the specified destination.

In order to receive an object from a message, the user must provide a decoder object that converts XML conforming to a user-supplied schema into an object of the desired type. Messages that match the schema are selected from the specified destination and decoded with the decoder before being returned to the user's program.


About the technology author(s):

Philip WilloughbyPhilip Willoughby joined IBM after graduating from Imperial College London with an MEng degree in computing (software engineering). For the last three years, he has worked in various roles across IBM's portfolio of enterprise messaging products. Mr. Willoughby has a track record of invention and innovation, primarily in the areas of usability and performance.

Download now Download now

Related technologies

For platform(s):
Multi-Platform

For topics:
interoperability, Java technology, JMS (Java Message Service), Messaging, XML, .NET, XMS


 

    About IBM Privacy Contact