O'Reilly logo

Java EE 7 Development with WildFly by Francesco Marchioni, Michal Matloka, Michal Cmil

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

The building blocks of JMS

The basic building blocks of any JMS application consist of the following:

  • Administered objects—connection factories and destinations
  • Connections
  • Sessions
  • Message producers
  • Message consumers
  • Messages

Let's take a closer look at them:

  • Connection factory: This object encapsulates a set of connection configuration parameters that have been defined by an administrator. A client uses it to create a connection with a JMS provider. A connection factory hides provider-specific details from JMS clients and abstracts administrative information into objects in the Java programming language.
  • Destination: This is the component a client uses to specify the target of messages it produces and the source of messages it consumes. In the point-to-point ...

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