<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-8861754752543800907</id><updated>2011-11-27T15:45:23.707-08:00</updated><category term='JMS'/><title type='text'>JMS Interview Questions - An interviewhelper.org blog</title><subtitle type='html'>This blog contains common JMS interview questions asked by different organizations.&lt;br&gt;&lt;br&gt;
For more such interview questions, please visit our website &lt;a href="http://interviewhelper.org"&gt;Interview Helper&lt;/a&gt;........&lt;a href="http://interviewhelper.org"&gt;&lt;img src="http://interviewhelper.org/images/interviewhelper.jpg" width="200" height="73" border="0"&gt;&lt;/a&gt;</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://jms-interview-questions.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8861754752543800907/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://jms-interview-questions.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Interview Helper</name><uri>http://www.blogger.com/profile/00019571984377897004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='12' src='http://1.bp.blogspot.com/_AdNUW2U2OOs/SYHHT9_iGqI/AAAAAAAAAAM/PzlYVvYWMac/s1600-R/interviewhelper.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>18</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-8861754752543800907.post-8448517854848530152</id><published>2009-03-08T23:27:00.002-07:00</published><updated>2009-03-08T23:28:11.959-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='JMS'/><title type='text'>What is the difference between BytesMessage and StreamMessage</title><content type='html'>&lt;strong&gt;Question :What is the difference between BytesMessage and StreamMessage?&lt;/strong&gt;&lt;br /&gt;Answer :BytesMessage stores the primitive data types by converting them to their byte representation. Thus the message is one contiguous stream of bytes. While the StreamMessage maintains a boundary between the different data types stored because it also stores the type information along with the value of the primitive being stored. BytesMessage allows data to be read using any type. Thus even if your payload contains a long value, you can invoke a method to read a short and it will return you something. It will not give you a semantically correct data but the call will succeed in reading the first two bytes of data. This is strictly prohibited in the StreamMessage. It maintains the type information of the data being stored and enforces strict conversion rules on the data being read.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8861754752543800907-8448517854848530152?l=jms-interview-questions.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jms-interview-questions.blogspot.com/feeds/8448517854848530152/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://jms-interview-questions.blogspot.com/2009/03/what-is-difference-between-bytesmessage.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8861754752543800907/posts/default/8448517854848530152'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8861754752543800907/posts/default/8448517854848530152'/><link rel='alternate' type='text/html' href='http://jms-interview-questions.blogspot.com/2009/03/what-is-difference-between-bytesmessage.html' title='What is the difference between BytesMessage and StreamMessage'/><author><name>Interview Helper</name><uri>http://www.blogger.com/profile/00019571984377897004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='12' src='http://1.bp.blogspot.com/_AdNUW2U2OOs/SYHHT9_iGqI/AAAAAAAAAAM/PzlYVvYWMac/s1600-R/interviewhelper.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8861754752543800907.post-268884400878245597</id><published>2009-03-08T23:27:00.001-07:00</published><updated>2009-03-08T23:27:33.719-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='JMS'/><title type='text'>What is the use of MapMessage</title><content type='html'>&lt;strong&gt;Question :What is the use of MapMessage?&lt;/strong&gt;&lt;br /&gt;Answer :A MapMessage carries name-value pair as it’s payload. Thus it’s payload is similar to the java.util.Properties object of Java. The values can be Java primitives or their wrappers.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8861754752543800907-268884400878245597?l=jms-interview-questions.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jms-interview-questions.blogspot.com/feeds/268884400878245597/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://jms-interview-questions.blogspot.com/2009/03/what-is-use-of-mapmessage.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8861754752543800907/posts/default/268884400878245597'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8861754752543800907/posts/default/268884400878245597'/><link rel='alternate' type='text/html' href='http://jms-interview-questions.blogspot.com/2009/03/what-is-use-of-mapmessage.html' title='What is the use of MapMessage'/><author><name>Interview Helper</name><uri>http://www.blogger.com/profile/00019571984377897004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='12' src='http://1.bp.blogspot.com/_AdNUW2U2OOs/SYHHT9_iGqI/AAAAAAAAAAM/PzlYVvYWMac/s1600-R/interviewhelper.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8861754752543800907.post-8560724516493395790</id><published>2009-03-08T23:26:00.001-07:00</published><updated>2009-03-08T23:26:39.440-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='JMS'/><title type='text'>What is the use of TextMessage</title><content type='html'>&lt;strong&gt;Question :What is the use of TextMessage?&lt;/strong&gt;&lt;br /&gt;Answer :TextMessage contains instance of &lt;a href="http://interviewhelper.org/Art/745/111/JMS-Interview-Questions-1.html" target="_top"&gt;java&lt;/a&gt;.lang.String as it’s payload. Thus it is very useful for exchanging textual data. It can also be used for exchanging complex character data such as an &lt;a href="http://interviewhelper.org/Art/745/111/JMS-Interview-Questions-1.html" target="_top"&gt;XML document&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8861754752543800907-8560724516493395790?l=jms-interview-questions.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jms-interview-questions.blogspot.com/feeds/8560724516493395790/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://jms-interview-questions.blogspot.com/2009/03/what-is-use-of-textmessage.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8861754752543800907/posts/default/8560724516493395790'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8861754752543800907/posts/default/8560724516493395790'/><link rel='alternate' type='text/html' href='http://jms-interview-questions.blogspot.com/2009/03/what-is-use-of-textmessage.html' title='What is the use of TextMessage'/><author><name>Interview Helper</name><uri>http://www.blogger.com/profile/00019571984377897004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='12' src='http://1.bp.blogspot.com/_AdNUW2U2OOs/SYHHT9_iGqI/AAAAAAAAAAM/PzlYVvYWMac/s1600-R/interviewhelper.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8861754752543800907.post-1243560136045148173</id><published>2009-03-08T23:06:00.000-07:00</published><updated>2009-03-08T23:07:04.642-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='JMS'/><title type='text'>What is the use of BytesMessage</title><content type='html'>&lt;strong&gt;Question :What is the use of BytesMessage?&lt;/strong&gt;&lt;br /&gt;Answer :BytesMessage contains an array of primitive bytes in it’s payload. Thus it can be used for transfer of data between two &lt;a href="http://interviewhelper.org/Art/745/111/JMS-Interview-Questions-1.html" target="_top"&gt;applications&lt;/a&gt; in their native format which may not be compatible with other Message types. It is also useful where JMS is used purely as a transport between two &lt;a href="http://interviewhelper.org/Art/745/111/JMS-Interview-Questions-1.html" target="_top"&gt;systems&lt;/a&gt; and the message payload is opaque to the JMS client. Whenever you store any primitive type, it is converted into it’s byte representation and then stored in the payload. There is no boundary line between the different data types stored. Thus you can even read a long as short. This would result in erroneous data and hence it is advisable that the payload be read in the same order and using the same type in which it was created by the sender.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8861754752543800907-1243560136045148173?l=jms-interview-questions.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jms-interview-questions.blogspot.com/feeds/1243560136045148173/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://jms-interview-questions.blogspot.com/2009/03/what-is-use-of-bytesmessage.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8861754752543800907/posts/default/1243560136045148173'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8861754752543800907/posts/default/1243560136045148173'/><link rel='alternate' type='text/html' href='http://jms-interview-questions.blogspot.com/2009/03/what-is-use-of-bytesmessage.html' title='What is the use of BytesMessage'/><author><name>Interview Helper</name><uri>http://www.blogger.com/profile/00019571984377897004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='12' src='http://1.bp.blogspot.com/_AdNUW2U2OOs/SYHHT9_iGqI/AAAAAAAAAAM/PzlYVvYWMac/s1600-R/interviewhelper.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8861754752543800907.post-5094114109604447699</id><published>2009-03-08T23:05:00.000-07:00</published><updated>2009-03-08T23:06:21.110-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='JMS'/><title type='text'>What is the use of Message object</title><content type='html'>&lt;strong&gt;Question :What is the use of Message object?&lt;/strong&gt;&lt;br /&gt;Answer :Message is a light weight message having only header and properties and no payload. Thus if the received are to be notified abt an event, and no data needs to be exchanged then using Message can be very efficient&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8861754752543800907-5094114109604447699?l=jms-interview-questions.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jms-interview-questions.blogspot.com/feeds/5094114109604447699/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://jms-interview-questions.blogspot.com/2009/03/what-is-use-of-message-object_08.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8861754752543800907/posts/default/5094114109604447699'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8861754752543800907/posts/default/5094114109604447699'/><link rel='alternate' type='text/html' href='http://jms-interview-questions.blogspot.com/2009/03/what-is-use-of-message-object_08.html' title='What is the use of Message object'/><author><name>Interview Helper</name><uri>http://www.blogger.com/profile/00019571984377897004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='12' src='http://1.bp.blogspot.com/_AdNUW2U2OOs/SYHHT9_iGqI/AAAAAAAAAAM/PzlYVvYWMac/s1600-R/interviewhelper.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8861754752543800907.post-7753857865562526407</id><published>2009-03-08T23:04:00.000-07:00</published><updated>2009-03-08T23:05:01.240-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='JMS'/><title type='text'>What is the basic difference between Publish Subscribe model and P2P model</title><content type='html'>&lt;strong&gt;Question :What is the basic difference between Publish Subscribe model and P2P model?&lt;/strong&gt;&lt;br /&gt;Answer :Publish Subscribe model is typically used in one-to-many situation. It is unreliable but very fast. P2P model is used in one-to-one situation. It is highly reliable&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8861754752543800907-7753857865562526407?l=jms-interview-questions.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jms-interview-questions.blogspot.com/feeds/7753857865562526407/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://jms-interview-questions.blogspot.com/2009/03/what-is-basic-difference-between_08.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8861754752543800907/posts/default/7753857865562526407'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8861754752543800907/posts/default/7753857865562526407'/><link rel='alternate' type='text/html' href='http://jms-interview-questions.blogspot.com/2009/03/what-is-basic-difference-between_08.html' title='What is the basic difference between Publish Subscribe model and P2P model'/><author><name>Interview Helper</name><uri>http://www.blogger.com/profile/00019571984377897004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='12' src='http://1.bp.blogspot.com/_AdNUW2U2OOs/SYHHT9_iGqI/AAAAAAAAAAM/PzlYVvYWMac/s1600-R/interviewhelper.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8861754752543800907.post-3730908557502774494</id><published>2009-03-08T23:03:00.000-07:00</published><updated>2009-03-08T23:04:00.994-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='JMS'/><title type='text'>What is the role of JMS in enterprise solution development</title><content type='html'>&lt;strong&gt;Question :What is the role of JMS in enterprise solution development?&lt;/strong&gt;&lt;br /&gt;Answer :JMS is typically used in the following scenarios1. Enterprise Application Integration: - Where a legacy application is integrated with a new application via messaging.2. B2B or Business to Business: - Businesses can interact with each other via messaging because JMS allows organizations to cooperate without tightly coupling their business systems.3. Geographically dispersed units: - JMS can ensure safe exchange of data amongst the geographically dispersed units of an organization.4. One to many applications: - The applications that have to push data in packet to huge number of clients in a one-to-many fashion are good candidates for the use JMS. Typical such applications are Auction Sites, Stock Quote Services etc.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8861754752543800907-3730908557502774494?l=jms-interview-questions.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jms-interview-questions.blogspot.com/feeds/3730908557502774494/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://jms-interview-questions.blogspot.com/2009/03/what-is-role-of-jms-in-enterprise.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8861754752543800907/posts/default/3730908557502774494'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8861754752543800907/posts/default/3730908557502774494'/><link rel='alternate' type='text/html' href='http://jms-interview-questions.blogspot.com/2009/03/what-is-role-of-jms-in-enterprise.html' title='What is the role of JMS in enterprise solution development'/><author><name>Interview Helper</name><uri>http://www.blogger.com/profile/00019571984377897004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='12' src='http://1.bp.blogspot.com/_AdNUW2U2OOs/SYHHT9_iGqI/AAAAAAAAAAM/PzlYVvYWMac/s1600-R/interviewhelper.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8861754752543800907.post-4280162734225494953</id><published>2009-03-08T23:02:00.000-07:00</published><updated>2009-03-08T23:03:18.080-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='JMS'/><title type='text'>What is the difference between topic and queue</title><content type='html'>&lt;strong&gt;Question :What is the difference between topic and queue?&lt;/strong&gt;&lt;br /&gt;Answer :A topic is typically used for one to many messaging i.e. it supports publish subscribe model of messaging. While queue is used for one-to-one messaging i.e. it supports Point to Point Messaging.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8861754752543800907-4280162734225494953?l=jms-interview-questions.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jms-interview-questions.blogspot.com/feeds/4280162734225494953/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://jms-interview-questions.blogspot.com/2009/03/what-is-difference-between-topic-and.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8861754752543800907/posts/default/4280162734225494953'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8861754752543800907/posts/default/4280162734225494953'/><link rel='alternate' type='text/html' href='http://jms-interview-questions.blogspot.com/2009/03/what-is-difference-between-topic-and.html' title='What is the difference between topic and queue'/><author><name>Interview Helper</name><uri>http://www.blogger.com/profile/00019571984377897004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='12' src='http://1.bp.blogspot.com/_AdNUW2U2OOs/SYHHT9_iGqI/AAAAAAAAAAM/PzlYVvYWMac/s1600-R/interviewhelper.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8861754752543800907.post-7938604672391957645</id><published>2009-03-08T23:01:00.000-07:00</published><updated>2009-03-08T23:02:29.117-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='JMS'/><title type='text'>What is the use of Message object</title><content type='html'>&lt;strong&gt;Question :What is the use of Message object?&lt;br /&gt;&lt;/strong&gt;Answer :: Message is a light weight message having only header and properties and no payload. Thus if the received are to be notified abt an event, and no data needs to be exchanged then using Message can be very efficient&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8861754752543800907-7938604672391957645?l=jms-interview-questions.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jms-interview-questions.blogspot.com/feeds/7938604672391957645/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://jms-interview-questions.blogspot.com/2009/03/what-is-use-of-message-object.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8861754752543800907/posts/default/7938604672391957645'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8861754752543800907/posts/default/7938604672391957645'/><link rel='alternate' type='text/html' href='http://jms-interview-questions.blogspot.com/2009/03/what-is-use-of-message-object.html' title='What is the use of Message object'/><author><name>Interview Helper</name><uri>http://www.blogger.com/profile/00019571984377897004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='12' src='http://1.bp.blogspot.com/_AdNUW2U2OOs/SYHHT9_iGqI/AAAAAAAAAAM/PzlYVvYWMac/s1600-R/interviewhelper.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8861754752543800907.post-5737519780882910360</id><published>2009-03-08T23:00:00.000-07:00</published><updated>2009-03-08T23:01:02.296-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='JMS'/><title type='text'>What is the basic difference between Publish Subscribe model and P2P model</title><content type='html'>&lt;strong&gt;Question :What is the basic difference between Publish Subscribe model and P2P model?&lt;/strong&gt;&lt;br /&gt;Answer :Publish Subscribe model is typically used in one-to-many situation. It is unreliable but very fast. P2P model is used in one-to-one situation. It is highly reliable.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8861754752543800907-5737519780882910360?l=jms-interview-questions.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jms-interview-questions.blogspot.com/feeds/5737519780882910360/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://jms-interview-questions.blogspot.com/2009/03/what-is-basic-difference-between.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8861754752543800907/posts/default/5737519780882910360'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8861754752543800907/posts/default/5737519780882910360'/><link rel='alternate' type='text/html' href='http://jms-interview-questions.blogspot.com/2009/03/what-is-basic-difference-between.html' title='What is the basic difference between Publish Subscribe model and P2P model'/><author><name>Interview Helper</name><uri>http://www.blogger.com/profile/00019571984377897004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='12' src='http://1.bp.blogspot.com/_AdNUW2U2OOs/SYHHT9_iGqI/AAAAAAAAAAM/PzlYVvYWMac/s1600-R/interviewhelper.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8861754752543800907.post-1841563840944528850</id><published>2009-03-08T22:56:00.000-07:00</published><updated>2009-03-08T23:00:06.088-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='JMS'/><title type='text'>What are the different messaging paradigms JMS supports</title><content type='html'>&lt;strong&gt;Question :What are the different messaging paradigms JMS supports?&lt;/strong&gt;&lt;br /&gt;Answer :Publish and Subscribe i.e. pub/suc and Point to Point i.e. p2p&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8861754752543800907-1841563840944528850?l=jms-interview-questions.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jms-interview-questions.blogspot.com/feeds/1841563840944528850/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://jms-interview-questions.blogspot.com/2009/03/what-are-different-messaging-paradigms.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8861754752543800907/posts/default/1841563840944528850'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8861754752543800907/posts/default/1841563840944528850'/><link rel='alternate' type='text/html' href='http://jms-interview-questions.blogspot.com/2009/03/what-are-different-messaging-paradigms.html' title='What are the different messaging paradigms JMS supports'/><author><name>Interview Helper</name><uri>http://www.blogger.com/profile/00019571984377897004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='12' src='http://1.bp.blogspot.com/_AdNUW2U2OOs/SYHHT9_iGqI/AAAAAAAAAAM/PzlYVvYWMac/s1600-R/interviewhelper.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8861754752543800907.post-533830706402792732</id><published>2009-03-08T22:55:00.000-07:00</published><updated>2009-03-08T22:56:41.955-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='JMS'/><title type='text'>What are the different types of messages available in the JMS API</title><content type='html'>&lt;strong&gt;Question :What are the different types of messages available in the JMS API?&lt;/strong&gt;&lt;br /&gt;Answer :Message, TextMessage, BytesMessage, StreamMessage, ObjectMessage, MapMessage are the different messages available in the JMS API.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8861754752543800907-533830706402792732?l=jms-interview-questions.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jms-interview-questions.blogspot.com/feeds/533830706402792732/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://jms-interview-questions.blogspot.com/2009/03/what-are-different-types-of-messages.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8861754752543800907/posts/default/533830706402792732'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8861754752543800907/posts/default/533830706402792732'/><link rel='alternate' type='text/html' href='http://jms-interview-questions.blogspot.com/2009/03/what-are-different-types-of-messages.html' title='What are the different types of messages available in the JMS API'/><author><name>Interview Helper</name><uri>http://www.blogger.com/profile/00019571984377897004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='12' src='http://1.bp.blogspot.com/_AdNUW2U2OOs/SYHHT9_iGqI/AAAAAAAAAAM/PzlYVvYWMac/s1600-R/interviewhelper.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8861754752543800907.post-1978518127097924339</id><published>2009-03-08T22:51:00.000-07:00</published><updated>2009-03-08T22:55:53.276-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='JMS'/><title type='text'>Are you aware of any major JMS products available in the market</title><content type='html'>&lt;strong&gt;Question :Are you aware of any major JMS products available in the market?&lt;br /&gt;&lt;/strong&gt;Answer :: IBM’s MQ Series is one of the most popular product used as Message Oriented Middleware. Some of the other products are SonicMQ, iBus etc. Weblogic application server also comes with built in support for JMS messaging.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8861754752543800907-1978518127097924339?l=jms-interview-questions.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jms-interview-questions.blogspot.com/feeds/1978518127097924339/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://jms-interview-questions.blogspot.com/2009/03/are-you-aware-of-any-major-jms-products.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8861754752543800907/posts/default/1978518127097924339'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8861754752543800907/posts/default/1978518127097924339'/><link rel='alternate' type='text/html' href='http://jms-interview-questions.blogspot.com/2009/03/are-you-aware-of-any-major-jms-products.html' title='Are you aware of any major JMS products available in the market'/><author><name>Interview Helper</name><uri>http://www.blogger.com/profile/00019571984377897004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='12' src='http://1.bp.blogspot.com/_AdNUW2U2OOs/SYHHT9_iGqI/AAAAAAAAAAM/PzlYVvYWMac/s1600-R/interviewhelper.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8861754752543800907.post-8820685208522178417</id><published>2009-03-08T22:50:00.002-07:00</published><updated>2009-03-08T22:51:48.784-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='JMS'/><title type='text'>What is the use of ObjectMessage</title><content type='html'>&lt;strong&gt;Question :What is the use of ObjectMessage?&lt;/strong&gt;&lt;br /&gt;Answer :ObjectMessage contains a Serializable java object as it’s payload. Thus it allows exchange of Java objects between applications. This in itself mandates that both the applications be &lt;a href="http://interviewhelper.org/Art/744/111/JMS-Interview-Questions.html" target="_top"&gt;Java applications&lt;/a&gt;. The consumer of the message must typecast the object received to it’s appropriate type. Thus the consumer should before hand know the actual type of the object sent by the sender. Wrong type casting would result in ClassCastException. Moreover the class definition of the object set in the payload should be available on both the machine, the sender as well as the consumer. If the class definition is not available in the consumer machine, an attempt to type cast would result in ClassNotFoundException. Some of the MOMs might support dynamic loading of the desired class over the network, but the JMS specification does not mandate this behavior and would be a value added service if provided by your vendor. And relying on any such vendor specific functionality would hamper the portability of your application. Most of the time the class need to be put in the classpath of both, the sender and the consumer, manually by the &lt;a href="http://interviewhelper.org/Art/744/111/JMS-Interview-Questions.html" target="_top"&gt;developer&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8861754752543800907-8820685208522178417?l=jms-interview-questions.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jms-interview-questions.blogspot.com/feeds/8820685208522178417/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://jms-interview-questions.blogspot.com/2009/03/what-is-use-of-objectmessage.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8861754752543800907/posts/default/8820685208522178417'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8861754752543800907/posts/default/8820685208522178417'/><link rel='alternate' type='text/html' href='http://jms-interview-questions.blogspot.com/2009/03/what-is-use-of-objectmessage.html' title='What is the use of ObjectMessage'/><author><name>Interview Helper</name><uri>http://www.blogger.com/profile/00019571984377897004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='12' src='http://1.bp.blogspot.com/_AdNUW2U2OOs/SYHHT9_iGqI/AAAAAAAAAAM/PzlYVvYWMac/s1600-R/interviewhelper.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8861754752543800907.post-6639551476416529820</id><published>2009-03-08T22:50:00.001-07:00</published><updated>2009-03-08T22:50:55.442-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='JMS'/><title type='text'>What is the use of StreamMessage</title><content type='html'>&lt;strong&gt;Question :What is the use of StreamMessage?&lt;/strong&gt;&lt;br /&gt;Answer :StreamMessage carries a stream of Java primitive types as it’s payload. It contains some conveient methods for reading the data stored in the payload. However StreamMessage prevents reading a long value as short, something that is allwed in case of BytesMessage. This is so because the StreamMessage also writes the type information alonwgith the value of the primitive type and enforces a set of strict conversion rules which actually prevents reading of one primitive type as another.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8861754752543800907-6639551476416529820?l=jms-interview-questions.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jms-interview-questions.blogspot.com/feeds/6639551476416529820/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://jms-interview-questions.blogspot.com/2009/03/what-is-use-of-streammessage.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8861754752543800907/posts/default/6639551476416529820'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8861754752543800907/posts/default/6639551476416529820'/><link rel='alternate' type='text/html' href='http://jms-interview-questions.blogspot.com/2009/03/what-is-use-of-streammessage.html' title='What is the use of StreamMessage'/><author><name>Interview Helper</name><uri>http://www.blogger.com/profile/00019571984377897004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='12' src='http://1.bp.blogspot.com/_AdNUW2U2OOs/SYHHT9_iGqI/AAAAAAAAAAM/PzlYVvYWMac/s1600-R/interviewhelper.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8861754752543800907.post-707657344788889646</id><published>2009-03-08T22:49:00.000-07:00</published><updated>2009-03-08T22:50:00.286-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='JMS'/><title type='text'>What are the advantages of JMS</title><content type='html'>&lt;strong&gt;Question :What are the advantages of JMS?&lt;/strong&gt;&lt;br /&gt;Answer :JMS is asynchronous in nature. Thus not all the pieces need to be up all the time for the &lt;a href="http://interviewhelper.org/Art/744/111/JMS-Interview-Questions.html" target="_top"&gt;application&lt;/a&gt; to function as a whole. Even if the receiver is down the MOM will store the messages on it’s behalf and will send them once it comes back up. Thus at least a part of application can still function as there is no blocking.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8861754752543800907-707657344788889646?l=jms-interview-questions.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jms-interview-questions.blogspot.com/feeds/707657344788889646/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://jms-interview-questions.blogspot.com/2009/03/what-are-advantages-of-jms.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8861754752543800907/posts/default/707657344788889646'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8861754752543800907/posts/default/707657344788889646'/><link rel='alternate' type='text/html' href='http://jms-interview-questions.blogspot.com/2009/03/what-are-advantages-of-jms.html' title='What are the advantages of JMS'/><author><name>Interview Helper</name><uri>http://www.blogger.com/profile/00019571984377897004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='12' src='http://1.bp.blogspot.com/_AdNUW2U2OOs/SYHHT9_iGqI/AAAAAAAAAAM/PzlYVvYWMac/s1600-R/interviewhelper.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8861754752543800907.post-5956292478577956692</id><published>2009-03-08T22:48:00.000-07:00</published><updated>2009-03-08T22:49:11.653-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='JMS'/><title type='text'>How JMS is different from RPC</title><content type='html'>&lt;strong&gt;Question :How JMS is different from RPC?&lt;/strong&gt;&lt;br /&gt;Answer :In RPC the method invoker waits for the method to finish execution and return the control back to the invoker. Thus it is completely synchronous in nature. While in JMS the message sender just sends the message to the destination and continues it’s own processing. The sender does not wait for the receiver to respond. This is asynchronous behavior&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8861754752543800907-5956292478577956692?l=jms-interview-questions.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jms-interview-questions.blogspot.com/feeds/5956292478577956692/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://jms-interview-questions.blogspot.com/2009/03/how-jms-is-different-from-rpc.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8861754752543800907/posts/default/5956292478577956692'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8861754752543800907/posts/default/5956292478577956692'/><link rel='alternate' type='text/html' href='http://jms-interview-questions.blogspot.com/2009/03/how-jms-is-different-from-rpc.html' title='How JMS is different from RPC'/><author><name>Interview Helper</name><uri>http://www.blogger.com/profile/00019571984377897004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='12' src='http://1.bp.blogspot.com/_AdNUW2U2OOs/SYHHT9_iGqI/AAAAAAAAAAM/PzlYVvYWMac/s1600-R/interviewhelper.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8861754752543800907.post-4414871524088383147</id><published>2009-03-08T22:45:00.000-07:00</published><updated>2009-03-08T22:48:24.379-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='JMS'/><title type='text'>What is JMS</title><content type='html'>&lt;strong&gt;Question :What is JMS?&lt;/strong&gt;&lt;br /&gt;Answer :JMS is an acronym used for &lt;a href="http://interviewhelper.org/Art/744/111/JMS-Interview-Questions.html" target="_top"&gt;Java&lt;/a&gt; Messaging Service. It is Java’s answer to creating software using asynchronous messaging. It is one of the official specifications of the J2EE &lt;a href="http://interviewhelper.org/Art/744/111/JMS-Interview-Questions.html" target="_top"&gt;technologies&lt;/a&gt; and is a key technology.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8861754752543800907-4414871524088383147?l=jms-interview-questions.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jms-interview-questions.blogspot.com/feeds/4414871524088383147/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://jms-interview-questions.blogspot.com/2009/03/what-is-jms.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8861754752543800907/posts/default/4414871524088383147'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8861754752543800907/posts/default/4414871524088383147'/><link rel='alternate' type='text/html' href='http://jms-interview-questions.blogspot.com/2009/03/what-is-jms.html' title='What is JMS'/><author><name>Interview Helper</name><uri>http://www.blogger.com/profile/00019571984377897004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='12' src='http://1.bp.blogspot.com/_AdNUW2U2OOs/SYHHT9_iGqI/AAAAAAAAAAM/PzlYVvYWMac/s1600-R/interviewhelper.jpg'/></author><thr:total>0</thr:total></entry></feed>
