You have been asked to advise a client on the suitable architecture to use in the construction of
their next generation hotel room reservation system. The primary requirements for the business
tier are as follows: ease of development, separation of the persistence tier from the business logic
tier, extensibility, performance, scalability, security, and transaction management. State is
maintained in the presentation tier. What is the most suitable high-level architecture for the
business tier that most closely meets the stated requirements?
A.
stateful session beans accessing the persistence tier directly
B.
stateless session beans accessing the persistence tier directly
C.
Plain Old Java Objects (POJOs) accessing the persistence tier directly
D.
stateful session beans accessing the persistence tier through a DAO layer
E.
stateless session beans accessing the persistence tier through a DAO layer
E is correct
Reason : t. State is maintained in the presentation tier not on business tier . hence no option of stateful bean.