Changes between Version 2 and Version 3 of FrontController


Ignore:
Timestamp:
2011-11-09T11:07:20+01:00 (13 years ago)
Author:
jvelde
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • FrontController

    v2 v3  
    55||''Flow in time''||''Layer''||''Layer''||''Layer''||''Who''||
    66|| ||'''Context'''||'''Session'''||'''Request'''|| ||
    7 ||'''Once:'''||!DataSource(!ConnPool=100) or !EntityManagerFactory() || || || FC init()||
     7||'''Once:'''||!DataSource(!ConnPool=100) or !EntityManagerFactory()|| || || FC init()||
    88||'''Begin'''|| || ||<- !HttpRequest|| User||
    99||..|| ||<- !CreateDatabase(Conn=1) or !CreateDatabase(!EntMan) || || FC||
    1010||..|| ||''Subsequent requests: getDatabase, reuse existing connectionless db'' || || FC||
    11 ||..|| !GetConnection(1) or !GetEntityManager() || || || FC||
    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||
    1515||..|| || Response = Service.handleRequest() ||  || Application service||
    16 ||..|| !ConnPool+1 ||<- Close connection ||  || FC||
     16||..|| Close connection, !ConnPool+1|| ||  || FC||
    1717||..|| || Send response ->||  || FC||
    1818||'''End'''|| || || Get response || User||