How the CHA Formatter Service works

Through the use of the WSIF and EJB technologies, the toolkit uses the CHA Formatter Service to physically separate the application and the formatters. For a Branch Transformation Toolkit application, the CHA Formatter Service works in this way:

  1. When a toolkit entity needs a conversion between a context (or a data element) and a string presentation, it calls the formatter facade for the formatters.
  2. The facade then passes the format request to the CHA Formatter Service through a CHA Formatter Service proxy.
  3. The CHA Formatter Service then instantiates the appropriate formatter object.
  4. The CHA Formatter Service passes the context, the data element, or the string presentation to the formatter object instance.
  5. The formatter object instance does the conversion.
Related concepts
CHA Formatter Service proxies
Formatter objects
Formatter facade