Abstract
Most of the communications between components that you have seen so far are synchronous: one class calls another, a managed bean invokes an EJB, which calls an entity, and so on. In such cases, the invoker and the target have to be up and running for the communication to succeed, and the invoker must wait for the target to complete before proceeding. With the exception of asynchronous calls in EJB (thanks to the @Asynchronous annotation), most Java EE components use synchronous calls (local or remote). When we talk about messaging, we mean loosely coupled, asynchronous communication between components.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Author information
Authors and Affiliations
Rights and permissions
Copyright information
© 2013 Antonio Goncalves
About this chapter
Cite this chapter
Goncalves, A. (2013). Messaging. In: Beginning Java EE 7. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4302-4627-5_13
Download citation
DOI: https://doi.org/10.1007/978-1-4302-4627-5_13
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-4302-4626-8
Online ISBN: 978-1-4302-4627-5
eBook Packages: Professional and Applied ComputingApress Access BooksProfessional and Applied Computing (R0)