JMS API Programming Model
The following section summarizes the most important components of the JMS API.
The building blocks of a JMS application consist of the following:

Administered objects (connection factories and destinations)

Connections

Sessions

Message producers

Message consumers

Messages