Question: How is a java object message delivered to a non-java Client?
Answer: 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 object. The provider in between handles the conversion of the data type and the message is transferred to the other end.
Question: What is MDB and What is the special feature of that?
Answer: 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. The ability to communicate asynchronously is the special feature about the Message driven bean.
Question: Give an example of using the publish/subscribe model.
Answer: JMS can be used to broadcast shutdown messages to clients connected to the Weblogic server on a module wise basis. If an application has six modules, each module behaves like a subscriber to a named topic on the server.
Question: What is the difference between the Mailing and Messaging?
Answer: Java Mailing is the set of APIs that primarily concerns with the sending of Mail messages through the standard mail protocols. Messaging is the way of communicating to the remote machines using Message Oriented Middlewares. Message Oriented Middlewares do not use mailing internally for communication. They create their own channels for communication.
Question: What are the types of messaging?
Answer: There are two kinds of Messaging.
Synchronous Messaging:
Synchronous messaging involves a client that waits for the server to respond to a message.
Asynchronous Messaging:
Asynchronous messaging involves a client that does not wait for a message from the server. An event is used to trigger a message from a server.
Wednesday, October 24, 2007
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment