|
Guidelines, Patterns, and code for end-to-end Java applications.Questions and Answers - Session state in the EIS tier1. How can state be maintained in the EIS tier, and what are the tradeoffs involved?
The state is maintained in the EIS-tier by bypassing the EJB tier and storing it directly in the EIS such as a database. The key drawback of this approach is that the middle-tier ends up using the proprietary features of the EIS, and hence it is very difficult to replace the EIS in future. Moreover, since typically these systems are not used in an object-oriented fashion, it is very hard to achieve a good object-oriented design in the middle tier while using this approach. | |||||
|
| ||||||||||||