Chapter 6. Communicating with External Systems
In this chapter, we are going to add the possibility to communicate with different systems in our application. Technically, we will resolve a systems integration problem. System integration problems include several cases: two applications that exchange data synchronously or asynchronously, an application that accesses information provided by another, an application that executes processes implemented in another, and so on. Given the number of solutions that exist today, it is necessary to know which one to choose depending on the problem, hence the importance of this chapter. At the end of this chapter, you will be able to choose an integration solution and have an overview of the changes made in the following APIs:
JavaMail
Java EE connector architecture
Java message service
JAX-RS: Java API for RESTful Web Services