text: [ 0027 ] fig2 illustrates a loosely coupled enterprise computing environment embodiment 200 comprising a front - end server 210 , a back - end server 220 , and a messaging server 230 . the front - end server 210 includes a front - end application program 211 , message - producing client application 212 , an internationalization handler 213 , and a thread context manager 214 . the back - end server 220 similarly includes a back - end application 221 , message - consuming client application 222 , and a thread context manager 224 . the message - producing client application 212 communicates with the message - consuming client application 222 through a message - oriented middleware (“ mom ”) application 232 . the mom application 232 includes a plurality of message “ queues ” 234 ( or “ topics ” in publish / subscribe messaging ), one of which 234 a the message - consuming client 222 is subscribed . the message - producing client 212 , the message - consuming client 222 , and the mom application 232 communicate via messages 236 , each of which comprises a message body 238 and a plurality of message headers 240 . in operation , the front - end application program 211 produces a request for service from the back - end application program 221 . the message - producing client 212 receives this service request from the application program 211 , creates a message 236 , and sends the message 236 to the mom application 232 . next , the internationalization handler 213 intercepts the message 236 , and then determines the internationalization context associated with the requesting application 211 from the thread context manager 214 . the internationalization handler 213 then attaches the internationalization context to the message 236 , and then allows the message 236 to continue to the mom application 232 . the mom application 232 receives the message 236 from the message - producing client 212 and assigns the message 236 to the message queue 234 a associated with the message - consuming client 222 . the messaging program 232 stores the message 236 in the queue 234 a and delivers (“ dispatches ”) the message 236 to the message - consuming client 222 . after the message - consuming client 222 requests and receives the message 236 from the mom application program 232 , the message - consuming client 222 prepares to send the service request to the application program 221 . at this point , the internationalization handler 223 intercepts the service request and extracts the internationalization context from the associated message header 240 . the internationalization handler 223 then stores the internationalization context in the thread context manager table 224 and then allows the service request to continue the application 221 . the service request in the message body 238 is then processed according to the associated internationalization context in the context manager 224 . [ 0031 ] fig3 illustrates the internationalization context 305 in one message header 240 embodiment . the internationalization handler 213 attaches the internationalization context into the message header 240 in this embodiment using two “ string typed ” jms defined properties as optional fields ( e . g ., “ jmsxlocales ” 310 and “ jmsxtimezoneid ” 320 ). the message - producing client 212 sets the value of jmsxlocates property 310 to a space - delimited ordered list of stringified versions of java . util . locale objects 325 . each object 325 , in turn , comprises at least of a language code 330 ( such as a two character iso - 639 identifier ) and a country code 335 , ( such as a two character iso - 3166 identifier ). some embodiments may also include a variant - string 340 , which contains other locale - relevant information , such as a particular language dialect or region within a country . the objects 325 in the jmsxlocales property 310 are ordered according to the message - producing application &# 39 ; s 212 preference , with the most preferred locale generally being the message producer &# 39 ; s locale . the message - producing client 212 similarly sets the value of the jmsxtimezoneid property 320 to be a preferred time zone identifier 345 . for example , as illustrated in fig3 the internationalization handler 213 respectively set the values of the jmsxlocales 310 and of the jmsxtimezoneid 320 properties to ja_jp , fr_fr , and jst . the intention of the message - producing client 212 is to convey the following information to the message consumer for localizing the processing of the transmitted message 236 : localize the requested computation in the japanese standard time ( jst ) time zone . one advantage of using jms defined properties is that jms provider 232 support for the jmsxlocales 310 and jmsxtimezoneid 320 properties will be optional , and thus backward - compatible . using these properties also enables messaging applications to select messages based on internationalization information , such as language . however , those skilled in the art will recognize that the capability to provide distributed internationalization will be compromised for a jms provider 230 if it does not support these properties . [ 0042 ] fig4 illustrates the operation of the message - producing client 212 in more detail . at the message production side , the internationalization handler 213 transparently intercepts an outbound mom message 236 originating from a managed message - producing client 212 . next , the internationalization handler 213 obtains the internationalization context (“ i18ncntxt ”) associated with the requesting application 211 from the thread context manager 214 using , for example , the spi1 system programming interface described in application ser . no . 10 / 041219 , which was previously incorporated by reference . the internationalization handler 213 then converts the i18ncntxt into the ordered list of stringified locale objects 325 described with reference to fig3 and uses that list to create the jmsxlocales property 310 . next , the internationalization handler 213 determines the time zone identifier from the i18ncntxt , and uses the time zone identifier to create the jmsxtimezoneid property 320 for the intercepted jms message before relinquishing control . finally , the modified message 236 is delivered to the jms provider 232 . those skilled in the art will appreciate that these embodiments are desirable because the jms internationalization handler 213 transparently modifies the original jms message 236 by appending the internationalization context using the jmsxlocales 310 and the jmsxtimezoneid 320 properties . [ 0044 ] fig5 illustrates the operation of the message - consuming client 222 in more detail . at the mom message consumption - side , the internationalization handler 223 transparently intercepts the inbound jms message 236 destined for the back end application 221 . the internationalization handler then extracts the value of the jmsxlocales 310 and jmsxtimezoneid 320 properties associated with the intercepted jms message 236 . next , the internationalization handler 223 creates list of preferred locales ( in this embodiment , an ordered chain of “ java . util . locale ” objects ) from the value of the extracted jmsxlocales 310 ( which , in this embodiment , should be a delimited ordered list of stringified locale objects having the same ordering as in jmsxlocales property 310 ). the internationalization handler 223 then creates a java . util . timezone (“ timezone ”) object from the value of the extracted jmsxtimezoneid 320 property ( which , in this embodiment , should be a jdk recognized time zone identifier ). next , the internationalization handler 223 uses the extracted information to create an internationalization context (“ i18ncntx ”). finally , the internationalization handler sets the caller internationalization context for the current thread of execution to “ i18ncntxt ” in the threadcontextmanager 224 component of the internationalization service using an appropriate interface using , for example , the spi2 system programming interface described in application ser . no . 10 / 041219 , which was previously incorporated by reference . in the event that an inbound jms message 236 does not have the jmsxlocales property 310 , the internationalization handler 223 in this embodiment will create a single element default locales object using the default locale of the server hosting the jms message - consuming client 222 and / or the back end application 221 . in the event that the inbound jms message 236 does not have the jmsxtimezoneid property 320 , the internationalization handler 223 in this embodiment will create a default timezone object using the default time zone of the server hosting the mom system . in still other embodiments , the handler 223 may use externally defined default values , such as extended markup language (“ xml ”) definitions within a j2ee deployment descriptor , for the jmsxlocales and jmsxtimezoneid properties whenever an inbound message respectively lacks either . moreover , some of these embodiments may use multiple externally defined default values ( e . g ., node level defaults , application level defaults , component level defaults , and method level defaults ) and will typically choose the default values associated with the lowest level entity . for any default value computed above , “ defaulti18ncntxt ,” the handler 223 sets the caller internationalization context for the current thread of execution to “ defaulti18ncntxt ” in the threadcontextmanager 224 component of the internationalization service . those skilled in the art will appreciate that the embodiment in fig5 is desirable because , in storing the internationalization context , the spi2 interface associates the extracted internationalized context as the caller internationalization context with the current thread of execution in the thread context manager 224 . the thread context manager 224 , in turn maintains the association between executing threads and any corresponding internationalization contexts . as such , these internationalization contexts may be supplied upon request by a jms provider application 232 , and may be propagated to another jms provider application 232 . in these embodiments , it may also be desirable for the thread context managers 224 , 214 to associate two internationalization contexts with the threads of execution , namely the caller internationalization context and the invocation internationalization context . the caller internationalization context is the internationalization context associated with the inbound call , which in this embodiment is the internationalization context carried by the jmsxlocales and jmsxtimezoneld jms defined properties from the message - producing client . the invocation internationalization context is determined from the internationalization context management policy associated with the message - consuming client . in this way , the consuming client can operate under the context prescribed by the policy , or under that of the message producer . in addition to the jmsxlocales and jmsxtimezoneid properties , some embodiments of the present invention may define an additional property ( i . e ., an optional jms header field called “ jmsxreply ”) that indicates whether the message is an original request , or a reply to a message generated by another client application 211 , 221 . the message consuming client application 222 uses the jmsxreply property to determine whether or not to use the internationalization context in an incoming message . that is , applications have a configurable internationalization context management policy . this policy prescribes which of three internationalization contexts will comprise the invocation internationalization context associated with the thread on which the component or method executes . a policy may be externally defined , for example , as an xml definition within a j2ee application deployment descriptor , and may be configured to one of three settings : “ run - as - caller ,” “ run - as - server ,” and “ run - as - specified .” some embodiments may use multiple externally defined policies ( e . g ., application level policies , component level policies , and a method level policies ) and will typically choose the polices associated with the lowest level entity , with an ultimate policy defaults to “ run - as - caller ” whenever it is not properly defined externally . these embodiments are desirable because , when the threads involved in a transaction use different policies , one of the threads can affect the context of the other in an unpredictable manner . for example , assuming the front - end application program 211 is using the “ run - as - caller ” policy , a service request to the back - end application program 221 will initially operate under the invocation internationalization context of the front - end application program 221 . if the back - end application program 221 is using the “ run - as - server ” policy , the reply to the service request will contain the back end program &# 39 ; s 221 internationalization context . because the front - end application program 221 is using the “ run - as - caller ” policy , the front end application &# 39 ; s caller and invocation internationalization contexts will switch to the back end &# 39 ; s context when it receives the reply message . those skilled in the art will appreciate that this is a particular problem in loosely coupled environments because the application programs 211 , 221 are frequently legacy programs whose internationalization context ( s ) remains invariant upon receiving a reply from a service request . in embodiments using the jmsxreply property , however , the message - consuming client application 212 ( acting as a synchronous receiver in this example ) will be able to recognize that the reply message is , in fact , a reply and ignore the new internationalization context . in some embodiments , the front end application 211 and the back - end application 221 will set the jmsxreply programmatically . that is , the front - end application 211 and the back - end application 221 will tell the message clients 212 , 222 whether or not the message is a reply to an earlier request . in other embodiments , the front - end application 211 and the back - end application may be designed to work with a managed container system in which reply messages are created using a special method , which makes setting of the property transparent to the application . in these embodiments , the message clients 212 , 222 can use the special call to set the jmsxreply property . one suitable managed container system is extended messaging of ibm websphere , available from international business machines , inc . of armonk , n . y . in still other embodiments , the mom application 232 may use an externally defined value , such as an xml definition within a j2ee deployment descriptor , for the jmsxreply property ; usually set to indicate that the message is ‘ not a reply .’ some of these embodiments may use multiple values ( e . g ., application level , component level , and method level ) and will typically use the value associated with the lowest level entity ; and whenever the value is not properly externally defined , will indicate the message is ‘ not a reply ’ by default . referring again to fig2 the mom application 232 in this embodiment may be any system capable of coordinating loosely coupled communications between two or more message clients 212 , 222 , and may organize these communications through any suitable messaging protocol , such as publish / subscribe or point - to - point . those skilled in the art will appreciate that , although depicted as separate applications on separate computers , the message - producing client 212 , the message - consuming client 222 , and the mom application 232 are logical constructs , and in fact , a single computer system ( or even a single thread of execution ) may exhibit characteristics of all three elements . similarly , the message - producing clients 212 , 222 may actually be integrated into the application programs 211 , 221 . one suitable message - producing client 212 , message - consuming client 222 , and mom application 232 is the websphere mq family of programs available from international business machines , inc ., of armonk , n . y . [ 0050 ] fig6 shows a computer 600 embodiment suitable for use as the front - end server , the back - end server , or the messaging server . the computer system 600 embodiment in fig6 comprises a processor 610 , a main memory 620 , a mass storage interface 630 , a display interface 640 , and a network interface 650 . these system components are interconnected through the use of a system bus 660 . mass storage interface 630 is used to connect mass storage devices ( such as a direct access storage device 655 ) to computer system 600 . one specific type of direct access storage device 655 is a readable and writable compact disk (“ cd ”) drive , which may store data to and read data from a cd - rw disk 695 . main memory 620 in accordance with the preferred embodiments contains data 621 , an operating system 622 , and one or more application programs 623 . the data 121 represents any data that serves as input to or output from any program in computer system 100 . the software applications 623 comprise a detailed set of instructions , such as the message - producing client or the message - consuming client , that describe how the computer 600 is to access , manipulate , and store the data 621 . the computer system 600 utilizes well known virtual addressing mechanisms that allow the programs of computer system 600 to behave as if they only have access to a large , single storage entity instead of access to multiple , smaller storage entities such as main memory 1620 and dasd device 655 . therefore , while the data 621 , the operating system 622 , and the application software 623 are shown to reside in main memory 120 , those skilled in the art will recognize that these items are not necessarily all completely contained in main memory 120 at the same time , and may also reside in the virtual memory of other computer systems coupled to the computer system 600 . the processor 610 may be constructed from one or more microprocessors and / or integrated circuits . processor 610 executes program instructions stored in main memory 620 . main memory 620 stores programs and data that processor 110 may access . when computer system 600 starts up , processor 610 initially executes the program instructions that make up operating system 622 , which manages the resources of the computer system 600 . these resources include the processor 610 , the main memory 620 , the mass storage interface 630 , the display interface 640 , the network interface 650 , and system bus 660 . although computer system 600 is shown to contain only a single processor and a single system bus , those skilled in the art will appreciate that the present invention may be practiced using a computer system that has multiple processors and / or multiple buses . in addition , the interfaces that are used in the preferred embodiment each include separate , fully programmed microprocessors that are used to off - load compute - intensive processing from processor 610 . however , those skilled in the art will appreciate that the present invention applies equally to computer systems that simply use i / o adapters to perform similar functions . the display interface 640 is used to directly connect one or more displays 665 to computer system 600 . these displays 665 , which may be non - intelligent ( i . e ., dumb ) terminals or fully programmable workstations , are used to allow system administrators and users to communicate with computer system 600 . note , however , that while the display interface 640 is provided to support communication with one or more displays 665 , the computer system 100 does not necessarily require a display 665 , because all needed interaction with users and other processes may occur via network interface 650 . the network interface 150 is used to connect other computer systems and / or workstations 675 ( e . g ., to interconnect the front - end server 210 , the back - end server 220 , and the messaging server 230 in fig1 ) to computer system 600 across a network 670 . the present invention applies equally no matter how computer system 600 may be connected to other computer systems and / or workstations , regardless of whether the network connection 670 is made using present - day analog and / or digital techniques or via some networking mechanism of the future . in addition , many different network protocols can be used to implement a network . these protocols are specialized computer programs that allow computers to communicate across network 670 . tcp / ip ( transmission control protocol / internet protocol ) is an example of a suitable network protocol . one suitable computer 600 is an eserver iseries ® computer running the os / 400 ® multitasking operating system , both of which are produced by international business machines corporation of armonk , n . y . however , those skilled in the art will appreciate that the mechanisms and apparatus of the present invention apply equally to any computer system and operating system , regardless of whether the computer system is a complicated multi - user computing apparatus , a single workstation , or an embedded control system . although the present invention has been described in detail with reference to certain examples thereof , it may be also embodied in other specific forms without departing from the essential spirit or attributes thereof . for example , those skilled in the art will appreciate that the present invention is capable of being distributed as a program product in a variety of forms , and applies equally regardless of the particular type of signal bearing media used to actually carry out the distribution . examples of suitable signal bearing media include , but are not limited to : ( i ) information permanently stored on non - writable storage media ( e . g ., read - only memory devices within a computer such as cd - rom disks readable by a cd - rom drive ); ( ii ) alterable information stored on writable storage media ( e . g ., floppy disks within a diskette drive , a cd - r disk , a cd - rw disk , or hard - disk drive ); or ( iii ) information conveyed to a computer by a communications medium , such as through a computer or telephone network , including wireless communications , and specifically includes information downloaded from the internet and other networks . such signal - bearing media , when carrying computer - readable instructions that direct the functions of the present invention , represent embodiments of the present invention . the present invention and its context management system are also desirable to propagate information other than internationalization context . for example , some embodiments may use the present invention may transmit a security context with the message . these embodiments may be particularly desirable if they use the jmsxreply property described earlier to prevent an unwanted security protocol change . the present invention offers numerous advantages over conventional internationalization methods . for example , the message handler 223 on the consumption side always sets only the caller internationalization context to that contained in the delivered message , provided the jmsxreply property indicates ‘ not a reply ;’ however , the invocation internationalization context will be set by the internationalization service as determined by the internationalization context management policy associated with the managed jms listener or receiver component . that is , the internationalization context is prescribed at development time , not at run time . another advantage is that the existence of internationalization handlers 213 , 223 makes the propagation of internationalization context through jms messages completely transparent , and in doing so , makes application development less error prone by alleviating the programmer from conventional , non - standard solutions for handling locale and time zone mismatches . a mom programmer is not required to be aware of the existence nor the use of the mom defined properties for propagating internationalization context ; however , the service will indeed manage internationalization context ( s ) over mom applications on behalf of applications . further , the programmer no longer must revise application interfaces to manage internationalization context — a condition that significantly increases application uptime because the system administrator does not have to redeploy the application . for application developers that choose to utilize the mom defined internationalization properties , consider their role in a publish / subscribe mom application . still another advantage of the present invention is that it provides a facility for message consumers to select messages according to a message &# 39 ; s internationalization - pertinent properties . for example , fig7 presents an embodiment of a simple publish / subscribe mom application 700 comprising one or more mom clients (“ publishers ”) 710 that publish ( send ) messages to a particular destination referred to as a “ topic ” 720 ; one or more mom clients (“ subscribers ”) 740 that receive messages from the topic 720 ; and one or more mom clients 730 that both publish and subscribe to the topic 720 . in this embodiment , the subscribers 740 can register with the mom system to receive messages meeting any criteria involving locale and time zone information . thus , a subscriber 740 may direct the mom system &# 39 ; s selection facility to receive messages published in brazil , messages published in the brazilian portuguese language , or messages published in the gmt time zone . moreover , selecting messages in this manner can be achieved in applications that utilize different mom systems , assuming these systems embody the present invention . these embodiments are desirable because they enable the subscribers 740 depicted in fig7 to realize the capability to systematically select messages from a topic 720 according to internationalization - pertinent criteria in applications spanning multiple mom systems . the accompanying figures and this description depicted and described embodiments of the present invention , and features and components thereof . those skilled in the art will appreciate that any particular program nomenclature used in this description was merely for convenience , and thus the invention should not be limited to use solely in any specific application identified and / or implied by such nomenclature . thus , for example , the routines executed to implement the embodiments of the invention , whether implemented as part of an operating system or a specific application , component , program , module , object , or sequence of instructions could have been referred to as a “ program ”, “ application ”, “ server ”, or other meaningful nomenclature . furthermore , although features and advantages of the present invention have been described with reference to point - to - point messaging systems or publish / subscribe messaging systems , those skilled in the art will appreciate that these features and advantages apply equally to both types of systems . therefore , it is desired that the embodiments described herein be considered in all respects as illustrative , not restrictive , and that reference be made to the appended claims for determining the scope of the invention .