From the course: Java EE 7: Enterprise JavaBeans (EJB)
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Introduction to message-driven beans
From the course: Java EE 7: Enterprise JavaBeans (EJB)
Introduction to message-driven beans
- [Instructor] So we briefly explored in our introduction what were message-driven beans, but before we continue working with them, lets add a bit more information on subject. Like I've said before, message beans are used for an internal messaging system in between elements of an EJB container. In the case of our application, we'll use it to drive messages when we do transactions with our vinyl records in our database. For instance, when we add a vinyl to the collection, we'll get a notification message of the success. A message bean is a stateless bean, and is mainly used for the message queue. Typically, message beans are used for JMS APIs, and what they call a Java Message Service. In JMS, you typically have a JMS provider, JMS clients, and messages. The JMS provider is the messaging system that implements the administration and control of the messages. When you use the Java EE platform, a provider is included with your installation. The JMS clients are the components that produce…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.