Sunday, 13 March 2016
What is Servlet
Servlet sounds like "let/making server do something". Actually, it bind the java class and HTTP request together. Meaning that, it is a common interface and handler, which is able to handle remote request and dispatching to the underlying java class handler, and generate response to the remote caller.
Servlet life cycle, init(), service(), and destroy(). they are implemented by the container.
init() the input parameters extracted from httprequest; service() is the functional handler; when the requested task has been done, then container will call destroy() to terminate servlet.
Subscribe to:
Post Comments (Atom)
Can Jackson Deserialize Java Time ZonedDateTime
Yes, but must include JSR310. Thus ZonedDateTime can be deserialized directly from JSON response to POJO field. <dependency> <g...
-
Could not extract response: no suitable HttpMessageConverter found for response type [class dk.enettet.evu.core.model.Address] and content ...
-
First time met this hibernate exception. I think this issue should due to one to one relationship. One driver has one car; one car has on...
-
A large object refers to the entity property that is modified by @Lob. It may be persisted in several records. However, in database manage...
No comments:
Post a Comment