Walkins Openings in India & Interview Questions

Walkins in Mumbai, Bangalore, Chennai, Delhi, Gurgaon, Pune


‘JMS Interview Questions’ - KyaPoocha.com

What are the various message types supported by JMS? 

Stream Messages - Group of Java Primitives Map Messages - Name Value Pairs. Name being a string& Value being a java primitive Text Messages - String messages... Read more »

How is a java object message delivered to a non-java Client? 

It is according to the specification that the message sent should be received in the same format. A non-java client cannot receive a message in the form of java... Read more »

What is MDB and What is the special feature of that? 

MDB is Message driven bean, which very much resembles the Stateless session bean. The incoming and out going messages can be handled by the Message driven bean.... Read more »

What are the types of messaging? 

There are two kinds of Messaging. Synchronous Messaging: Synchronous messaging involves a client that waits for the server to respond to a message. Asynchronous... Read more »

What are the core JMS-related objects required for each JMS-enabled application? 

Each JMS-enabled client must establish the following: • A connection object provided by the JMS server (the message broker) • Within a connection, one or more... Read more »

Why would you choose JMS over RMI? 

JMS is loosely coupled and RMI (remote method invocation) is tightly coupled (dependency between objects). In RMI, the senders have to wait for the immediate response... Read more »

What are the two different types of messaging models that are supported by JMS? 

1) Point-to-Point 2) Publish and Subscribe. Point-to-Point messaging consists of queues, senders and receivers. A message can be received by only one receiver. Receiver... Read more »

How does a message consumer filters messages? 

Consumers can filter messages using message selector. Developer has to specify a message selector (String) as an argument when we create a message consumer. createConnectionConsumer... Read more »

How does the JMS API relax the timing dependency between publishers and subscribers in publish-and-subscribe messaging model? 

Using “durable subscription”, the subscribers can receive messages sent even when the subscribers are not active. ConnectionConsumer createDurableConnectionConsumer(…) This... Read more »

What are the three components of a ‘Message’? 

Header, Properties and Body.  Read more »

What information is stored in the Header of a ‘Message’? 

Message identification and routing information.  Read more »

What are the 5 types of Messages? 

StreamMessage, MapMessage (key-value pair), BytesMessage, TextMessage and ObjectMessage (serialized objects).  Read more »

Describe the lifecycle of a sender application in order to send a message? 

Use the JNDI to get a ConnectionFactory and Destination Object (either Queue or Topic).Create a Connection object. Create a Session object. Create MessageProducer... Read more »

Describe the lifecycle of a receiver application in order to receive a message? 

Use the JNDI to get a ConnectionFactory and Destination Object (either Queue or Topic).Create a Connection object. Create a Session object. Create MessageConsumer... Read more »

Messages are not successful until they have been acknowledged. What are the types of acknowledgments? 

1)Acknowledgment by commit. – Acknowledgement happens automatically when a transaction is committed. 2)Session.AUTO_ACKNOWLEDGE 3)Session.CLIENT_ACKNOWLEDGE –... Read more »

What happens to messages if a transaction is rolled back? 

All consumed messages are re-delivered.  Read more »

What is the Role of the JMS Provider? 

The JMS provider handles security of the messages, data conversion and the client triggering. The JMS provider specifies the level of encryption and the security... Read more »

Are we allowed to change the transaction isolation property in middle of a transaction? 

No, You cannot change the transaction isolation level in the middle of transaction.  Read more »

What is the difference between ServletContext and PageContext? 

ServletContext: Gives the information about the container. PageContext: Gives the information about the Request  Read more »

What is JMS administered object ? 

A preconfigured JMS object (a resource manager connection factory or a destination) created by an administrator for the use of JMS clients and placed in a JNDI namespace.  Read more »

Page 2 of 3«123»
  • Subscribe

      Get Latest Walkins in your INBOX, enter your email address:


  • Walkins by Location


  • Walkins by Skills