Alexander Wels has posted comments on this change.

Change subject: engine: fix find_bugs non-transient variables on WelcomeServlet
......................................................................


Patch Set 1:

From the servlet specification:
After the servlet object is instantiated, the container must initialize the 
servlet before it can handle requests from clients. Initialization is provided 
so that a servlet can read persistent configuration data, initia
lize costly resources (such as JDBC™ API-based connections), and perform other 
one-time activities. The container initializes the servlet instance by calling 
the init method of the Servlet interface with a unique (per servlet 
declaration) object implementing the ServletConfig
interface.This configuration object allows the servlet to access name-value 
initialization parameters from the Web application’s configuration information. 
The configuration
object also gives the servlet access to an object (implementing the 
ServletContext interface) that describes the servlet’s runtime environment. See 
Chapter 4, “Servlet
Context” for more information about the ServletContext
interface

The spec pdf can be found here: 
http://download.oracle.com/otndocs/jcp/servlet-3.0-fr-eval-oth-JSpec/

Some discussions about this:
http://stackoverflow.com/questions/8837646/httpservlet-lifecycle-and-serialization

-- 
To view, visit http://gerrit.ovirt.org/21071
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: I71bbab70988cad7d8e2d2884633803f9cff3152b
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Greg Sheremeta <[email protected]>
Gerrit-Reviewer: Alexander Wels <[email protected]>
Gerrit-Reviewer: Alon Bar-Lev <[email protected]>
Gerrit-Reviewer: Einav Cohen <[email protected]>
Gerrit-Reviewer: Greg Sheremeta <[email protected]>
Gerrit-Reviewer: Itamar Heim <[email protected]>
Gerrit-Reviewer: Juan Hernandez <[email protected]>
Gerrit-Reviewer: oVirt Jenkins CI Server
Gerrit-HasComments: No
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to