Context:
- having a
J2EE app, including ejb-layer,
- one web-client,
- one rich intranet client, a for limited nummber of users;
- and one service-level-req.:
under heavy load:
the rich client must outperform the web-client
Proposed architecture:
I thought I can keep the ejb layer... aaa.. lighter, by moving state-logic & computing towards the client.
The further this logic from the ejb layer, the better application performace get, especially under heavy usage.
Under heavy load, the web-server will eventually work slower, having to serve lots of clients and process session state themselves.
The intranet clients would only access business objects in the ejb layer, and process session state themselves - therefor beeing quicker.
Agree?
And how can I justify this better?
(blueprints team strongly recomends keeping state on EJB-layer as SFSB - this is a "best practice")
Rudi