January 2015
Beginner to intermediate
364 pages
7h 41m
English
The most common way of implementing JMS message consumers is by developing message-driven beans. Message-driven beans are a special type of Enterprise JavaBean (EJB) whose purpose is to listen to JMS messages on a message queue or topic. Message-driven beans provide EJB features such as transactions and scalability.
In real systems, JMS message producers and JMS message consumers will be developed in separate NetBeans projects, as these are usually completely different systems. For simplicity, we will develop both the JMS producer and consumer in the same NetBeans project.
We can develop message-driven beans in NetBeans by going to File | New File, selecting the Enterprise JavaBeans category, ...
Read now
Unlock full access