The facade can access the CHA Formatter Service through the pure
EJB proxy. The pure EJB proxy invokes CHA Formatter Service by using EJB call.
It works in this way:
- A toolkit application having a request for format calls the facade.
- The facade passes the request to the pure EJB proxy.
- The pure EJB proxy forwards the request to the CHAFormatterServiceEJB
through EJB call.
- The CHAFormatterServiceEJB then passes the request to the CHA Formatter
service.
- The CHA Formatter Service invokes the formatter objects to do the formatting
job.
If it is an EJB client requesting for format, it sends the request directly
to the CHAFormatterServiceEJB, skipping both the facade and the pure EJB proxy.