Changes between Version 2 and Version 3 of Web/Servlet


Ignore:
Timestamp:
Jan 23, 2015, 12:53:09 PM (5 years ago)
Author:
vadim.godunko
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Web/Servlet

    v2 v3  
     1[[PageOutline]]
     2
    13= Servlet API =
    24
     
    46
    57See [wiki:Web/Servlet/Examples examples] of applications.
     8
     9== Initialization of application ==
     10
     11When Spikedog loading application it lookup in loaded application's library for special symbol to resolve reference to object of application's initializer tagged type. This type should support Servlet.Container_Initializers.Servlet_Container_Initializer interface. Its On_Startup subprogram will be called after successful loading and initialization of application's dependencies. Application can do additional initialization in this subprogram (connect to database, for example) or create, register and configure listeners/servlets.
     12
     13To provide this symbol application must instantiate Spikedog.Generic_Application_Initializer to application's initializer tagged type and link compiled package with application's library.