KyaPoocha.com

Huge Collection of Interview Questions


Archive for September, 2006

What is the use of BytesMessage? 

BytesMessage contains an array of primitive bytes in it’s payload. Thus it can be used for transfer of data between two applications in their native format... Read more »

What is the basic difference between Publish Subscribe model and P2P model? 

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.  Read more »

What is the use of Message object? 

Message is a light weight message having only header and properties and no payload. Thus if theIf the receivers are to be notified abt an event, and no data needs... Read more »

What is the role of JMS in enterprise solution development? 

JMS is typically used in the following scenarios 1. Enterprise Application Integration: - Where a legacy application is integrated with a new application via messaging. 2.... Read more »

What is the difference between topic and queue? 

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... Read more »

What are the different messaging paradigms JMS supports? 

Publish and Subscribe i.e. pub/suc and Point to Point i.e. p2p.  Read more »

What are the different types of messages available in the JMS API? 

Message, TextMessage, BytesMessage, StreamMessage, ObjectMessage, MapMessage are the different messages available in the JMS API.  Read more »

Are you aware of any major JMS products available in the market? 

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.All the J2EE compliant... Read more »

What are the advantages of JMS? 

JMS is asynchronous in nature. Thus not all the pieces need to be up all the time for the application to function as a whole. Even if the receiver is down the MOM... Read more »

How JMS is different from RPC? 

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... Read more »

What is JMS? 

JMS is an acronym used for Java Messaging Service. It is Java’s answer to creating software using asynchronous messaging. It is one of the official specifications... Read more »

Page 8 of 8« First...«45678