Changes between Version 2 and Version 3 of FrontController
- Timestamp:
- 2011-11-09T11:07:20+01:00 (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
FrontController
v2 v3 5 5 ||''Flow in time''||''Layer''||''Layer''||''Layer''||''Who''|| 6 6 || ||'''Context'''||'''Session'''||'''Request'''|| || 7 ||'''Once:'''||!DataSource(!ConnPool=100) or !EntityManagerFactory() 7 ||'''Once:'''||!DataSource(!ConnPool=100) or !EntityManagerFactory()|| || || FC init()|| 8 8 ||'''Begin'''|| || ||<- !HttpRequest|| User|| 9 9 ||..|| ||<- !CreateDatabase(Conn=1) or !CreateDatabase(!EntMan) || || FC|| 10 10 ||..|| ||''Subsequent requests: getDatabase, reuse existing connectionless db'' || || FC|| 11 ||..|| !GetConnection(1) or !GetEntityManager() 12 ||..|| !ConnPool-1|| || || FC||13 ||..|| Connection conn->|| || || FC||14 ||..|| || Database.useConnection(conn)|| || FC||11 ||..|| !GetConnection(1) or !GetEntityManager()|| || || FC|| 12 ||..|| Open 1 connection, !ConnPool-1|| || || FC|| 13 ||..|| new Database(connection) ->|| || || FC|| 14 ||..|| ||Database (with credentials and 1 conn)|| || FC|| 15 15 ||..|| || Response = Service.handleRequest() || || Application service|| 16 ||..|| !ConnPool+1 ||<- Close connection|| || FC||16 ||..|| Close connection, !ConnPool+1|| || || FC|| 17 17 ||..|| || Send response ->|| || FC|| 18 18 ||'''End'''|| || || Get response || User||