O'Reilly logo

Enterprise JavaBeans, Third Edition by Richard Monson-Haefel

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

EJB 2.0: Package: javax.jms

This package defines the classes and interfaces of the Java Message Service. The MessageListener interface of this package is important to EJB 2.0.

MessageListener

This interface must be implemented by message-driven beans. The onMessage() method is used to deliver JMS Message objects to the message-driven bean at runtime.

public interface MessageListener 
{
    public void onMessage(Message message);
}

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required