Refresh Your Java - Before Java Interview
We are Agile, believe in less Documentation - Only Quick notes (Java Interview Questions) of Java/J2ee Read more....
A message-driven bean is an enterprise bean that allows J2EE
applications to process messages
asynchronously. It acts as a JMS message listener, which
is similar to an event listener except
that it receives
messages instead of events.
@MessageDriven(mappedName="jms/Queue")
public class MessageBean implements MessageListener
{
@Resource
private MessageDrivenContext mdc;
public void
onMessage(Message msg) {
TextMessage tmsg =
null;
try {
tmsg = (TextMessage) msg;
} catch (JMSException e) {
}
public void ejbRemove( )throws
EJBException{
}
}
This Portal is intended to put all Java/J2ee related topics at one single place for quick referance, not only Technical , but also the Project Management Related thing such as Development Process methodoogies build process, unit testing etc.,
This Portal has More than 500 Java Interview Questions (also could be Considered as Quick Notes) very neatly separated topic by topic with simple diagrams which makes you easily understandable. Importantly these are from our Realtime expericance.