What are the types of data passing mechanisams under JMS
specification?
Answer / jyoti prasad
There are two types of data passing mechanisams under JMS
1.Point-to-Point Messaging:
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 messages from the queue(s)
established to hold their messages.
2.Publish/Subscribe Messaging:
In a publish/subscribe (pub/sub) product or application,
clients address messages to a topic. Publishers and
subscribers are generally anonymous and may dynamically
publish or subscribe to the content hierarchy. The system
takes care of distributing the messages arriving from a
topic's multiple publishers to its multiple subscribers.
Reference:http://docs.cs.uct.ac.za/jms_tutorial/doc/basics.h
tml#1023671
| Is This Answer Correct ? | 1 Yes | 0 No |
How many ways can a thread be used?
why we use main in java?
Describe, in general, how java's garbage collector works?
1) which method of the RequestDispatcher cannot be called once the output is sent to the client? a. forward b. include c. both a&b 2) which interface should an object implement to get notified of changes to the list of active sessions in a web application? a. HttpSessionListener b. HttpSessionActivationListener c. HttpSessionAttributeLIstener 3) A user can select multiple locations from a list box on an HTML form, which of the following methods can be used to retrieve all the selected location? a. getParameter() b. getParameterValues() c. getParamValues() 4) which of the following methods should be used to send character text to the client? a. ServletResponse.getWriter() b. ServletResponse.getOutputStream() c. ServletResponse.getOut() 5) which implicit object is always available in a JSP page? a. exception b. session c. out 6) which inclusion mechanism doesn't include the source of the page, rather the output of the page. a. include directive b. jsp:include action c. Bothe a& b 7) which attribute of the page controls whether a page participates in session or not? a. session-allowed b. session c. isSession
Is the session factory thread safe?
What do you mean by Socket Programming?
what is diff between Access modifier and specifier?
what is handle?
Explain how will the struts know which action class to call when you submit a form?
how we can implement interface in jsp ?
Is it possible to stop the execution of a method before completion in a sessionbean?
Can I use multiple html form elements with the same name?