Overview: Communicating between models
Related Topics ...
Using Linked Java Objects for Inter-Model Communication
Using Events for Inter-Model Communication
Using the Session for Inter-Model Communication
If your Factory application utilizes more than one model for its functionality, you may need to send data from one model to another. There are multiple ways to do communicate between models and are described below:
- Using a Linked Java Object -- We can pass data in the form of a Java object between models.
- Using Events -- We can fire an event in one model and handle it in another. Factory provide for sending data as well.
- Using the Session -- We can store information in the session object. Any models requested by the same session have access to this information.
See the Related Topics for more information on each of these techniques.