GeekInterview.com
Series: Subject: Topic:

JMS Interview Questions

Showing Questions 1 - 17 of 17 Questions
Sort by: 
 | 

Can jms utilities automatically re-establish a connection if one side of the communication link (i.E. An application that's sending/receiving messages) goes down and is restarted? Are there APIs to help...

Asked By: Alan | Asked On: Oct 17th, 2005

Answered by: Saurabh Saxena on: Oct 2nd, 2011

When the network connection between the client and server is lost then JMS provider must try to re-establish the connection. If the JMS provider cannot reconnect, the provider must notify the client....

Answered by: Mani Solairaj on: Jan 18th, 2006

Yes. You can write a snooper files to detect the service and restart the node upon node fail and a server instance fail.

How do you configure queues in jms

Asked By: Abuthahir | Asked On: Sep 20th, 2007

What is message object? When to use queue and topic?

Answered by: dhilip.dina on: Aug 18th, 2009

When we have to use Queue and Topic?

- If there are more than one listener server requesting for the same request in a runnable application, then we have to go for Topic


- If there is only one listener vendor for the Object, then we need to choose Queue.

Answered by: nitinpokhriyal on: Jul 17th, 2008

Need to configure for different appServers. Normally all the appserver has console but you need to configure for Jboss in a xml file. I think it is some JBoss-Jms.xml(not sure) but similar file like this.

What are the three components of a message ?

Asked By: secretcoder | Asked On: Apr 7th, 2006

Answered by: srinivasaraobora on: Apr 21st, 2009

A message consists of two parts: 1. Data that is sent from one program to another 2. The message descriptor or message header The message descriptor identifies the message (m...

Answered by: Jacks on: May 17th, 2006

A JMS message consists of three parts:Message header For message identification. For example, the header is used to determine if a given message is appropriate for a "subscriber" Properties For applic...

If durable subscriber is listening, what will happen if a publisher adds a message to factory ?

Asked By: Prashant Sable | Asked On: Feb 17th, 2006

Answered by: klathif on: Dec 17th, 2008

Nothing will happen to durable subscriber,hence publisher can add n number of messages,the fact is as soon as message is deployed in application server,the registered subscriber only  able to listen the message,or else he will be continuing with the previous message.

Answered by: supari on: Jul 12th, 2007

Can someone elobarate on this!

Decentralized mom and centralizsd mom

Asked By: supari | Asked On: Mar 18th, 2008

What is decentralized mom and centralizsd mom? Give explanation

Answered by: anotherhawkeye on: Jul 4th, 2008

Centralized MOM means centralized messaging. JMS uses centralized messaging, where every application/client talks to a centralized messaging broker, even for p2p communication. In Decentralized MOM, the clients communicate to each other directly. 

How is a Java object message delivered to a non-Java client ?

Asked By: Ananth | Asked On: Oct 14th, 2007

Answered by: prasannast on: Feb 22nd, 2008

The Java object message before delivering to the non-java client has to be converted after receiving the message from Queue/Topic using the specification of non-java Client.

What is the difference between point to point and publish/subscribe messaging domains

Asked By: Interview Candidate | Asked On: Mar 26th, 2005

Messaging is playing an increasingly important role in enterprise computing. Its advantages are a natural result of several factors: the trend toward peer-to-peer computing, greater platform heterogeneity, and greater modularity, coupled with the trend away from synchronous communication between processes....

Answered by: Ram on: Nov 7th, 2007

For example, if you are trying to retrieve Stock symbols, does it come under P2P or Pub/SUb model.

Answered by: Kartikey on: Apr 24th, 2007

Hi All,I have gone thu the replies from all of you and collectively the difference is correct.P2P and Pub-Sub are two different mechanism. There could be M senders and N receivers in both the cases.In...

Jms and jvt questions

Asked By: Abuthahir | Asked On: Sep 20th, 2007

What is jms and how jms was designed? What is jvt? What is the use of jvt? How to implement the jvt? (Java value type)

Answered by: Dibyendu Jenamani on: Oct 26th, 2007

HI,    JMS is an JAVA API for writting applications to communicate with Message Queue or Topics. For sending and receiving messages across application servers JMS applications are used....

What is the diffrence between Java mail and jms queue

Asked By: sundaravel | Asked On: Apr 19th, 2006

Answered by: harish.verma on: Feb 24th, 2007

JavaMail API provides a platform independent and protocol independent framework to build Java technology based email client applications. The JavaMail API provides facilities for reading and sending e...

Answered by: Cheng on: Oct 18th, 2006

Java Mail is between system and people, between people and people, between system and file, between people and file... Where as JMS (Java Message Services) is between Java software components...

What is the difference between queue and topic

Asked By: Interview Candidate | Asked On: Jul 27th, 2005

A connection is created between the client and the server from a connection factory. Connections can be shared by several threads. The user credentials are supplied at this level. It is probably common for a client application to share access to a single connection to the server (unless different security...

Answered by: pradeep on: Feb 12th, 2007

Could any one of you give some sample code for JMS and MDB

Answered by: vijayshekar on: Oct 17th, 2005

A point-to-point (PTP) product or application is built around the concept of message queues, senders, and receivers. Each message is addressed to a specific queue, and receiving clients extract messag...

What is the difference between message producer and message consumer

Asked By: Interview Candidate | Asked On: Jul 17th, 2005

Messaging systems provide a host of powerful advantages over other, more conventional distributed computing models. Primarily, they encourage "loose coupling" between message consumers and message producers. There is a high degree of anonymity between producer and consumer: to the message consumer, it...

Answered by: Srinivas Gorityala on: Aug 14th, 2006

There are two types of messagings models. 1.Peer to Peer model (p to p) 2.Publisher to Subscriber(pub-sub)  peer to peer model is 1-1 model.  In this model one client can...

Answered by: Jakeer Singh on: Jul 17th, 2005

Message System Types Two messaging systems models are in common use.  Publish/Subscribe A publish/subscribe (pub/sub) messaging system supports an event driven model where informat...

What kind of information found in the header of a message ?

Asked By: secretcoder | Asked On: Apr 7th, 2006

The header of a message contains message identification and routing information. This includes , but is not limited to :jmsdestinationjmsdeliverymodejmsmessageidjmstimestampjmsexpirationjmsreplytojmscorrelationidjmstypejmsredeliveredregardssecretcoder

Must I place all my class files in the web-inf folder and all JSP's outside?

Asked By: gskumar | Asked On: Sep 12th, 2005

Please answer this

Answered by: Navjot Singh Sohanpal on: Mar 16th, 2006

1. class files - Either they must be in WEB-INF\classes directory OR you can package them as JAR and put in WEB-INF\lib2. JSP files - Depends how do you design your arch. If you have controller/delega...

Answered by: chakri on: Oct 14th, 2005

yes

How to create a durable subsriber ?

Asked By: Prashant Sable | Asked On: Feb 17th, 2006

Answered by: aaDee on: Mar 7th, 2006

Thanks for the valuable information ....

Answered by: Supraja on: Mar 6th, 2006

Having performed the normal setup, an application can create a durable subscriber to a destination. To do this, the client program creates a durable TopicSubscriber, using session.createDurableSubscri...

What is the use of jms?In which situations we are using jms?Can we send message from one server to another server using jms?

Asked By: Naveen Varanasi | Asked On: Feb 27th, 2006

Answered by: Supraja on: Mar 6th, 2006

You can use it in the context of mutithreading but it means JMS is not meant for Multithreading. Its basically meant for object communication. It will be useful when you are writing some event based a...

What is producer, consumer

Asked By: Interview Candidate | Asked On: Jul 17th, 2005

Sample source code : the producer/consumer example another very good article with sample source code on how Java uses the producer/consumer model to handle images -- an insider's look . Read the article

Answered by: evijayshekar on: Oct 17th, 2005

A producer is the client application that plays the role of a message sender in JMS API.

A consumer is the client application that plays the role of a message receiver in JMS API.

Answered by: Jakeer Singh on: Jul 17th, 2005

Messaging lets a servlet delegate processing to a batch process either on the same machine or on a separate machine. The servlet creates a message and sends it to a queue. The servlet immediately comp...

What is jms

Asked By: Interview Candidate | Asked On: Jul 17th, 2005

The Java message service (jms) defines the standard for reliable enterprise messaging. Enterprise messaging, often also referred to as messaging oriented middleware (mom), is universally recognized as an essential tool for building enterprise applications. By combining Java technology with enterprise...

Answered by: vijayshekar on: Oct 17th, 2005

The Java Message Service is a Java API that allows applications to create, send, receive, and read messages. Designed by Sun and several partner companies, the JMS API defines a common set of interfac...

Answered by: abhishekgowl@yahoo.co.in on: Oct 7th, 2005

JMS stands for java messaging services,it is component used to communicate between the two Applications,In a Synchronous or Asynchronous mode.Simillar to the Java Mail,but the difference between the j...

Ads

Connect

twitter fb Linkedin GPlus RSS

Ads

Interview Question

 Ask Interview Question?

 

Latest Questions

Ads

Interview & Career Tips

Get invaluable Interview and Career Tips delivered directly to your inbox. Get your news alert set up today, Once you confirm your Email subscription, you will be able to download Job Inteview Questions Ebook . Please contact me if you there is any issue with the download.